Accessibility: Ensure screen reader text is read as words and not affected by word-wrap.

props afercia.
fixes #31962.

Built from https://develop.svn.wordpress.org/trunk@32509


git-svn-id: http://core.svn.wordpress.org/trunk@32479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2015-05-18 18:37:29 +00:00
parent 7381d50904
commit 348ec03052
5 changed files with 5 additions and 3 deletions

View File

@ -126,6 +126,7 @@
overflow: hidden; overflow: hidden;
clip: rect(0 0 0 0); clip: rect(0 0 0 0);
border: 0; border: 0;
word-wrap: normal !important; /* many screen reader and browser combinations announce broken words as they would appear visually */
} }
.screen-reader-shortcut { .screen-reader-shortcut {

View File

@ -126,6 +126,7 @@
overflow: hidden; overflow: hidden;
clip: rect(0 0 0 0); clip: rect(0 0 0 0);
border: 0; border: 0;
word-wrap: normal !important; /* many screen reader and browser combinations announce broken words as they would appear visually */
} }
.screen-reader-shortcut { .screen-reader-shortcut {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-alpha-32508'; $wp_version = '4.3-alpha-32509';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.