Hide things that need to be available to screen readers via offscreen positioning. see #9445
git-svn-id: https://develop.svn.wordpress.org/trunk@11175 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9d6444bc64
commit
7357b54497
|
@ -185,7 +185,12 @@ table {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hidden,
|
/* Hide visually but not from screen readers */
|
||||||
|
.hidden {
|
||||||
|
position: absolute;
|
||||||
|
left: -1000em;
|
||||||
|
}
|
||||||
|
|
||||||
.js .closed .inside,
|
.js .closed .inside,
|
||||||
.js .hide-if-js,
|
.js .hide-if-js,
|
||||||
.no-js .hide-if-no-js {
|
.no-js .hide-if-no-js {
|
||||||
|
|
|
@ -430,7 +430,7 @@ function wp_default_styles( &$styles ) {
|
||||||
$styles->add( 'colors-classic', '/wp-admin/css/colors-classic.css', array(), '20081210');
|
$styles->add( 'colors-classic', '/wp-admin/css/colors-classic.css', array(), '20081210');
|
||||||
$styles->add_data( 'colors-classic', 'rtl', true );
|
$styles->add_data( 'colors-classic', 'rtl', true );
|
||||||
|
|
||||||
$styles->add( 'global', '/wp-admin/css/global.css', array(), '20090415' );
|
$styles->add( 'global', '/wp-admin/css/global.css', array(), '20090504' );
|
||||||
$styles->add( 'media', '/wp-admin/css/media.css', array(), '20090325' );
|
$styles->add( 'media', '/wp-admin/css/media.css', array(), '20090325' );
|
||||||
$styles->add( 'widgets', '/wp-admin/css/widgets.css', array(), '20090503' );
|
$styles->add( 'widgets', '/wp-admin/css/widgets.css', array(), '20090503' );
|
||||||
$styles->add( 'dashboard', '/wp-admin/css/dashboard.css', array(), '20090305' );
|
$styles->add( 'dashboard', '/wp-admin/css/dashboard.css', array(), '20090305' );
|
||||||
|
|
Loading…
Reference in New Issue