question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

False positive with link discernible text rule

See original GitHub issue

I 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&amp;
			la=en&amp;w=262&amp;hash=4EF45AD92FAC024CDD5B5730B3E05B4374B2DB57" 
			alt="Nancy and Jeffery Smith" title="" width="262" height="166">
    </figure>
</a>

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
WilcoFierscommented, Nov 16, 2017

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.

0reactions
jnurthencommented, Nov 15, 2017

the accessible name calculated by FF for that link is empty so, based on FF, aXe is doing the right thing.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found