# Changelog ## 5.3.3 ### Patch Changes - 0210a1c: fix: align with browser behaviour when a web component has a negative tabindex ## 5.3.2 ### Patch Changes - 320bfd1: Updated docs for `displayCheck` configuration. - aa2a699: Fixed an issue with `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. ## 5.3.1 ### Patch Changes - cf1da66: Add warnings and help in documentation about running tabbable under JSDom (e.g. with Jest). JSDom is not technically supported, and 5.3.0 introduced some changes that use DOM APIs that JSDom stubs out, which may cause some JSDom-based tests to fail. Also revamp the API docs a bit to make them clearer, and add missing `getShadowRoot` option to `isTabbable()` and `isFocusable()` (docs only; no code changes necessary). ## 5.3.0 ### Minor Changes - 685a906: Adds new Shadow DOM support (must be explicitly enabled using the new `getShadowRoot` option). - When enabled, supports open shadows by default, and can support closed shadows if the option is a function that returns the shadow for a given node. See documentation for more information. - Includes all updates from `5.3.0-beta.0` and `5.3.0-beta.1` releases. ### Patch Changes - b341412: Made "isDisabledFromFieldset" more readable and concise (even marginally faster). - 685a906: Fixed a bug in `getTabIndex`: the tab index of `