What’s an interactive element? by Manuel Matuzovic
Manuel sensed a general misunderstanding of what an interactive element is and what focusable really means. He wasn’t totally sure himself either, so did some research. It’s a long post but the summary is that:
- an important characteristic of all interactive elements is they are natively focusable;
- focusable doesn't necessarily mean sequentially focusable (tabbable). Some interactive elements including
dialogare click-focusable, and these are not tabbable but can be focused programmatically or via click. - it’s also worth knowing that it's perfectly acceptable to place
tabindexon a non-interactive element to aid with accessibility. But prefer applying it to semantic elements rather thandivs.