Heading is img with alt Screen reader compatibility

HTML
Dec 12, 2023

Expected Result: works in a screen reader

Actual Result: works in all tested screen readers

Code used for this test:


		<h2><img src='1234.png' alt='Second level alt'></h2>
		<p>Heading 2 content</p>
	

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%2014100%2015100%2016100%2017100%2018100%2019100%2020100%2021100%2022100%2023100%

Change History

Last updated: December 12, 2023

  • Good NVDA with Chrome Stable - OK from NVDA 2018.4 to NVDA 2023.3
  • Good NVDA with IE Stable - OK from NVDA 2012.1 to NVDA 2019.2
  • Good NVDA with FF Stable - OK from NVDA 2012.1 to NVDA 2023.3
  • Good JAWS with Chrome Stable - OK from JAWS 2018.1811.2 to JAWS 2023.2311.34
  • Good JAWS with IE Stable - OK from JAWS 13.0.852 to JAWS 2019.1912.1
  • Good JAWS with FF Stable - OK from JAWS 13.0.852 to JAWS 2023.2311.34
  • Good VoiceOver macOS Stable - OK from VoiceOver macOS 10.9 to VoiceOver macOS 13.6
  • Good VoiceOver iOS Stable - OK from VoiceOver iOS 7.1 to VoiceOver iOS 16.6
  • Good WindowEyes with IE Stable - OK from WindowEyes 8.4 to WindowEyes 9.2
  • Good Dolphin with IE OK in Dolphin SR 15.05
  • Good SaToGo with IE OK in SaToGo 3.4.96.0
