Hide things that need to be available to screen readers via offscreen positioning. see #9445

git-svn-id: http://svn.automattic.com/wordpress/trunk@11175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-05-04 18:05:16 +00:00
parent c76426b42c
commit 229dedb539
2 changed files with 7 additions and 2 deletions

View File

@ -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 {

View File

@ -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' );