- Fixes a bunch of error introduced accidentally with 2.1.0. Sorry.
- Removes tabbable dependency.
- trap() and untrap() can now take more than one element argument.
- Fixes bug in
untrap()
that would cause an exception if called with no traps set.
- Adds the
parent()
andchild()
methods.
- Moved jsdom to devDependencies.
- Adds
order()
method to programatically set the focus order of one or elements. - Adds
trap()
anduntrap()
to control trapping focus into a given container. - Adds
proxy()
andunproxy()
to easily forward focus from one element to another. - Renamed
orderedElements()
tolist()
. - Fixes a bug in traversal that was preventing shadow elements from traversing backwards correctly.
- DOMTraversal code broken out into a separate file and refactored. (This will move to a future project at some point.)
- Lots of bug fixes around focus and shadowroot behaviors.
- Revised next() and previous() behavior.
- Removed dependency on Tabable.
-
Adds focusOption argument to focusManager.focus(), focusManager.forward() and focusManager.backward to align with element.focus.
-
Adds container constraint to focusManager.orderedElements().
-
Adds focusManager.first() and focusManager.last() for finding the first focusable or last focusable in a given container.
- Adds support for focus traversal into and out of a Shadow DOM element.
- Adds Minified version.
- Initial release.