Links must have discernible text via content, aria-label, or aria-labelledby

navigable/link-name · WCAG 2.4.4, WCAG 4.1.2 · Level A

Links must have discernible text via content, aria-label, or aria-labelledby.

Screen reader users need to know where a link goes. Add descriptive text content, aria-label, or use aria-labelledby. For image links, ensure the image has alt text describing the link destination. Avoid generic text like 'click here' or 'read more'—link text should make sense out of context.

Scan a page or repo for issues like this · All rules

Introduced in @accesslint/core v0.8.0