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

WordPress Trac noreply at wordpress.org
Fri Jan 11 20:49:11 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
-----------------------------------------+----------------------------
Changes (by afercia):

 * keywords:  has-screenshots => has-screenshots needs-patch
 * owner:  (none) => afercia
 * status:  new => assigned
 * milestone:  Future Release => 5.2


Comment:

 After some code archeology: the aria=label "Main content" with a negative
 tabindex was added more than 6 years ago in [21305]. At that time, old IE
 versions needed the element targeted by the skip link to be focusable.

 After that, two `tabindex="0"` attributes were added in [22249] to the
 content area and the toolbar, to fix "the WebKit focus bug" (always
 related to in-page links).

 Today, WebKit doesn't suffer from that bug any longer, and all other
 browsers including IE 11 don't need the tabindex.

 At this point, the cleaner solution is to remove the two `tabindex="0"`,
 but...

 ...the `wpbody-content` element is still used as fallback to move focus to
 by the media modal. That JavaScript part needs a workaround or maybe the
 fallback should be removed. Once that is done, I'd propose to:
 - remove the two `tabindex="0"`
 - remove the aria-label "Main content"
 - keep the `role="main"` as is, on the `wpbody` element

 Will prepare a patch and test it with JAWS / IE11.

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


More information about the wp-trac mailing list