1.0.0-beta.3 - preview 3
Pre-release
Pre-release
Changes compared to v0.0.7
- moving dependencies from bower to npm
- moving source from AMD to ES6 Module Syntax
- adding ES6 build infrastructure - issue #1
- adding unit tests - issue #2
- adding
query/first-tabbable
(replacingfocus/first
) to find the first keyboard focusable element in a sub-tree - unifying API of all functions, see the API docs
- adding
strategy: 'strict'
option toquery/focusable
to find elements by filters unavailable toquerySelectorAll()
- i.e. Shadow DOM without the "Shadow Piercing Descendant Combinator", scrollable containers,-webkit-user-modify: read-write
- issue #17, issue #21 - refactoring
is/focusable
to also identify "edge-cases" - issue #17, issue #20, issue #21 - adding
is/focus-relevant
to identify technically focusable elements (refactored fromis/focusable
) - adding
is/only-tabbable
to identify elements that cannot be focused by script, but by keyboard - removing "dimension check" from
is/visible
- issue #14 query/focusable
no longer considers<html>
and<body>
focusable - issue #31- adding
element/disabled
(refactored fromfocus/disabled
) - issue #33 - adding
when/key
to observe simple keyboard input - issue #47 - adding
get/insignificant-branches
to find branches not relevant to a given set of elements - issue #32 - adding
maintain/hidden
to hide everything in the DOM that is not relevant to a given set of elements - issue #46
Breaking Changes
src/
was ES5 and AMD, it is now ES6 - AMD components are now available atdist/amd/
- dropping
focus/first
in favor ofquery/first-tabbable
dom/is-valid-area
now returnsfalse
for elements that are not<area>
dom/is-valid-tabindex
now returnsfalse
for elements withouttabindex
attribute- see the API docs for the new function signatures
- renaming files in
src
:dom/active-elements.js
toget/active-elements.js
dom/focus-target.js
toget/focus-target.js
dom/is-disabled.js
tois/disabled.js
dom/is-focusable.js
tois/focusable.js
dom/is-shadowed.js
tois/shadowed.js
dom/is-tabbable.js
tois/tabbable.js
dom/is-valid-area.js
tois/valid-area.js
dom/is-valid-tabindex.js
tois/valid-tabindex.js
dom/is-visible.js
tois/visible.js
dom/node-array.js
toutil/node-array.js
dom/path.js
toget/parents.js
dom/query-focusable.js
toquery/focusable.js
dom/query-tabbable.js
toquery/tabbable.js
dom/query-tabsequence.js
toquery/tabsequence.js
dom/shadow-host-ancestors.js
toget/shadow-host-parents.js
dom/when-visible.js
towhen/visible-area.js
dom/shadow-host.js
toget/shadow-host.js
dom/sort-tabindex.js
toutil/sort-elements-by-tabindex.js
dom/visible-quotient.js
toutil/visible-area.js
event/interaction-type-listener.js
toobserve/interaction-type.js
focus/source.js
tostyle/focus-source.js
focus/when-visible.js
towhen/focusable.js
focus/within.js
tostyle/focus-within.js
focus/disable-focus
tomaintain/disabled
focus/trap
tomaintain/focus-trapped