input type=text inside label with text before and after control Screen reader compatibility

HTML
Sep 11, 2022

Expected Result: works in a screen reader

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

Code used for this test:


		<label>Enter search text
		<input type='text'>
		blanks not allowed
		</label>
	

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%201993%202087%202187%202287%

Change History

Last updated: September 11, 2022

  • Good NVDA with Chrome Stable - OK from NVDA 2018.4 to NVDA 2022.2
  • Good NVDA with IE Stable - OK from NVDA 2012.3 to NVDA 2019.2
  • Good NVDA with FF Stable - OK from NVDA 2012.1 to NVDA 2022.2
  • Better JAWS with Chrome Better - caused problems in JAWS 2019.1912.1, but now OK in JAWS 2022.2207.25
  • 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 2022.2207.25
  • Bad VoiceOver macOS Causes problems in VoiceOver macOS 12.5
  • Good VoiceOver iOS Stable - OK from VoiceOver iOS 7.1 to VoiceOver iOS 15.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
  • Bad SaToGo with IE Causes problems in SaToGo 3.4.96.0
Screen readerBrowserModeNotesWhat the user hears
OK NVDA 2022.2Chrome 105 Reading Enter search text, edit, blanks not allowed
OK NVDA 2022.2Chrome 105 Tabbing Document, enter search text, blanks not allowed, edit, blank
OK NVDA 2022.2FF102 Reading Clickable, enter search text, edit has auto complete, blanks not allowed
OK NVDA 2022.2FF102 Tabbing Article, enter search text, blanks not allowed, edit has auto complete, blank
OK NVDA 2022.2Edge 105 Reading Enter search text, edit, blanks not allowed
OK NVDA 2022.2Edge 105 Tabbing Document, enter search text, blanks not allowed, edit, blank
OK NVDA 2021.2Chrome 94 Reading Enter search text, edit, blanks not allowed
OK NVDA 2021.2Chrome 94 Tabbing Document, enter search text, blanks not allowed, edit, blank
OK NVDA 2021.2FF91 Reading Clickable, enter search text, edit has auto complete, blanks not allowed
OK NVDA 2021.2FF91 Tabbing Article, enter search text, blanks not allowed, edit has auto complete, blank
OK NVDA 2021.2Edge 94 Reading Enter search text, edit, blanks not allowed
OK NVDA 2021.2Edge 94 Tabbing Document, enter search text, blanks not allowed, edit, blank
OK NVDA 2020.2Chrome 86 Reading Enter search text, edit, blanks not allowed
OK NVDA 2020.2Chrome 86 Tabbing Article, enter search text, blanks not allowed, edit, blank
OK NVDA 2020.2FF78 Reading Clickable, enter search text, edit has auto complete, blanks not allowed
OK NVDA 2020.2FF78 Tabbing Article, enter search text, blanks not allowed, edit has auto complete, blank
OK NVDA 2020.2Edge 92 Reading Enter search text, edit, blanks not allowed
OK NVDA 2020.2Edge 92 Tabbing Article, enter search text, blanks not allowed, edit, blank
OK NVDA 2019.2Chrome 79 Reading Enter search text, edit, blanks not allowed
OK NVDA 2019.2Chrome 79 Tabbing Document, enter search text, blanks not allowed, edit, blank
OK NVDA 2019.2FF68 Reading Clickable, enter search text, edit has auto complete, blanks not allowed
OK NVDA 2019.2FF68 Tabbing Document, enter search text, blanks not allowed, edit has auto complete, blank
OK NVDA 2019.2IE11 Reading Enter search text, edit, blanks not allowed
OK NVDA 2019.2IE11 Tabbing Document, enter search text, blanks not allowed, edit, blank
OK NVDA 2018.4Chrome 73 Reading Enter search text, edit, blanks not allowed
OK NVDA 2018.4Chrome 73 Tabbing Enter search text, blanks not allowed, edit, blank
OK NVDA 2018.4FF60 Reading Clickable, enter search text, edit has auto complete, blanks not allowed
OK NVDA 2018.4FF60 Tabbing Enter search text, blanks not allowed, edit has auto complete, blank
OK NVDA 2018.4IE11 Reading Enter search text, edit, blanks not allowed
OK NVDA 2018.4IE11 Tabbing Enter search text, blanks not allowed, edit, blank
OK NVDA 2017.3FF60 Reading Clickable, enter search text, edit auto complete, blanks not allowed
OK NVDA 2017.3FF60 Tabbing Enter search text, blanks not allowed, edit, auto complete, blank
OK NVDA 2017.3IE11 Reading Enter search text, edit, blanks not allowed
OK NVDA 2017.3IE11 Tabbing Enter search text, blanks not allowed, edit, blank
OK NVDA 2016.2FF48 Reading Clickable, enter search text, edit auto complete, blanks not allowed
OK NVDA 2016.2FF48 Tabbing Enter search text, blanks not allowed, edit, auto complete, blank
OK NVDA 2016.2IE11 Reading Enter search text, edit, blanks not allowed
OK NVDA 2016.2IE11 Tabbing Enter search text, blanks not allowed, edit, blank
OK NVDA 2015.2FF40 Reading Enter search text, edit auto complete, blanks not allowed
OK NVDA 2015.2FF40 Tabbing Enter search text, blanks not allowed, edit, auto complete, blank
OK NVDA 2015.2IE11 Reading Enter search text, edit, blanks not allowed
OK NVDA 2015.2IE11 Tabbing Enter search text, blanks not allowed, edit, blank
OK NVDA 2014.1FF28 Reading Enter search text, edit auto complete, blanks not allowed
OK NVDA 2014.1FF28 Tabbing Enter search text, blanks not allowed, Edit, auto complete, blank
OK NVDA 2014.1IE11 Reading Enter search text, edit, blanks not allowed
OK NVDA 2014.1IE11 Tabbing Enter search text, blanks not allowed, Edit, blank
OK NVDA 2012.1FF28 Reading Enter search text, edit auto complete, blanks not allowed
OK NVDA 2012.1FF28 Tabbing Enter search text, blanks not allowed, Edit, auto complete, blank
OK NVDA 2012.3IE11 Reading Enter search text, edit, blanks not allowed
OK NVDA 2012.3IE11 Tabbing Enter search text, blanks not allowed, Edit, blank
OK JAWS 2022.2207.25Chrome 105 Reading Enter search text. Blank, edit. Blanks not allowed.
OK JAWS 2022.2207.25Chrome 105 Tabbing Enter search text, blanks not allowed, edit, type in text
OK JAWS 2022.2207.25FF102 Reading Enter search text. Blank, edit. Blanks not allowed.
OK JAWS 2022.2207.25FF102 Tabbing Enter search text, blanks not allowed, edit, type in text
OK JAWS 2022.2207.25Edge 105 Reading Enter search text. Blank, edit. Blanks not allowed.
OK JAWS 2022.2207.25Edge 105 Tabbing Enter search text, blanks not allowed, edit, type in text
OK JAWS 2021.2107.12Chrome 94 Reading Enter search text. Blank, edit. Blanks not allowed.
OK JAWS 2021.2107.12Chrome 94 Tabbing Enter search text, blanks not allowed, edit, type in text
OK JAWS 2021.2107.12FF91 Reading Enter search text. Blank, edit. Blanks not allowed.
OK JAWS 2021.2107.12FF91 Tabbing Enter search text, blanks not allowed, edit, type in text
OK JAWS 2021.2107.12Edge 94 Reading Enter search text. Blank, edit. Blanks not allowed.
OK JAWS 2021.2107.12Edge 94 Tabbing Enter search text, blanks not allowed, edit, type in text
OK JAWS 2020.2008.24Chrome 86 Reading Enter search text. Blank, edit. Enter search text, blanks not allowed, edit, type in text
OK JAWS 2020.2008.24Chrome 86 Tabbing Enter search text, blanks not allowed, edit, type in text
OK JAWS 2020.2008.24FF78 Reading Enter search text. Enter search text, blanks not allowed, edit, type in text. Blanks not allowed.
OK JAWS 2020.2008.24FF78 Tabbing Enter search text, blanks not allowed, edit, type in text
OK JAWS 2020.2008.24Edge 92 Reading Enter search text. Blank, edit. Enter search text, blanks not allowed, edit, type in text
OK JAWS 2020.2008.24Edge 92 Tabbing Enter search text, blanks not allowed, edit, type in text
Fail JAWS 2019.1912.1Chrome 79 Reading Label after control is not voiced. Enter search text. Blank, edit.
OK JAWS 2019.1912.1Chrome 79 Tabbing Enter search text, blanks not allowed, edit, type in text
OK JAWS 2019.1912.1FF68 Reading Enter search text. Enter search text, blanks not allowed, edit, type in text.
OK JAWS 2019.1912.1FF68 Tabbing Enter search text, blanks not allowed, edit, type in text
OK JAWS 2019.1912.1IE11 Reading Enter search text. Edit. Blanks not allowed
OK JAWS 2019.1912.1IE11 Tabbing Enter search text, blanks not allowed, edit, type in text
OK JAWS 2018.1811.2Chrome 73 Reading Enter search text. Blank, edit. Blanks not allowed
OK JAWS 2018.1811.2Chrome 73 Tabbing Tab, enter search text, blanks not allowed, edit, type in text
OK JAWS 2018.1811.2FF60 Reading Enter search text. Blank, edit. Blanks not allowed
OK JAWS 2018.1811.2FF60 Tabbing Tab, enter search text, blanks not allowed, edit, type in text
OK JAWS 2018.1811.2IE11 Reading Enter search text. Edit. Blanks not allowed
OK JAWS 2018.1811.2IE11 Tabbing Tab, enter search text, blanks not allowed, edit, type in text
OK JAWS 18.0.5038FF52 Reading Enter search text. Blank, edit. Blanks not allowed
OK JAWS 18.0.5038FF52 Tabbing Tab, enter search text, blanks not allowed, edit, type in text
OK JAWS 18.0.5038IE11 Reading Enter search text. Edit. Blanks not allowed
OK JAWS 18.0.5038IE11 Tabbing Tab, enter search text, blanks not allowed, edit, type in text
OK JAWS 17.0.2619FF48 Reading Enter search text. Blank edit, enter search text, blanks not allowed, edit, type in text. Blanks not allowed
OK JAWS 17.0.2619FF48 Tabbing Tab, enter search text, blanks not allowed, edit, type in text
OK JAWS 17.0.2619IE11 Reading Enter search text. Edit, enter search text, blanks not allowed, edit, type in text. Blanks not allowed
OK JAWS 17.0.2619IE11 Tabbing Enter search text, blanks not allowed, edit, type in text
OK JAWS 16.0.4350FF40 Reading Enter search text. Blank edit. Blanks not allowed
OK JAWS 16.0.4350FF40 Tabbing Tab, enter search text, blanks not allowed, edit, type in text
OK JAWS 16.0.4350IE11 Reading Enter search text. Edit. Blanks not allowed
OK JAWS 16.0.4350IE11 Tabbing Enter search text, blanks not allowed, edit, type in text
OK JAWS 15.0.9023FF29 Reading Enter search text, blank edit, blanks not allowed
OK JAWS 15.0.9023FF29 Tabbing Enter search text, blanks not allowed, edit, type in text
OK JAWS 15.0.9023IE11 Reading Enter search text. Blank. Blanks not allowed
OK JAWS 15.0.9023IE11 Tabbing Enter search text, blanks not allowed, edit, type in text
OK JAWS 14.0.9002FF29 Reading Enter search text, edit, blanks not allowed
OK JAWS 14.0.9002FF29 Tabbing Enter search text, blanks not allowed, Edit, type in text
OK JAWS 14.0.9002IE11 Reading Enter search text, beep, blank, blanks not allowed
OK JAWS 14.0.9002IE11 Tabbing Enter search text, blanks not allowed, Edit, type in text
OK JAWS 13.0.852FF28 Reading Enter search text, Type in text, blanks not allowed
OK JAWS 13.0.852FF28 Tabbing Enter search text, blanks not allowed, Edit, type in text
OK JAWS 13.0.852IE11 Reading Enter search text, Type in text, blanks not allowed
OK JAWS 13.0.852IE11 Tabbing Enter search text, blanks not allowed, Edit, type in text
OK WindowEyes 9.2IE11 Reading Enter search text. Enter search text, blanks not allowed, edit. Blanks not allowed.
OK WindowEyes 9.2IE11 Tabbing Enter search text, blanks not allowed, edit
OK WindowEyes 8.4IE11 Reading Enter search text, edit box, blanks not allowed
OK WindowEyes 8.4IE11 Tabbing Enter search text, blanks not allowed, edit box
Fail VoiceOver macOS 12.5Safari 15.6 Reading 'And one more item' is read instead of the label text after the control. Enter search text. Enter search text, and one more item, edit text. Blanks not allowed
Fail VoiceOver macOS 12.5Safari 15.6 Tabbing 'And one more item' is read instead of the label text after the control. Enter search text, and one more item, edit text
Fail VoiceOver macOS 11.5Safari 15.0 Reading 'And one more item' is read instead of the label text after the control. Enter search text. Enter search text, and one more item, edit text. Blanks not allowed
Fail VoiceOver macOS 11.5Safari 15.0 Tabbing 'And one more item' is read instead of the label text after the control. Enter search text, and one more item, edit text
Fail VoiceOver macOS 10.15Safari 14.1 Reading 'And one more item' is read instead of the label text after the control. Enter search text. Enter search text, and one more item, edit text. Blanks not allowed
Fail VoiceOver macOS 10.15Safari 14.1 Tabbing 'And one more item' is read instead of the label text after the control. Enter search text, and one more item, edit text
OK VoiceOver macOS 10.14Safari 13.0 Reading Enter search text. Enter search text, blanks not allowed, edit text. Blanks not allowed
OK VoiceOver macOS 10.14Safari 13.0 Tabbing Enter search text, blanks not allowed, edit text
OK VoiceOver macOS 10.13Safari 12.1 Reading Enter search text. Enter search text, blanks not allowed, edit text. Blanks not allowed
OK VoiceOver macOS 10.13Safari 12.1 Tabbing Enter search text, blanks not allowed, edit text
OK VoiceOver macOS 10.12Safari 10.1.2 Reading Enter search text. Enter search text, blanks not allowed, edit text. Blanks not allowed
OK VoiceOver macOS 10.12Safari 10.1.2 Tabbing Enter search text, blanks not allowed, edit text
OK VoiceOver macOS 10.11Safari 9.1.2 Reading Enter search text. Enter search text, blanks not allowed, edit text. Blanks not allowed
OK VoiceOver macOS 10.11Safari 9.1.2 Tabbing Enter search text, blanks not allowed, edit text
OK VoiceOver macOS 10.10Safari 8.0.6 Reading Enter search text. Enter search text, blanks not allowed, edit text. Blanks not allowed
OK VoiceOver macOS 10.10Safari 8.0.6 Tabbing Enter search text, blanks not allowed, edit text
OK VoiceOver macOS 10.9Safari 7.0.3 Reading Enter search text, Enter search text, blanks not allowed, Edit text, blanks not allowed
OK VoiceOver macOS 10.9Safari 7.0.3 Tabbing Enter search text, blanks not allowed, Edit text
OK VoiceOver iOS 15.6Safari iOS 15.6Touch Enter search text blanks not allowed, text field, double tap to edit
OK VoiceOver iOS 14.7Safari iOS 14.7Touch Enter search text blanks not allowed, text field, double tap to edit
OK VoiceOver iOS 13.3Safari iOS 13.3Touch Enter search text blanks not allowed, text field, double tap to edit
OK VoiceOver iOS 12.4Safari iOS 12.4Touch Enter search text blanks not allowed, text field, double tap to edit
OK VoiceOver iOS 11.4Safari iOS 11.4Touch Enter search text blanks not allowed, text field, blanks not allowed
OK VoiceOver iOS 10.3Safari iOS 10.3Touch Enter search text blanks not allowed, text field, double tap to edit
OK VoiceOver iOS 9.1Safari iOS 9.1Touch Enter search text blanks not allowed, text field, double tap to edit
OK VoiceOver iOS 8.4Safari iOS 8.4Touch Enter search text blanks not allowed, text field, double tap to edit
OK VoiceOver iOS 7.1Safari iOS 7.1Touch Enter search text blanks not allowed, text field, double tap to edit
OK Dolphin SR 15.05IE11 Reading Enter search text. Enter search text, edit, blanks not allowed. Blanks not allowed.
OK Dolphin SR 15.05IE11 Tabbing Forms mode, enter search text, blank line, edit, blanks not allowed
OK SaToGo 3.4.96.0IE11 Reading Enter search text, editable text, blank, blanks not allowed
Fail SaToGo 3.4.96.0IE11 Tabbing trailing part of label not read Enter search text, editable text, blank

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