button containing img with aria-labelledby Screen reader compatibility

ARIA HTML WCAG
Nov 26, 2024

Expected Result: works in a screen reader

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

WCAG Technique: ARIA10

Code used for this test:


		<button><img src='1234.png' aria-labelledby='button_img_aria_labelledby'></button>
		<span id='button_img_aria_labelledby'>This is an aria labelled by</span>
	

Reliability Trend

This graph shows reliability over time for this code in NVDA, JAWS and Voiceover. Other screen readers don't have enough historical data yet to plot trends.

100%80%60%40%20%0%201573%201673%201773%201880%201980%202087%202187%202287%202387%2024100%

Change History

Last updated: November 26, 2024

  • Good NVDA with Chrome Stable - OK from NVDA 2018.4 to NVDA 2024.4
  • Bad NVDA with IE Causes problems in NVDA 2019.2
  • Good NVDA with FF Stable - OK from NVDA 2014.1 to NVDA 2024.4
  • Good JAWS with Chrome Stable - OK from JAWS 2018.1811.2 to JAWS 2024.2409.2
  • Better JAWS with IE Better - caused problems in JAWS 13.0.852, but now OK in JAWS 2019.1912.1
  • Better JAWS with FF Better - caused problems in JAWS 2023.2311.34, but now OK in JAWS 2024.2409.2
  • Good VoiceOver macOS Stable - OK from VoiceOver macOS 10.9 to VoiceOver macOS 14.6
  • Good VoiceOver iOS Stable - OK from VoiceOver iOS 7.1 to VoiceOver iOS 17.7
  • Better WindowEyes with IE Better - caused problems in WindowEyes 8.4, but now OK in WindowEyes 9.2
  • Good Dolphin with IE OK in Dolphin SR 15.05
  • Bad SaToGo with IE Causes problems in SaToGo 3.4.96.0
