focusable-selectors
focusable-selectors copied to clipboard
Insights for current selector
Referencing this project and tracking it in a11y.css, @aardrian came up with a few suggestions regarding the current selector stack (quoting Adrian):
- Needs
object
,embed
,summary
. - I like the addition of checking for
inert
, but until it is supported it might give false positives (negatives?). - I also like checking for non-negative
tabindex
. -
audio
andvideo
might need to check for thecontrols
attribute. -
contenteditable
is a good addition too, even if it makes me queasy.
Initially posted in a11y.css ffoodd/a11y.css-webextension#6 comment.
I thought that could be out of your radar and still be helpful. This micro-lib is a good idea, thanks :heart: