unstale

npm / tabbable

tabbable

What changed in tabbable 5 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-23.

10 breaking3 new APIs and options1 behavior and defaults

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

tabbable 66 changes

Breaking changes 4

  • Elements with visibility: collapse are treated as hidden and are no longer considered tabbable or focusable, matching browser behavior outside table rows and columns.

    6.5.0release notes

  • The default full option no longer treats detached nodes as visible; ensure nodes of interest are attached before tabbable runs.

    6.0.0release notes

  • The new legacy-full option restores the old behavior of treating detached nodes as visible.

    6.0.0release notes

  • Support for all versions of Internet Explorer was dropped.

    6.0.0release notes

New APIs and options 1

  • Adds the full-native displayCheck option, which utilizes Element#checkVisibility.

    6.3.0release notes

Behavior and default changes 1

  • Elements with an href attribute are now supported as image map hotspots.

    6.5.0release notes

tabbable 58 changes

Breaking changes 6

  • Elements with controls and no tabindex are now considered tabbable in Chrome, matching their regular tab order in both Chrome and Firefox.

    5.0.0release notes

  • isFocusable is now exported separately as a named export.

    5.0.0release notes

  • isTabbable is now exported separately as a named export.

    5.0.0release notes

  • Radio-button handling now limits nested radios to the relevant form and ignores checked radios from other forms, which can result in fewer radios being flagged as tabbable depending on the root passed to tabbable().

    5.0.0release notes

  • A summary element directly under a details element is now considered tabbable and focusable.

    5.0.0release notes

  • The exports are now separate named exports; replace the default import with import { tabbable } from 'tabbable'.

    5.0.0release notes

New APIs and options 2

  • A UMD build is now available.

    5.0.0release notes

  • package.json now declares sideEffects: false, marking the module as having no side effects from importing it to support tree shaking.

    5.0.0release notes