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 inittabbable 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.
The default
fulloption no longer treats detached nodes as visible; ensure nodes of interest are attached before tabbable runs.The new
legacy-fulloption restores the old behavior of treating detached nodes as visible.Support for all versions of Internet Explorer was dropped.
New APIs and options 1
Adds the full-native displayCheck option, which utilizes Element#checkVisibility.
Behavior and default changes 1
Elements with an href attribute are now supported as image map hotspots.
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.
isFocusable is now exported separately as a named export.
isTabbable is now exported separately as a named export.
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().
A summary element directly under a details element is now considered tabbable and focusable.
The exports are now separate named exports; replace the default import with
import { tabbable } from 'tabbable'.
New APIs and options 2
A UMD build is now available.
package.json now declares sideEffects: false, marking the module as having no side effects from importing it to support tree shaking.