dequelabs / dequelabs/axe-core

extend link-name for better understandability

Open
#3,107 13 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.