Screen readerBrowserModeNotesWhat the user hears
OK NVDA 2023.3Chrome 120Heading Second level alt, graphic heading level 2.
OK NVDA 2023.3FF 115Heading Second level alt, graphic heading level 2.
OK NVDA 2023.3Edge 120Heading Second level alt, graphic heading level 2.
OK NVDA 2022.2Chrome 105Heading Second level alt, graphic heading level 2.
OK NVDA 2022.2FF 102Heading Second level alt, graphic heading level 2.
OK NVDA 2022.2Edge 105Heading Second level alt, graphic heading level 2.
OK NVDA 2021.2Chrome 94Heading Second level alt, graphic heading level 2.
OK NVDA 2021.2FF 91Heading Second level alt, graphic heading level 2.
OK NVDA 2021.2Edge 94Heading Second level alt, graphic heading level 2.
OK NVDA 2020.2Chrome 86Heading Second level alt, graphic heading level 2.
OK NVDA 2020.2FF 78Heading Second level alt, graphic heading level 2.
OK NVDA 2020.2Edge 92Heading Second level alt, graphic heading level 2.
OK NVDA 2019.2Chrome 79Heading Second level alt, graphic heading level 2.
OK NVDA 2019.2FF 68Heading Second level alt, graphic heading level 2.
OK NVDA 2019.2IE11Heading Second level alt, graphic heading level 2.
OK NVDA 2018.4Chrome 73Heading Second level alt, graphic heading level 2.
OK NVDA 2018.4FF 60Heading Second level alt, graphic heading level 2.
OK NVDA 2018.4IE11Heading Second level alt, graphic heading level 2.
OK NVDA 2017.3FF 60Heading Second level alt, graphic heading level 2.
OK NVDA 2017.3IE11Heading Second level alt, graphic heading level 2.
OK NVDA 2016.2FF 48Heading Second level alt, graphic heading level 2.
OK NVDA 2016.2IE11Heading Second level alt, graphic heading level 2.
OK NVDA 2015.2FF 41Heading Second level alt, graphic heading level 2.
OK NVDA 2015.2IE11Heading Second level alt, graphic heading level 2.
OK NVDA 2014.1FF 29Heading Second level alt, graphic heading level 2.
OK NVDA 2014.1IE11Heading Second level alt, graphic heading level 2.
OK NVDA 2012.1FF 29Heading Second level alt, graphic heading level 2.
OK NVDA 2012.1IE11Heading Second level alt, graphic heading level 2.
OK JAWS 2023.2311.34Chrome 120Heading Second level alt, heading level 2, graphic.
OK JAWS 2023.2311.34FF 115Heading Second level alt, heading level 2, graphic.
OK JAWS 2023.2311.34Edge 120Heading Second level alt, heading level 2, graphic.
OK JAWS 2022.2207.25Chrome 105Heading Second level alt, heading level 2, graphic.
OK JAWS 2022.2207.25FF 102Heading Second level alt, heading level 2, graphic.
OK JAWS 2022.2207.25Edge 105Heading Second level alt, heading level 2, graphic.
OK JAWS 2021.2107.12Chrome 94Heading Second level alt, heading level 2, graphic.
OK JAWS 2021.2107.12FF 91Heading Second level alt, heading level 2, graphic.
OK JAWS 2021.2107.12Edge 94Heading Second level alt, heading level 2, graphic.
OK JAWS 2020.2008.24Chrome 86Heading Second level alt, heading level 2, graphic.
OK JAWS 2020.2008.24FF 78Heading Second level alt, heading level 2, graphic.
OK JAWS 2020.2008.24Edge 92Heading Second level alt, heading level 2, graphic.
OK JAWS 2019.1912.1Chrome 79Heading Second level alt, heading level 2, graphic.
OK JAWS 2019.1912.1FF 68Heading Second level alt, heading level 2, graphic.
OK JAWS 2019.1912.1IE11Heading Second level alt, heading level 2, graphic.
OK JAWS 2018.1811.2Chrome 73Heading Second level alt, heading level 2, graphic.
OK JAWS 2018.1811.2FF 60Heading Second level alt, heading level 2, graphic.
OK JAWS 2018.1811.2IE11Heading Second level alt, heading level 2, graphic.
OK JAWS 18.0.5038FF 52Heading Second level alt, heading level 2, graphic.
OK JAWS 18.0.5038IE11Heading Second level alt, heading level 2, graphic.
OK JAWS 17.0.2619FF 48Heading Second level alt, heading level 2, graphic.
OK JAWS 17.0.2619IE11Heading Second level alt, heading level 2, graphic.
OK JAWS 16.0.4350FF 41Heading Second level alt, heading level 2.
OK JAWS 16.0.4350IE11Heading Second level alt, heading level 2.
OK JAWS 15.0.9023FF 29Heading Second level alt, heading level 2.
OK JAWS 15.0.9023IE11Heading Second level alt, heading level 2.
OK JAWS 14.0.9002FF 29Heading Second level alt, heading level 2.
OK JAWS 14.0.9002IE11Heading Second level alt, heading level 2.
OK JAWS 13.0.852FF 29Heading Second level alt, heading level 2.
OK JAWS 13.0.852IE11Heading Second level alt, heading level 2.
OK WindowEyes 9.2IE11Heading Heading 2, second level alt.
OK WindowEyes 8.4IE11Heading Heading 2, second level alt.
OK VoiceOver macOS 13.6Safari 16.6Heading Heading level 2, second level alt, image.
OK VoiceOver macOS 12.5Safari 15.6Heading Heading level 2, second level alt, image.
OK VoiceOver macOS 11.5Safari 15.0Heading Heading level 2, second level alt.
OK VoiceOver macOS 10.15Safari 14.1Heading Heading level 2, second level alt.
OK VoiceOver macOS 10.14Safari 13.0Heading Heading level 2, second level alt, image.
OK VoiceOver macOS 10.13Safari 12.1Heading Heading level 2, second level alt, image.
OK VoiceOver macOS 10.12Safari 10.1.2Heading Heading level 2, second level alt, image.
OK VoiceOver macOS 10.11Safari 9.1.2Heading Heading level 2, second level alt, image.
OK VoiceOver macOS 10.10Safari 9.0.1Heading Heading level 2, second level alt, image.
OK VoiceOver macOS 10.9Safari 7.0.3Heading Heading level 2, second level alt, image.
OK VoiceOver iOS 16.6Safari iOS 16.6TouchReads out text in image as well as alt text. Second level alt, heading level 2, image, test image.
OK VoiceOver iOS 15.6Safari iOS 15.6TouchReads out text in image as well as alt text. Second level alt, heading level 2, image, logo other, test image.
OK VoiceOver iOS 14.7Safari iOS 14.7Touch Second level alt, heading level 2, image.
OK VoiceOver iOS 13.3Safari iOS 13.3TouchMeaningless automated description read Second level alt, heading level 2, image, games, logo other.
OK VoiceOver iOS 12.4Safari iOS 12.4Touch Second level alt, heading level 2, image.
OK VoiceOver iOS 11.4Safari iOS 11.4Touch Second level alt, heading level 2, image.
OK VoiceOver iOS 10.3Safari iOS 10.3Touch Second level alt, heading level 2, image.
OK VoiceOver iOS 9.1Safari iOS 9.1Touch Second level alt, heading level 2, image.
OK VoiceOver iOS 8.4Safari iOS 8.4Touch Second level alt, heading level 2, image.
OK VoiceOver iOS 7.1Safari iOS 7.1Touch Second level alt, heading level 2, image.
OK Dolphin SR 15.05IE11Heading Heading 2, second level alt
OK SaToGo 3.4.96.0IE11Heading Second level alt, heading level 2

SortSite rules: AccHtmlHeadingEmpty

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