Focusable does not handle the inert attribute
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 165
- Forks
- 42
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 9
Description
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?)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Focusable implementation and the isAccessible check mentioned in the issue. Reproduce the failure with an inert element and with an element nested inside an inert ancestor, then verify that focusable elements in both cases are excluded without breaking other focus behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- accessibility
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100