When to use tabindex='0'
DRANK
When `tabindex="0"` is applied to an HTML element, the content marked up using that element will become keyboard focusable, and is therefore a good starting point for supporting keyboard accessibility. However, applying this attribute haphazardly or unnecessarily can reduce the experience for people who use a keyboard or an equivalent input device to navigate web content.
1 comments
キーボードによるフォーカスを可能にする tabindex="0" の使い所に関するていねいな解説。