Re: [w3c/webcomponents] In Shadow DOM v1, tabIndex=-1 makes all elements inside the shadow tree to be no tab-focusable (#774)

> That is, the intention of setting `tabindex=-1` is to make that particular reusable element not focusable including its implementation details.

That is not true. It doesn't make the element not focusable, it removes it from the tab order. Clicking still moves focus, and assistive technology can still focus the element.

tabIndex=-1 is a weird quirk of the web. But making a shadow root shouldn't transfer me to a new world where focus works completely differently.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/774#issuecomment-505267296

Received on Tuesday, 25 June 2019 03:31:00 UTC