James Edwards on Nostr: This should be a complete selector for all focusable elements that are in the TAB ...
This should be a complete selector for all focusable elements that are in the TAB order:
```
:where([tabindex], a[href], area[href], map[name] area, audio[controls], button:not([disabled]), embed, iframe, img[usemap], input:not([disabled],[type="hidden"]), object:not([disabled]), select:not([disabled]), summary, textarea:not([disabled]), video[controls]):not([tabindex="-1"])
```
Have I missed anything?
(nb. notwithstanding hidden or invisible, that's a different test)
#accessibility #testing
```
:where([tabindex], a[href], area[href], map[name] area, audio[controls], button:not([disabled]), embed, iframe, img[usemap], input:not([disabled],[type="hidden"]), object:not([disabled]), select:not([disabled]), summary, textarea:not([disabled]), video[controls]):not([tabindex="-1"])
```
Have I missed anything?
(nb. notwithstanding hidden or invisible, that's a different test)
#accessibility #testing