Make WordPress Core


Ignore:
Timestamp:
01/17/2019 11:54:23 AM (7 years ago)
Author:
afercia
Message:

Accessibility: Improve the way Internet Explorer 11 and JAWS announce fieldset legends.

When Internet Explorer encounters a non interactive element with a tabindex
attribute, it adds the element to the accessibility tree with a role=group and
an accessible name computed from the element. This prevents JAWS from announcing
any fieldset legend within the element.

  • removes tabindex="0" from the content and the toolbar containers: these tabindex attributes are no longer needed
  • removes aria-label="Main content" from the content container: not needed
  • keeps the media modal focus fallback introduced in [38142] by making the #wpbody-content element focusable only when needed

Props stevefaulkner, aardrian.
Fixes #43154.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.