[Skip navigation links]
Login

IMG with null ALT and non-null aria-labelledby attributes Screen reader compatibility

Last updated: April 7, 2019

Expected Result: causes problems in some screen readers

Actual Result: causes problems in 25 screen reader / browser combinations

For expected failures, the results show which AT combos the failures affect. Results are recorded from the user's viewpoint, so describe the user impact of authoring errors.

Author intent is unclear in this markup since ALT='' marks image as presentational, but aria-labelledby gives it an accessible name.

Code used for this test:


        <img src='1234.png' alt='' aria-labelledby='img-null-alt-aria-labelledby-id'>
        <p id='img-null-alt-aria-labelledby-id'>This is the aria-labelledby</p>
    

Change History

Last updated: April 7, 2019

Screen readerBrowserModeNotesWhat the user hears
Fail NVDA 2018.4FF60 ReadingImage not ignored, and aria label read Graphic, this is the aria-labelled
Fail NVDA 2018.4IE11 ReadingImage ignored, and aria label read This is the aria-labelled
Fail NVDA 2017.3FF60 ReadingImage not ignored, and aria label read Graphic, this is the aria-labelled
Fail NVDA 2017.3IE11 ReadingImage ignored, and aria label read This is the aria-labelled
Fail NVDA 2016.2FF48 ReadingImage not ignored, and aria label read Graphic, this is the aria-labelled
Fail NVDA 2016.2IE11 ReadingImage ignored, and aria label read This is the aria-labelled
Fail NVDA 2015.2FF48 ReadingImage not ignored, and aria label read Graphic, this is the aria-labelled
Fail NVDA 2015.2IE11 ReadingImage not ignored, and aria label read Graphic, this is the aria-labelled
Fail JAWS 2018.1811.2FF60 ReadingImage not ignored, and aria label read Graphic, this is the aria-labelled
Fail JAWS 2018.1811.2IE11 ReadingImage ignored, and aria labelled by read if visible This is the aria-labelled
Fail JAWS 18.0.5038FF52 ReadingImage ignored, and aria labelled by read if visible This is the aria-labelled
Fail JAWS 18.0.5038IE11 ReadingImage ignored, and aria labelled by read if visible This is the aria-labelled
Fail JAWS 17.0.2619FF48 ReadingImage ignored, and aria labelled by read if visible This is the aria-labelled
Fail JAWS 17.0.2619IE11 ReadingImage ignored, and aria labelled by read if visible This is the aria-labelled
Fail JAWS 16.0.4350FF42 ReadingImage ignored, and aria labelled by read if visible This is the aria-labelled
Fail JAWS 16.0.4350IE11 ReadingImage ignored, and aria labelled by read if visible This is the aria-labelled
Fail WindowEyes 9.2IE11 ReadingImage not ignored, and aria label read This is the aria-labelledby
Fail VoiceOver macOS 10.13Safari 12.1 ReadingImage not ignored, and aria label read This is the aria-labelled by, image
Fail VoiceOver macOS 10.12Safari 10.1.2 ReadingImage not ignored, and aria label read This is the aria-labelled by, image
Fail VoiceOver macOS 10.11Safari 9.1.2 ReadingImage not ignored, and aria label read This is the aria-labelled by, image
Fail VoiceOver macOS 10.10Safari 9.0.2 ReadingImage not ignored, and aria label read This is the aria-labelled by, image
Fail VoiceOver iOS 11.4Safari iOS 11.4TouchImage not ignored, and aria label read This is the aria-labelled by, image
Fail VoiceOver iOS 10.3Safari iOS 10.3TouchImage not ignored, and aria label read This is the aria-labelled by, image
Fail VoiceOver iOS 9.2Safari iOS 9.2TouchImage not ignored, and aria label read This is the aria-labelled by, image
Fail Dolphin SR 15.05IE11 ReadingImage ignored, and aria labelled by read if visible

Test notes

All tests were carried out with screen reader factory settings. JAWS in particular has a wide variety of settings controlling exactly what gets spoken.

Screen readers allow users to interact in different modes, and can produce very different results in each mode. The modes used in these tests are:

In the «What the user hears» column: