Link `focus` and `hover` should follow WAI-ARIA WCAG AA guidelines
Nobody has claimed this yet.
- Dominant language
- MDX
- Stars
- 4.5k
- Forks
- 226
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 4
Description
Not sure if this is something this repo can use, but decided to open an issue.
Code Example 1
a {
color: #2AB1E3;
}
a:focus, a:hover {
color: #1892BF;
}
Gives the following result:

The above makes it hard to tell if the website is confirming you are hovering over a link with bad eye sight.
Code Example 2
a {
color: #2AB1E3;
}
a:focus, a:hover {
color: #083644;
}
Gives the following result:

The above makes it obvious the website is confirming you are hovering over a link with poor eye sight.
W3c Spec
Did a search and can find info on focus ring. But no mention above hover
Link: https://www.w3.org/WAI/standards-guidelines/wcag/new-in-22/#2411-focus-appearance-aa
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 with the two CSS examples in the issue and review the linked W3C WCAG 2.2 focus-appearance guidance. No repository file or test is named; the work is done when the project has a decided, documented position on how focus and hover indicators should relate to accessibility guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- accessibility, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100