Skip to content
Changelog
fixaccessibility

Focus-Order Simulator v1.1 — hidden content left out of the tab order

v1.1

Only the element itself was checked for being hidden, so controls inside a hidden or display: none parent, an inert parent, or a closed <details> were listed as tabbable.

Those are now left out (a closed <details> keeps its summary). A tabindex that is not a number, such as tabindex="abc", now counts as absent, as browsers treat it. And disabled now only applies to form controls, so <a href disabled> stays in the order, while controls inside a disabled <fieldset> are left out.

All changes