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

> How would that be different than making all custom elements always programmatically focusable? 

I meant to suggest that you would have to opt-in to overriding the focusability bit, e.g. `focus({force: true});`

If you're depending on `focus()` being a no-op for non-focusable elements, you wouldn't use that option. Also, it wouldn't cause existing code to suddenly change behaviour.

-- 
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-692416176

Received on Tuesday, 15 September 2020 02:04:37 UTC