[wp-trac] [WordPress Trac] #43154: JAWS and Internet Explorer 11 don't announce the fieldset legends

WordPress Trac noreply at wordpress.org
Sat Jan 12 13:52:56 UTC 2019

#43154: JAWS and Internet Explorer 11 don't announce the fieldset legends
 Reporter:  afercia                      |       Owner:  afercia
     Type:  defect (bug)                 |      Status:  assigned
 Priority:  normal                       |   Milestone:  5.2
Component:  Administration               |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-screenshots needs-patch  |     Focuses:  accessibility

Comment (by afercia):

 To clarify: quoting from [https://github.com/FreedomScientific/VFO-
 standards-support/issues/152#issuecomment-450648969 the JAWS GitHub

 > Use of tabindex=-1 adds the div to the accessibility tree with a
 role=group and an accessible name from the div content unless another
 accessible name is provided.

 So the current markup:

 `<div id="wpbody-content" aria-label="Main content" tabindex="0">`

 is then interpreted by IE11 and JAWS as a "group" with name "Main
 content". The fieldset element has an implicit semantics of "group", with
 the name given by its legend element. This combination confuses IE11 and
 JAWS in a way the fieldset legends within the main content area are not

 [attachment:"43154.diff"] does the following:
 - removes the `tabindex="0"` from the content div and the toolbar div:
 those tabindex attributes are not needed any longer
 - removes `aria-label="Main content"` from the content div: not needed
 - keeps the media modal focus fallback introduced in [38142] by making the
 `#wpbody-content` element focusable only when used as fallback

Ticket URL: <https://core.trac.wordpress.org/ticket/43154#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list