False positive with link discernible text rule
See original GitHub issueI have analyzed a page “https://www.firstrepublic.com/about-us/testimonials/ed-and-peggy-kavounas” and observed that there are 3 violations raised against the link discernible text rule. Third image has a proper alt text, but still axe throws violation against it.
axe-core version: 2.4.1 Code snippet of the element:
<a href="/about-us/testimonials/nancy-and-jeffery-smith" tabindex="-1">
<figure>
<!--?xml version="1.0" encoding="iso-8859-1"?-->
<img src="/~/media/frb/images/testimonial-images/553x350/2015_smith_553x350.ashx?h=166&
la=en&w=262&hash=4EF45AD92FAC024CDD5B5730B3E05B4374B2DB57"
alt="Nancy and Jeffery Smith" title="" width="262" height="166">
</figure>
</a>
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Links must have discernible text | Axe Rules - Deque University
Rule Description Link text and alternate text for images, when used as links, must be discernible by a screen reader, must not have...
Read more >508/Accessibility Rules for (1) Links Must Have Discernible ...
Note that it's possible your scanning tool is indicating a false positive, and you will need to use your best judgement based off...
Read more >Accessibility rule: Links must have discernible text
When used as links, link text and alternative text for images must be recognizable by screen readers, have no duplicate labels, and be...
Read more >@sa11y/preset-rules - npm Package Health Analysis | Snyk
Learn more about @sa11y/preset-rules: package health score, popularity, security, ... link-name, Ensures links have discernible text, 4.1.2, A, P1, ✓, ✓.
Read more >True and false positive rates for different criteria of evaluating ...
Until recently a typical rule that has often been used for the endorsement of new medications by the Food and Drug Administration has...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Alright, after some testing, it’s not very consistent. NVDA (FF) and VoiceOver (Chrome) read the image, but JAWS (IE & FF) is ignoring it. So even though it’s not a problem everywhere, this is a problem. Conclusion, not a false positive.
the accessible name calculated by FF for that link is empty so, based on FF, aXe is doing the right thing.