Changelog
5.3.2
displayCheck
configuration.displayCheck=full
(default setting) determining all nodes were hidden when the container is not attached to the document. In this case, tabbable will revert to a displayCheck=none
mode, which is the equivalent legacy behavior. Also updated the displayCheck
option docs to add warnings about this corner case for the full
and non-zero-area
modes. non-zero-area
behaves differently in the corner case. See the docs for more info.Changelog
5.3.1
getShadowRoot
option to isTabbable()
and isFocusable()
(docs only; no code changes necessary).Changelog
5.3.0
getShadowRoot
option).
5.3.0-beta.0
and 5.3.0-beta.1
releases.getTabIndex
: the tab index of <audio>
, <video>
and <details>
was left to the browser default if explicitly set to a value that couldn't be parsed as integer, leading to inconsistent behavior across browsers. Also slightly modified the function's logic to make it more efficient. Finally added tests to cover the fix.displayCheck: "full"
option (now checks for any element having no display boxes) and added test for display: "contents"
property (this bug was never reported). (#592)
isDisabledFromFieldset
. The function wasn't checking whether the disabled <fieldset>
containing node
is the top-most disabled <fieldset>
(#596).Changelog
5.3.0-beta.1
getShadowRoot: true
as an easy way to simply enable shadow DOM support. This is the equivalent of setting getShadowRoot: () => false
, which means tabbable will find nodes in open shadow roots only.Changelog
5.3.0-beta.0
getShadowRoot()
configuration option, enabling support for closed shadowsChangelog
5.2.1
Changelog
5.2.0
Changelog
5.1.6
xlink:href
attribute as tabbable since that information is incorrect.Changelog
5.1.5
Changelog
5.1.4
./dist
directory for various targets.