Accessibility concern: autotoc focus
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 57
- Forks
- 103
- Avg merge
- 10h 25m
- Merged PRs (30d)
- 18
Description
Hi,
during some other accessibility testing on plone 6 I noticed that the Tab bar (autotoc-nav it seems) does not display in any way which element has the focus.
It would be greatly appreciated by visually impaired users if it would be displayed where the focus is a the moment.
I would success using the same as the :hover autotoc.scss#L51 if it fits in the design concept.
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 in src/pat/autotoc/autotoc.scss at the referenced line 51, and inspect how the autotoc navigation currently styles :hover. Add an equivalent visible treatment for the focused element, then verify with keyboard Tab navigation that the current focus is visibly indicated without disrupting the existing design.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, scss
- Domain
- accessibility, frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100