Patch Changes
- a691ae3: Exclude elements with an invalid
contenteditablevalue (e.g."bogus","inherit") from focusable and tabbable results, since browsers don't focus them. Acontenteditablevalue 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
inertattribute value, includinginert="false", now makes an element inert sinceinertis a boolean attribute (affectedtabbable()andfocusable()withgetShadowRoot). isTabbable()andisFocusable()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).
- Any