You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Patch Changes
a691ae3: Exclude elements with an invalid contenteditable value (e.g. "bogus", "inherit") from focusable and tabbable results, since browsers don't focus them. A contenteditable value of "false" is now also excluded regardless of case (e.g. "FALSE" was previously treated as editable).
2a34549: Fix elements inside the shadow tree of an inert shadow host being considered tabbable/focusable:
Any inert attribute value, including inert="false", now makes an element inert since inert is a boolean attribute (affected tabbable() and focusable() with getShadowRoot).
isTabbable() and isFocusable() now check for inert shadow hosts (and their inert ancestors) at every level of shadow DOM nesting, as well as for inert slots and slot containers an element is slotted into (open shadow roots only). An active modal <dialog> escapes the inertness of an inert shadow host and its ancestors, but not of an inert ancestor in its own tree (light DOM or the same shadow root).