WordPress.org

Make WordPress Core

Changeset 44543


Ignore:
Timestamp:
01/10/2019 04:30:03 PM (23 months ago)
Author:
afercia
Message:

Accessibility: Improve the way Safari and VoiceOver read out the screen reader text.

Sometimes, Safari and VoiceOver read out the text hidden with screen-reader-text
in a wrong order. While there's no known, full, solution, it is possible to make
them respect the correct order reliably at least within buttons.

Fixes #42006.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r44466 r44543  
    133133    width: 1px;
    134134    word-wrap: normal !important; /* many screen reader and browser combinations announce broken words as they would appear visually */
     135}
     136
     137.button .screen-reader-text {
     138    height: auto; /* Fixes a Safari+VoiceOver bug, see ticket #42006 */
    135139}
    136140
Note: See TracChangeset for help on using the changeset viewer.