dequelabs / dequelabs/axe-core
link-in-text-block should consider surrounding node for color contrast
Open
rules
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 17
Description
At the moment, Link-in-text-block only looks at the parent block element's background and foreground color when it tries to determine the 3:1 contrast. It should also look at the surrounding text to determine that contrast. For example:
```html
While on the road to my home of sweet Athy
- Welcome to the jungle
- We've got fun
- and games
```
Contributor guide
Assessment
This issue has not been assessed yet.