dequelabs / dequelabs/axe-core
extend link-name for better understandability
Open
- Dominant language
- JavaScript
- Stars
- 7.5k
- Forks
- 933
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 17
Description
So there already is the rule `link-name` that checks if there is an accessible name for a link. This rule fails if the link contains an image with an empty / non existing alt attribute. The error message is always:
> Links must have discernible text
My proposal is, that we extend this message in case of an empty / non existing alt attribute with something like:
> The link contains an image with an empty alt attribute although it describes the link.
Contributor guide
Assessment
This issue has not been assessed yet.