Screen readerBrowserModeNotesWhat the user hears
OK NVDA 2024.4Chrome 131 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2024.4Chrome 131 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2024.4FF 128 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2024.4FF 128 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2024.4Edge 131 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2024.4Edge 131 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2023.3Chrome 120 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2023.3Chrome 120 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2023.3FF 115 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2023.3FF 115 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2023.3Edge 120 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2023.3Edge 120 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2022.2Chrome 105 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2022.2Chrome 105 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2022.2FF 102 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2022.2FF 102 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2022.2Edge 105 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2022.2Edge 105 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2021.2Chrome 94 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2021.2Chrome 94 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2021.2FF 91 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2021.2FF 91 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2021.2Edge 94 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2021.2Edge 94 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2020.2Chrome 86 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2020.2Chrome 86 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2020.2FF 78 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2020.2FF 78 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2020.2Edge 92 Reading Button graphic, this is an aria labelled by
OK NVDA 2020.2Edge 92 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2019.2Chrome 79 Reading Button, this is an aria labelled by, this is an aria labelled by
OK NVDA 2019.2Chrome 79 Tabbing This is an aria labelled by, button.
OK NVDA 2019.2FF 68 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2019.2FF 68 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2019.2IE11 Reading Button, this is an aria labelled by
Fail NVDA 2019.2IE11 Tabbing Nothing indicates button function Button
OK NVDA 2018.4Chrome 73 Reading Button, this is an aria labelled by, this is an aria labelled by
OK NVDA 2018.4Chrome 73 Tabbing This is an aria labelled by, button.
OK NVDA 2018.4FF 60 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2018.4FF 60 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2018.4IE11 Reading Button, this is an aria labelled by
Fail NVDA 2018.4IE11 Tabbing Nothing indicates button function Button
OK NVDA 2017.3FF 60 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2017.3FF 60 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2017.3IE11 Reading Button, this is an aria labelled by
Fail NVDA 2017.3IE11 Tabbing Nothing indicates button function Button
OK NVDA 2016.2FF 48 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2016.2FF 48 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2016.2IE11 Reading Button, this is an aria labelled by
Fail NVDA 2016.2IE11 Tabbing Nothing indicates button function Button
OK NVDA 2015.2FF 40 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2015.2FF 40 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2015.2IE11 Reading Button, this is an aria labelled by
Fail NVDA 2015.2IE11 Tabbing Nothing indicates button function Button
OK NVDA 2014.1FF 28 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2014.1FF 28 Tabbing This is an aria labelled by, graphic button.
OK NVDA 2014.1IE11 Reading Button, this is an aria labelled by
Fail NVDA 2014.1IE11 Tabbing Nothing indicates button function Button
OK JAWS 2024.2409.2Chrome 131 Reading This is an aria labelled by, button.
OK JAWS 2024.2409.2Chrome 131 Tabbing This is an aria labelled by, button, to activate press enter
OK JAWS 2024.2409.2FF 128 Reading This is an aria labelled by, button.
OK JAWS 2024.2409.2FF 128 Tabbing This is an aria labelled by, button, to activate press enter
OK JAWS 2024.2409.2Edge 131 Reading This is an aria labelled by, button
OK JAWS 2024.2409.2Edge 131 Tabbing This is an aria labelled by, button, to activate press enter
OK JAWS 2023.2311.34Chrome 120 Reading This is an aria labelled by, button.
OK JAWS 2023.2311.34Chrome 120 Tabbing This is an aria labelled by, button, to activate press enter
Fail JAWS 2023.2311.34FF 115 Reading Reads "unlabeled button" without saying what button does. Unlabeled six button
Fail JAWS 2023.2311.34FF 115 Tabbing Reads "unlabeled button" without saying what button does. Unlabeled six button, to activate press enter
OK JAWS 2023.2311.34Edge 120 Reading This is an aria labelled by, button
OK JAWS 2023.2311.34Edge 120 Tabbing This is an aria labelled by, button, to activate press enter
OK JAWS 2022.2207.25Chrome 105 Reading This is an aria labelled by, button.
OK JAWS 2022.2207.25Chrome 105 Tabbing This is an aria labelled by, button, to activate press enter
Fail JAWS 2022.2207.25FF 102 Reading Reads "unlabeled button" without saying what button does. Unlabeled six button
Fail JAWS 2022.2207.25FF 102 Tabbing Reads "unlabeled button" without saying what button does. Unlabeled six button, to activate press enter
OK JAWS 2022.2207.25Edge 105 Reading This is an aria labelled by, button
OK JAWS 2022.2207.25Edge 105 Tabbing This is an aria labelled by, button, to activate press enter
OK JAWS 2021.2107.12Chrome 94 Reading This is an aria labelled by, button.
OK JAWS 2021.2107.12Chrome 94 Tabbing This is an aria labelled by, button, to activate press enter
Fail JAWS 2021.2107.12FF 91 Reading Reads "unlabeled button" without saying what button does. Unlabeled six button
Fail JAWS 2021.2107.12FF 91 Tabbing Reads "button" without saying what button does. Button, to activate press space bar
OK JAWS 2021.2107.12Edge 94 Reading This is an aria labelled by, button
OK JAWS 2021.2107.12Edge 94 Tabbing This is an aria labelled by, button, to activate press enter
OK JAWS 2020.2008.24Chrome 86 Reading This is an aria labelled by, button.
OK JAWS 2020.2008.24Chrome 86 Tabbing This is an aria labelled by, button, to activate press enter
Fail JAWS 2020.2008.24FF 78 Reading Reads "unlabeled button" without saying what button does. Unlabeled six button
Fail JAWS 2020.2008.24FF 78 Tabbing Reads "unlabeled button" without saying what button does. Unlabeled six button, to activate press enter
OK JAWS 2020.2008.24Edge 92 Reading This is an aria labelled by, button
OK JAWS 2020.2008.24Edge 92 Tabbing This is an aria labelled by, button, to activate press enter
OK JAWS 2019.1912.1Chrome 79 Reading This is an aria labelled by, button.
OK JAWS 2019.1912.1Chrome 79 Tabbing This is an aria labelled by, button, to activate press space bar
Fail JAWS 2019.1912.1FF 68 Reading Reads "unlabeled button" without saying what button does. Unlabeled six button
Fail JAWS 2019.1912.1FF 68 Tabbing Reads "unlabeled button" without saying what button does. Unlabeled six button, to activate press space bar
OK JAWS 2019.1912.1IE11 Reading This is an aria labelled by, button graphic
OK JAWS 2019.1912.1IE11 Tabbing This is an aria labelled by, button, to activate press space bar
OK JAWS 2018.1811.2Chrome 73 Reading This is an aria labelled by, button.
OK JAWS 2018.1811.2Chrome 73 Tabbing Tab, this is an aria labelled by, button
Fail JAWS 2018.1811.2FF 60 Reading Reads "unlabeled button" without saying what button does. Unlabeled six button
Fail JAWS 2018.1811.2FF 60 Tabbing Reads "unlabeled button" without saying what button does. Tab, unlabeled six button
OK JAWS 2018.1811.2IE11 Reading This is an aria labelled by, button graphic
OK JAWS 2018.1811.2IE11 Tabbing Tab, this is an aria labelled by, button
Fail JAWS 18.0.5038FF 52 Reading Reads "unlabeled button" without saying what button does. Unlabeled six button
Fail JAWS 18.0.5038FF 52 Tabbing Reads "unlabeled button" without saying what button does. Tab, unlabeled six button
OK JAWS 18.0.5038IE11 Reading This is an aria labelled by, button graphic
OK JAWS 18.0.5038IE11 Tabbing Tab, this is an aria labelled by, button
Fail JAWS 17.0.2619FF 48 Reading Reads "unlabeled one button" without saying what button does. Unlabeled one button
Fail JAWS 17.0.2619FF 48 Tabbing Reads "unlabeled one button" without saying what button does. Tab, unlabeled one button
OK JAWS 17.0.2619IE11 Reading This is aria labelled by, button graphic
OK JAWS 17.0.2619IE11 Tabbing This is aria labelled by, button
Fail JAWS 16.0.4350FF 40 Reading Reads "unlabeled one button" without saying what button does. Unlabeled one button
Fail JAWS 16.0.4350FF 40 Tabbing Reads "unlabeled one button" without saying what button does. Tab, unlabeled one button
OK JAWS 16.0.4350IE11 Reading This is aria labelled by, button graphic
OK JAWS 16.0.4350IE11 Tabbing This is aria labelled by, button
Fail JAWS 15.0.9023FF 29 Reading Reads "unlabeled one button" without saying what button does. Unlabeled one button
Fail JAWS 15.0.9023FF 29 Tabbing Reads "unlabeled one button" without saying what button does. Unlabeled one button
OK JAWS 15.0.9023IE11 Reading This is aria labelled by, button graphic
OK JAWS 15.0.9023IE11 Tabbing This is aria labelled by, button
Fail JAWS 14.0.9002FF 29 Reading Reads "unlabeled one button" without saying what button does. Unlabeled one button
Fail JAWS 14.0.9002FF 29 Tabbing Reads "unlabeled one button" without saying what button does. Unlabeled one button
OK JAWS 14.0.9002IE11 Reading This is aria labelled by, button graphic
OK JAWS 14.0.9002IE11 Tabbing This is aria labelled by, button
Fail JAWS 13.0.852FF 29 Reading Reads "unlabeled one button" without saying what button does. Unlabeled one button
Fail JAWS 13.0.852FF 29 Tabbing Reads "unlabeled one button" without saying what button does. Unlabeled one button
Fail JAWS 13.0.852IE11 Reading Ignores img aria-labelledby, and reads "unlabeled zero button" without saying what button does. Unlabeled zero button
Fail JAWS 13.0.852IE11 Tabbing Ignores img aria-labelledby, and reads "unlabeled zero button" without saying what button does. Unlabeled zero button
OK WindowEyes 9.2IE11 Reading This is aria labelled by, button
OK WindowEyes 9.2IE11 Tabbing This is aria labelled by, button
Fail WindowEyes 8.4IE11 Reading Reads "button" without saying what button does. Button
OK WindowEyes 8.4IE11 Tabbing This is aria labelled by, button
OK VoiceOver macOS 14.6Safari 17.6 Reading This is aria labelled by, button
OK VoiceOver macOS 14.6Safari 17.6 Tabbing This is aria labelled by, button
OK VoiceOver macOS 13.6Safari 16.6 Reading This is aria labelled by, button
OK VoiceOver macOS 13.6Safari 16.6 Tabbing This is aria labelled by, button
OK VoiceOver macOS 12.5Safari 15.6 Reading This is aria labelled by, button
OK VoiceOver macOS 12.5Safari 15.6 Tabbing This is aria labelled by, button
OK VoiceOver macOS 11.5Safari 15.0 Reading This is aria labelled by, button
OK VoiceOver macOS 11.5Safari 15.0 Tabbing This is aria labelled by, button
OK VoiceOver macOS 10.15Safari 14.1 Reading This is aria labelled by, button
OK VoiceOver macOS 10.15Safari 14.1 Tabbing This is aria labelled by, button
OK VoiceOver macOS 10.14Safari 13.0 Reading This is aria labelled by, button
OK VoiceOver macOS 10.14Safari 13.0 Tabbing This is aria labelled by, button
OK VoiceOver macOS 10.13Safari 12.1 Reading This is aria labelled by, button
OK VoiceOver macOS 10.13Safari 12.1 Tabbing This is aria labelled by, button
OK VoiceOver macOS 10.12Safari 10.1.2 Reading This is aria labelled by, button
OK VoiceOver macOS 10.12Safari 10.1.2 Tabbing This is aria labelled by, button
OK VoiceOver macOS 10.11Safari 9.1.2 Reading This is aria labelled by, button
OK VoiceOver macOS 10.11Safari 9.1.2 Tabbing This is aria labelled by, button
OK VoiceOver macOS 10.10Safari 8.0.6 Reading This is aria labelled by, button
OK VoiceOver macOS 10.10Safari 8.0.6 Tabbing This is aria labelled by, button
OK VoiceOver macOS 10.9Safari 7.0.3 Reading This is aria labelled by, button
OK VoiceOver macOS 10.9Safari 7.0.3 Tabbing This is aria labelled by, button
OK VoiceOver iOS 17.7Safari iOS 17.7Touch This is aria labelled by, button
OK VoiceOver iOS 16.6Safari iOS 16.6Touch This is aria labelled by, button
OK VoiceOver iOS 15.6Safari iOS 15.6Touch This is aria labelled by, button
OK VoiceOver iOS 14.7Safari iOS 14.7Touch This is aria labelled by, button
OK VoiceOver iOS 13.3Safari iOS 13.3Touch This is aria labelled by, button
OK VoiceOver iOS 12.4Safari iOS 12.4Touch This is aria labelled by, button
OK VoiceOver iOS 11.4Safari iOS 11.4Touch This is aria labelled by, button
OK VoiceOver iOS 10.3Safari iOS 10.3Touch This is aria labelled by, button
OK VoiceOver iOS 9.1Safari iOS 9.1Touch This is aria labelled by, button
OK VoiceOver iOS 8.4Safari iOS 8.4Touch This is aria labelled by, button
OK VoiceOver iOS 7.1Safari iOS 7.1Touch This is aria labelled by, button
OK Dolphin SR 15.05IE11 Reading Button, this is aria labelled by
OK Dolphin SR 15.05IE11 Tabbing Button, this is aria labelled by
Fail SaToGo 3.4.96.0IE11 Reading Reads "button button" without saying what button does. Button, button
Fail SaToGo 3.4.96.0IE11 Tabbing Reads "button" without saying what button does. Button

SortSite rules: AccButtonImgNoAccName

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