microsoft / tabster

Web Application Keyboard Navigation Tools
https://tabster.io
MIT License
116 stars 34 forks source link

Focusable does not handle the inert attribute #369

Open smhigley opened 4 months ago

smhigley commented 4 months ago

Tabster breaks on elements with inert, or nested within an ancestor with inert.

The easiest solution might be to add :not([inert]):not([inert] *) to the focusable selector, or add an explicit check (maybe in isAccessible?)