Link-name should allow titles #2459
Labels
ACT Rules
fix
Bug fixes
good first issue
For first-time contributors
rules
Issue or false result from an axe-core rule
Milestone
In axe-core 4.0 we changed how has-visible-text behaves. It now only looks at content, not at accessible name props for things. Because of that, the following code snippet now fails the link-name rule:
The reason for this is that the
non-empty-title
check is not used in thelink-name
rule (as as it is for things likebutton-name
). I vaguely remember we did that because we didn't want to encourage the use of the title attribute. I think support has improved since that time, so I think it's save to add it.The text was updated successfully, but these errors were encountered: