img
with null alt
and non-null aria-labelledby
attributes
Screen reader compatibility
Expected Result: causes problems in some screen readers
Actual Result: causes problems in 59 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: September 11, 2022
NVDA with Chrome Causes problems from NVDA 2018.4 to NVDA 2022.2
NVDA with IE Causes problems from NVDA 2015.2 to NVDA 2019.2
NVDA with FF Causes problems from NVDA 2015.2 to NVDA 2022.2
JAWS with Chrome Causes problems from JAWS 2018.1811.2 to JAWS 2022.2207.25
JAWS with IE Causes problems from JAWS 16.0.4350 to JAWS 2019.1912.1
JAWS with FF Causes problems from JAWS 16.0.4350 to JAWS 2022.2207.25
VoiceOver macOS Causes problems from VoiceOver macOS 10.10 to VoiceOver macOS 12.5
VoiceOver iOS Causes problems from VoiceOver iOS 9.2 to VoiceOver iOS 15.6
WindowEyes with IE Causes problems in WindowEyes 9.2
Dolphin with IE Causes problems in Dolphin SR 15.05
Screen reader | Browser | Mode | Notes | What the user hears |
---|---|---|---|---|
![]() | Chrome 105 | Reading | Image not ignored, and aria label read | Graphic, this is the aria-labelledby |
![]() | FF102 | Reading | Image not ignored, and aria label read | Graphic, this is the aria-labelledby |
![]() | Edge 105 | Reading | Image not ignored, and aria label read | Graphic, this is the aria-labelledby |
![]() | Chrome 94 | Reading | Image not ignored, and aria label read | Graphic, this is the aria-labelledby |
![]() | FF91 | Reading | Image not ignored, and aria label read | Graphic, this is the aria-labelledby |
![]() | Edge 94 | Reading | Image not ignored, and aria label read | Graphic, this is the aria-labelledby |
![]() | Chrome 86 | Reading | Image not ignored, and aria label read | Graphic, this is the aria-labelledby |
![]() | FF78 | Reading | Image not ignored, and aria label read | Graphic, this is the aria-labelledby |
![]() | Edge 92 | Reading | Image not ignored, and aria label read | Graphic, this is the aria-labelledby |
![]() | Chrome 79 | Reading | Image not ignored, and aria label read | Graphic, this is the aria-labelledby |
![]() | FF68 | Reading | Image not ignored, and aria label read | Graphic, this is the aria-labelledby |
![]() | IE11 | Reading | Image ignored, and aria label read | This is the aria-labelledby |
![]() | Chrome 73 | Reading | Image not ignored, and aria label read | Graphic, this is the aria-labelledby |
![]() | FF60 | Reading | Image not ignored, and aria label read | Graphic, this is the aria-labelledby |
![]() | IE11 | Reading | Image ignored, and aria label read | This is the aria-labelledby |
![]() | FF60 | Reading | Image not ignored, and aria label read | Graphic, this is the aria-labelledby |
![]() | IE11 | Reading | Image ignored, and aria label read | This is the aria-labelledby |
![]() | FF48 | Reading | Image not ignored, and aria label read | Graphic, this is the aria-labelledby |
![]() | IE11 | Reading | Image ignored, and aria label read | This is the aria-labelledby |
![]() | FF48 | Reading | Image not ignored, and aria label read | Graphic, this is the aria-labelledby |
![]() | IE11 | Reading | Image not ignored, and aria label read | Graphic, this is the aria-labelledby |
![]() | Chrome 105 | Reading | Image ignored, and aria labelled by read if visible | This is the aria-labelledby |
![]() | FF102 | Reading | Image not ignored, and aria label read | This is the aria-labelled, graphic |
![]() | Edge 105 | Reading | Image ignored, and aria labelled by read if visible | This is the aria-labelledby |
![]() | Chrome 94 | Reading | Image ignored, and aria labelled by read if visible | This is the aria-labelledby |
![]() | FF91 | Reading | Image not ignored, and aria label read | This is the aria-labelled, graphic |
![]() | Edge 94 | Reading | Image ignored, and aria labelled by read if visible | This is the aria-labelledby |
![]() | Chrome 86 | Reading | Image ignored, and aria labelled by read if visible | This is the aria-labelledby |
![]() | FF78 | Reading | Image not ignored, and aria label read | This is the aria-labelled, graphic |
![]() | Edge 92 | Reading | Image ignored, and aria labelled by read if visible | This is the aria-labelledby |
![]() | Chrome 79 | Reading | Image ignored, and aria labelled by read if visible | This is the aria-labelledby |
![]() | FF68 | Reading | Image not ignored, and aria label read | This is the aria-labelled, graphic |
![]() | IE11 | Reading | Image ignored, and aria labelled by read if visible | This is the aria-labelledby |
![]() | Chrome 73 | Reading | Image ignored, and aria labelled by read if visible | This is the aria-labelledby |
![]() | FF60 | Reading | Image not ignored, and aria label read | Graphic, this is the aria-labelledby |
![]() | IE11 | Reading | Image ignored, and aria labelled by read if visible | This is the aria-labelledby |
![]() | FF52 | Reading | Image ignored, and aria labelled by read if visible | This is the aria-labelledby |
![]() | IE11 | Reading | Image ignored, and aria labelled by read if visible | This is the aria-labelledby |
![]() | FF48 | Reading | Image ignored, and aria labelled by read if visible | This is the aria-labelledby |
![]() | IE11 | Reading | Image ignored, and aria labelled by read if visible | This is the aria-labelledby |
![]() | FF42 | Reading | Image ignored, and aria labelled by read if visible | This is the aria-labelledby |
![]() | IE11 | Reading | Image ignored, and aria labelled by read if visible | This is the aria-labelledby |
![]() | IE11 | Reading | Image not ignored, and aria label read | This is the aria-labelledby |
![]() | Safari 15.6 | Reading | Image ignored, aria labelled by not read | |
![]() | Safari 15.0 | Reading | Image ignored, aria labelled by not read | |
![]() | Safari 14.1 | Reading | Image ignored, aria labelled by not read | |
![]() | Safari 13.0 | Reading | Image not ignored, and aria label read | This is the aria-labelled by, image |
![]() | Safari 12.1 | Reading | Image not ignored, and aria label read | This is the aria-labelled by, image |
![]() | Safari 10.1.2 | Reading | Image not ignored, and aria label read | This is the aria-labelled by, image |
![]() | Safari 9.1.2 | Reading | Image not ignored, and aria label read | This is the aria-labelled by, image |
![]() | Safari 9.0.2 | Reading | Image not ignored, and aria label read | This is the aria-labelled by, image |
![]() | Safari iOS 15.6 | Touch | Image ignored, aria labelled by not read | |
![]() | Safari iOS 14.7 | Touch | Image ignored, aria labelled by not read | |
![]() | Safari iOS 13.3 | Touch | Image not ignored, and aria label read | This is the aria-labelled by, image |
![]() | Safari iOS 12.4 | Touch | Image not ignored, and aria label read | This is the aria-labelled by, image |
![]() | Safari iOS 11.4 | Touch | Image not ignored, and aria label read | This is the aria-labelled by, image |
![]() | Safari iOS 10.3 | Touch | Image not ignored, and aria label read | This is the aria-labelled by, image |
![]() | Safari iOS 9.2 | Touch | Image not ignored, and aria label read | This is the aria-labelled by, image |
![]() | IE11 | Reading | Image ignored, and aria labelled by read if visible |
SortSite rules: AccNullAltWithAccName
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:
- Reading Content read using the “read next” command in a screen reader
- Tabbing Content read using the “tab” key in a screen reader
- Heading Content read using the “next heading” key in a screen reader
- Touch Content read when touching an area of screen on a mobile device
In the “What the user hears” column:
- Commas represent short pauses in screen reader voicing
- Full Stops represent places where voicing stops, and the “read next” or “tab” or “next heading” command is pressed again
- Ellipsis … represent a long pause in voicing
- (Brackets) represent voicing that requires a keystroke to hear