BUTTON wraps IMG with aria-labelledby Screen reader compatibility

Last updated: October 16, 2016

Expected Result: works in a screen reader

Actual Result: causes problems in 18 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 aria labelled by</span>
    

Reliability Trend

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

100%80%60%40%20%0%201469%201577%201677%

Change History

Last updated: October 16, 2016

Screen readerBrowserModeNotesWhat the user hears
OK NVDA 2016.2FF48 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2016.2FF48 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 TabbingNothing indicates button function Button
OK NVDA 2015.2FF40 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2015.2FF40 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 TabbingNothing indicates button function Button
OK NVDA 2014.1FF28 Reading Button graphic, this is an aria labelled by, this is an aria labelled by
OK NVDA 2014.1FF28 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 TabbingNothing indicates button function Button
Fail JAWS 17.0.2619FF48 ReadingReads "unlabeled one button" without saying what button does. Unlabeled one button
Fail JAWS 17.0.2619FF48 TabbingReads "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.4350FF40 ReadingReads "unlabeled one button" without saying what button does. Unlabeled one button
Fail JAWS 16.0.4350FF40 TabbingReads "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.9023FF29 ReadingReads "unlabeled one button" without saying what button does. Unlabeled one button
Fail JAWS 15.0.9023FF29 TabbingReads "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.9002FF29 ReadingReads "unlabeled one button" without saying what button does. Unlabeled one button
Fail JAWS 14.0.9002FF29 TabbingReads "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.852FF29 ReadingReads "unlabeled one button" without saying what button does. Unlabeled one button
Fail JAWS 13.0.852FF29 TabbingReads "unlabeled one button" without saying what button does. Unlabeled one button
Fail JAWS 13.0.852IE11 ReadingIgnores img aria-labelledby, and reads "unlabeled zero button" without saying what button does. Unlabeled zero button
Fail JAWS 13.0.852IE11 TabbingIgnores 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 ReadingReads "button" without saying what button does. Button
OK WindowEyes 8.4IE11 Tabbing This is aria labelled by, button
OK VoiceOver OSX 10.11Safari 9.1.2 Reading This is aria labelled by, button
OK VoiceOver OSX 10.11Safari 9.1.2 Tabbing This is aria labelled by, button
OK VoiceOver OSX 10.10Safari 8.0.6 Reading This is aria labelled by, button
OK VoiceOver OSX 10.10Safari 8.0.6 Tabbing This is aria labelled by, button
OK VoiceOver OSX 10.9Safari 7.0.3 Reading This is aria labelled by, button
OK VoiceOver OSX 10.9Safari 7.0.3 Tabbing 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 ReadingReads "button button" without saying what button does. Button, button
Fail SaToGo 3.4.96.0IE11 TabbingReads "button" without saying what button does. Button

SortSite rules: AccWcag1-1.1.17

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: