Re: [w3c/webcomponents] Mechanism for setting the tabindex focus flag without sprouting tabindex attribute? (#762)

In all honesty, I've never understood why `tabindex = -1` is a thing, other than for excluding things from the tab order - i.e. why aren't all elements programmatically focusable? What do we gain from `focus()` sometimes being a no-op? Who is out here trying to call `focus()` on a `<div>` and hoping it ... fails?

But that aside, I guess allowing focusable things to also opt out of the tab order is probably useful for managing focus within complex components.

-- 
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/762#issuecomment-414898664

Received on Wednesday, 22 August 2018 03:34:55 UTC