WordPress.org

Make WordPress Core

Ticket #9791: screen_reader_text.9791.diff

File screen_reader_text.9791.diff, 47.6 KB (added by filosofo, 5 years ago)
  • wp-includes/general-template.php

     
    119119                return; 
    120120 
    121121        $form = '<form role="search" method="get" id="searchform" action="' . get_option('home') . '/" > 
    122         <div><label class="invisible" for="s">' . __('Search for:') . '</label> 
     122        <div><label class="screen-reader-text" for="s">' . __('Search for:') . '</label> 
    123123        <input type="text" value="' . esc_attr(apply_filters('the_search_query', get_search_query())) . '" name="s" id="s" /> 
    124124        <input type="submit" id="searchsubmit" value="'. esc_attr__('Search') .'" /> 
    125125        </div> 
  • wp-content/themes/classic/style.css

     
    1212Please tweak this and make it your own. :) 
    1313*/ 
    1414 
    15 .invisible { 
     15.screen-reader-text { 
    1616     position: absolute; 
    1717     left: -1000em; 
    1818} 
  • wp-content/themes/default/style.css

     
    655655        display: none; 
    656656        } 
    657657         
    658 .invisible { 
     658.screen-reader-text { 
    659659     position: absolute; 
    660660     left: -1000em; 
    661661} 
  • wp-admin/users.php

     
    290290 
    291291<form class="search-form" action="" method="get"> 
    292292<p class="search-box"> 
    293         <label class="invisible" for="user-search-input"><?php _e( 'Search Users' ); ?>:</label> 
     293        <label class="screen-reader-text" for="user-search-input"><?php _e( 'Search Users' ); ?>:</label> 
    294294        <input type="text" id="user-search-input" name="usersearch" value="<?php echo esc_attr($wp_user_search->search_term); ?>" /> 
    295295        <input type="submit" value="<?php esc_attr_e( 'Search Users' ); ?>" class="button" /> 
    296296</p> 
     
    309309<option value="delete"><?php _e('Delete'); ?></option> 
    310310</select> 
    311311<input type="submit" value="<?php esc_attr_e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" /> 
    312 <label class="invisible" for="new_role"><?php _e('Change role to&hellip;') ?></label><select name="new_role" id="new_role"><option value=''><?php _e('Change role to&hellip;') ?></option><?php wp_dropdown_roles(); ?></select> 
     312<label class="screen-reader-text" for="new_role"><?php _e('Change role to&hellip;') ?></label><select name="new_role" id="new_role"><option value=''><?php _e('Change role to&hellip;') ?></option><?php wp_dropdown_roles(); ?></select> 
    313313<input type="submit" value="<?php esc_attr_e('Change'); ?>" name="changeit" class="button-secondary" /> 
    314314<?php wp_nonce_field('bulk-users'); ?> 
    315315</div> 
  • wp-admin/edit-link-categories.php

     
    7373 
    7474<form class="search-form" action="" method="get"> 
    7575<p class="search-box"> 
    76         <label class="invisible" for="link-category-search-input"><?php _e( 'Search Categories' ); ?>:</label> 
     76        <label class="screen-reader-text" for="link-category-search-input"><?php _e( 'Search Categories' ); ?>:</label> 
    7777        <input type="text" id="link-category-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 
    7878        <input type="submit" value="<?php esc_attr_e( 'Search Categories' ); ?>" class="button" /> 
    7979</p> 
  • wp-admin/options-privacy.php

     
    2525<table class="form-table"> 
    2626<tr valign="top"> 
    2727<th scope="row"><?php _e('Blog Visibility') ?> </th> 
    28 <td><fieldset><legend class="invisible"><span><?php _e('Blog Visibility') ?> </span></legend> 
     28<td><fieldset><legend class="screen-reader-text"><span><?php _e('Blog Visibility') ?> </span></legend> 
    2929<p><input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> /> 
    3030<label for="blog-public"><?php _e('I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers');?></label></p> 
    3131<p><input id="blog-norobots" type="radio" name="blog_public" value="0" <?php checked('0', get_option('blog_public')); ?> /> 
  • wp-admin/edit-comments.php

     
    175175</ul> 
    176176 
    177177<p class="search-box"> 
    178         <label class="invisible" for="comment-search-input"><?php _e( 'Search Comments' ); ?>:</label> 
     178        <label class="screen-reader-text" for="comment-search-input"><?php _e( 'Search Comments' ); ?>:</label> 
    179179        <input type="text" id="comment-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 
    180180        <input type="submit" value="<?php esc_attr_e( 'Search Comments' ); ?>" class="button" /> 
    181181</p> 
  • wp-admin/wp-admin.css

     
    24312431        margin: 0 9px 0 0; 
    24322432} 
    24332433 
    2434 #screen-meta .invisible { 
     2434#screen-meta .screen-reader-text { 
    24352435        visibility: hidden; 
    24362436} 
    24372437 
  • wp-admin/includes/plugin-install.php

     
    163163                        <option value="tag"<?php selected('tag', $type) ?>><?php echo _x('Tag', 'Plugin Installer'); ?></option> 
    164164                </select> 
    165165                <input type="text" name="s" value="<?php echo esc_attr($term) ?>" /> 
    166                 <label class="invisible" for="plugin-search-input"><?php _e('Search Plugins'); ?></label> 
     166                <label class="screen-reader-text" for="plugin-search-input"><?php _e('Search Plugins'); ?></label> 
    167167                <input type="submit" id="plugin-search-input" name="search" value="<?php esc_attr_e('Search Plugins'); ?>" class="button" /> 
    168168        </form><?php 
    169169} 
     
    211211        <p class="install-help"><?php _e('If you have a plugin in a .zip format, You may install it by uploading it here.') ?></p> 
    212212        <form method="post" enctype="multipart/form-data" action="<?php echo admin_url('update.php?action=upload-plugin') ?>"> 
    213213                <?php wp_nonce_field( 'plugin-upload') ?> 
    214                 <label class="invisible" for="pluginzip"><?php _e('Plugin zip file'); ?></label> 
     214                <label class="screen-reader-text" for="pluginzip"><?php _e('Plugin zip file'); ?></label> 
    215215                <input type="file" id="pluginzip" name="pluginzip" /> 
    216216                <input type="submit" class="button" value="<?php esc_attr_e('Install Now') ?>" /> 
    217217        </form> 
  • wp-admin/includes/file.php

     
    758758<tr valign="top"> 
    759759<th scope="row"><?php _e('Connection Type') ?></th> 
    760760<td> 
    761 <fieldset><legend class="invisible"><span><?php _e('Connection Type') ?></span></legend> 
     761<fieldset><legend class="screen-reader-text"><span><?php _e('Connection Type') ?></span></legend> 
    762762<label><input id="ftp" name="connection_type"  type="radio" value="ftp" <?php checked('ftp', $connection_type); if ( defined('FTP_SSL') || defined('FTP_SSH') ) echo ' disabled="disabled"'; ?>/> <?php _e('FTP') ?></label><br /> 
    763763<label><input id="ftps" name="connection_type" type="radio" value="ftps" <?php checked('ftps', $connection_type); if ( defined('FTP_SSH') || defined('FTP_SSH') ) echo ' disabled="disabled"';  ?>/> <?php _e('FTPS (SSL)') ?></label><br /> 
    764764<?php if ( extension_loaded('ssh2') ) { ?><label><input id="ssh" name="connection_type" type="radio" value="ssh" <?php checked('ssh', $connection_type);  if ( defined('FTP_SSL') || defined('FTP_SSH') ) echo ' disabled="disabled"'; ?>/> <?php _e('SSH') ?></label><?php } ?> 
  • wp-admin/includes/template.php

     
    24342434        $delete_nonce = wp_create_nonce( 'delete-meta_' . $entry['meta_id'] ); 
    24352435 
    24362436        $r .= "\n\t<tr id='meta-{$entry['meta_id']}' class='$style'>"; 
    2437         $r .= "\n\t\t<td class='left'><label class='invisible' for='meta[{$entry['meta_id']}][key]'>" . __( 'Key' ) . "</label><input name='meta[{$entry['meta_id']}][key]' id='meta[{$entry['meta_id']}][key]' tabindex='6' type='text' size='20' value='{$entry['meta_key']}' />"; 
     2437        $r .= "\n\t\t<td class='left'><label class='screen-reader-text' for='meta[{$entry['meta_id']}][key]'>" . __( 'Key' ) . "</label><input name='meta[{$entry['meta_id']}][key]' id='meta[{$entry['meta_id']}][key]' tabindex='6' type='text' size='20' value='{$entry['meta_key']}' />"; 
    24382438 
    24392439        $r .= "\n\t\t<div class='submit'><input name='deletemeta[{$entry['meta_id']}]' type='submit' "; 
    24402440        $r .= "class='delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce deletemeta' tabindex='6' value='". esc_attr__( 'Delete' ) ."' />"; 
     
    24422442        $r .= wp_nonce_field( 'change-meta', '_ajax_nonce', false, false ); 
    24432443        $r .= "</td>"; 
    24442444 
    2445         $r .= "\n\t\t<td><label class='invisible' for='meta[{$entry['meta_id']}][value]'>" . __( 'Value' ) . "</label><textarea name='meta[{$entry['meta_id']}][value]' id='meta[{$entry['meta_id']}][value]' tabindex='6' rows='2' cols='30'>{$entry['meta_value']}</textarea></td>\n\t</tr>"; 
     2445        $r .= "\n\t\t<td><label class='screen-reader-text' for='meta[{$entry['meta_id']}][value]'>" . __( 'Value' ) . "</label><textarea name='meta[{$entry['meta_id']}][value]' id='meta[{$entry['meta_id']}][value]' tabindex='6' rows='2' cols='30'>{$entry['meta_value']}</textarea></td>\n\t</tr>"; 
    24462446        return $r; 
    24472447} 
    24482448 
     
    31593159 
    31603160                                <input type="hidden" name="affected" id="affected" value="" /> 
    31613161                                <?php wp_nonce_field( 'find-posts', '_ajax_nonce', false ); ?> 
    3162                                 <label class="invisible" for="find-posts-input"><?php _e( 'Search' ); ?></label> 
     3162                                <label class="screen-reader-text" for="find-posts-input"><?php _e( 'Search' ); ?></label> 
    31633163                                <input type="text" id="find-posts-input" name="ps" value="" /> 
    31643164                                <input type="button" onclick="findPosts.send();" value="<?php esc_attr_e( 'Search' ); ?>" class="button" /><br /> 
    31653165 
  • wp-admin/includes/media.php

     
    13541354<div id="html-upload-ui"> 
    13551355<?php do_action('pre-html-upload-ui'); ?> 
    13561356        <p id="async-upload-wrap"> 
    1357         <label class="invisible" for="async-upload"><?php _e('Upload'); ?></label> 
     1357        <label class="screen-reader-text" for="async-upload"><?php _e('Upload'); ?></label> 
    13581358        <input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php esc_attr_e('Upload'); ?>" /> <a href="#" onclick="return top.tb_remove();"><?php _e('Cancel'); ?></a> 
    13591359        </p> 
    13601360        <div class="clear"></div> 
     
    17101710<input type="hidden" name="post_mime_type" value="<?php echo isset( $_GET['post_mime_type'] ) ? esc_attr( $_GET['post_mime_type'] ) : ''; ?>" /> 
    17111711 
    17121712<p id="media-search" class="search-box"> 
    1713         <label class="invisible" for="media-search-input"><?php _e('Search Media');?>:</label> 
     1713        <label class="screen-reader-text" for="media-search-input"><?php _e('Search Media');?>:</label> 
    17141714        <input type="text" id="media-search-input" name="s" value="<?php the_search_query(); ?>" /> 
    17151715        <input type="submit" value="<?php esc_attr_e( 'Search Media' ); ?>" class="button" /> 
    17161716</p> 
  • wp-admin/edit-tags.php

     
    158158 
    159159<form class="search-form" action="" method="get"> 
    160160<p class="search-box"> 
    161         <label class="invisible" for="tag-search-input"><?php _e( 'Search Tags' ); ?>:</label> 
     161        <label class="screen-reader-text" for="tag-search-input"><?php _e( 'Search Tags' ); ?>:</label> 
    162162        <input type="text" id="tag-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 
    163163        <input type="submit" value="<?php esc_attr_e( 'Search Tags' ); ?>" class="button" /> 
    164164</p> 
  • wp-admin/edit-page-form.php

     
    261261?> 
    262262<p><label for="post_status_private" class="selectit"><input id="post_status_private" name="post_status" type="checkbox" value="private" <?php checked($post->post_status, 'private'); ?> tabindex='4' /> <?php _e('Keep this page private') ?></label></p> 
    263263<h4><?php _e( 'Page Password' ); ?></h4> 
    264 <p><label class="invisible" for="post_password"><?php _e('Password Protect This Page') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php the_post_password(); ?>" /></p> 
     264<p><label class="screen-reader-text" for="post_password"><?php _e('Password Protect This Page') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php the_post_password(); ?>" /></p> 
    265265<p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this page and its comments.'); ?></p> 
    266266<?php 
    267267} 
     
    277277function page_attributes_meta_box($post){ 
    278278?> 
    279279<h5><?php _e('Parent') ?></h5> 
    280 <label class="invisible" for="parent_id"><?php _e('Page Parent') ?></label> 
     280<label class="screen-reader-text" for="parent_id"><?php _e('Page Parent') ?></label> 
    281281<?php wp_dropdown_pages(array('exclude_tree' => $post->ID, 'selected' => $post->post_parent, 'name' => 'parent_id', 'show_option_none' => __('Main Page (no parent)'), 'sort_column'=> 'menu_order, post_title')); ?> 
    282282<p><?php _e('You can arrange your pages in hierarchies, for example you could have an &#8220;About&#8221; page that has &#8220;Life Story&#8221; and &#8220;My Dog&#8221; pages under it. There are no limits to how deeply nested you can make pages.'); ?></p> 
    283283<?php 
    284284        if ( 0 != count( get_page_templates() ) ) { ?> 
    285285<h5><?php _e('Template') ?></h5> 
    286 <label class="invisible" for="page_template"><?php _e('Page Template') ?></label><select name="page_template" id="page_template"> 
     286<label class="screen-reader-text" for="page_template"><?php _e('Page Template') ?></label><select name="page_template" id="page_template"> 
    287287<option value='default'><?php _e('Default Template'); ?></option> 
    288288<?php page_template_dropdown($post->page_template); ?> 
    289289</select> 
     
    291291<?php 
    292292        } ?> 
    293293<h5><?php _e('Order') ?></h5> 
    294 <p><label class="invisible" for="menu_order"><?php _e('Page Order') ?></label><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr($post->menu_order) ?>" /></p> 
     294<p><label class="screen-reader-text" for="menu_order"><?php _e('Page Order') ?></label><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr($post->menu_order) ?>" /></p> 
    295295<p><?php _e('Pages are usually ordered alphabetically, but you can put a number above to change the order pages appear in. (We know this is a little janky, it&#8217;ll be better in future releases.)'); ?></p> 
    296296<?php 
    297297} 
     
    346346 */ 
    347347function page_slug_meta_box($post){ 
    348348?> 
    349 <label class="invisible" for="post_name"><?php _e('Page Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( $post->post_name ); ?>" /> 
     349<label class="screen-reader-text" for="post_name"><?php _e('Page Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( $post->post_name ); ?>" /> 
    350350<?php 
    351351} 
    352352add_meta_box('pageslugdiv', __('Page Slug'), 'page_slug_meta_box', 'page', 'normal', 'core'); 
     
    368368                if ( $post->post_author && !in_array($post->post_author, $authors) ) 
    369369                        $authors[] = $post->post_author; 
    370370?> 
    371 <label class="invisible" for="post_author_override"><?php _e('Page Author'); ?></label><?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?> 
     371<label class="screen-reader-text" for="post_author_override"><?php _e('Page Author'); ?></label><?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?> 
    372372<?php 
    373373        } 
    374374        add_meta_box('pageauthordiv', __('Page Author'), 'page_author_meta_box', 'page', 'normal', 'core'); 
     
    435435<div id="post-body-content"> 
    436436<div id="titlediv"> 
    437437<div id="titlewrap"> 
    438         <label class="invisible" for="title"><?php _e('Title') ?></label> 
     438        <label class="screen-reader-text" for="title"><?php _e('Title') ?></label> 
    439439        <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo esc_attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" /> 
    440440</div> 
    441441<div class="inside"> 
  • wp-admin/options-general.php

     
    8383</tr> 
    8484<tr valign="top"> 
    8585<th scope="row"><?php _e('Membership') ?></th> 
    86 <td> <fieldset><legend class="invisible"><span><?php _e('Membership') ?></span></legend><label for="users_can_register"> 
     86<td> <fieldset><legend class="screen-reader-text"><span><?php _e('Membership') ?></span></legend><label for="users_can_register"> 
    8787<input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked('1', get_option('users_can_register')); ?> /> 
    8888<?php _e('Anyone can register') ?></label> 
    8989</fieldset></td> 
     
    197197<tr> 
    198198<th scope="row"><?php _e('Date Format') ?></th> 
    199199<td> 
    200         <fieldset><legend class="invisible"><span><?php _e('Date Format') ?></span></legend> 
     200        <fieldset><legend class="screen-reader-text"><span><?php _e('Date Format') ?></span></legend> 
    201201<?php 
    202202 
    203203        $date_formats = apply_filters( 'date_formats', array( 
     
    230230<tr> 
    231231<th scope="row"><?php _e('Time Format') ?></th> 
    232232<td> 
    233         <fieldset><legend class="invisible"><span><?php _e('Time Format') ?></span></legend> 
     233        <fieldset><legend class="screen-reader-text"><span><?php _e('Time Format') ?></span></legend> 
    234234<?php 
    235235 
    236236        $time_formats = apply_filters( 'time_formats', array( 
  • wp-admin/options-media.php

     
    4141 
    4242<tr valign="top"> 
    4343<th scope="row"><?php _e('Medium size') ?></th> 
    44 <td><fieldset><legend class="invisible"><span><?php _e('Medium size') ?></span></legend> 
     44<td><fieldset><legend class="screen-reader-text"><span><?php _e('Medium size') ?></span></legend> 
    4545<label for="medium_size_w"><?php _e('Max Width'); ?></label> 
    4646<input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" class="small-text" /> 
    4747<label for="medium_size_h"><?php _e('Max Height'); ?></label> 
     
    5151 
    5252<tr valign="top"> 
    5353<th scope="row"><?php _e('Large size') ?></th> 
    54 <td><fieldset><legend class="invisible"><span><?php _e('Large size') ?></span></legend> 
     54<td><fieldset><legend class="screen-reader-text"><span><?php _e('Large size') ?></span></legend> 
    5555<label for="large_size_w"><?php _e('Max Width'); ?></label> 
    5656<input name="large_size_w" type="text" id="large_size_w" value="<?php form_option('large_size_w'); ?>" class="small-text" /> 
    5757<label for="large_size_h"><?php _e('Max Height'); ?></label> 
  • wp-admin/edit-link-form.php

     
    138138<div id="category-adder" class="wp-hidden-children"> 
    139139        <h4><a id="category-add-toggle" href="#category-add"><?php _e( '+ Add New Category' ); ?></a></h4> 
    140140        <p id="link-category-add" class="wp-hidden-child"> 
    141                 <label class="invisible" for="newcat"><?php _e( '+ Add New Category' ); ?></label> 
     141                <label class="screen-reader-text" for="newcat"><?php _e( '+ Add New Category' ); ?></label> 
    142142                <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" aria-required="true" /> 
    143143                <input type="button" id="category-add-submit" class="add:categorychecklist:linkcategorydiv button" value="<?php esc_attr_e( 'Add' ); ?>" /> 
    144144                <?php wp_nonce_field( 'add-link-category', '_ajax_nonce', false ); ?> 
     
    157157 * @param object $link 
    158158 */ 
    159159function link_target_meta_box($link) { ?> 
    160 <fieldset><legend class="invisible"><span><?php _e('Target') ?></span></legend> 
     160<fieldset><legend class="screen-reader-text"><span><?php _e('Target') ?></span></legend> 
    161161<p><label for="link_target_blank" class="selectit"> 
    162162<input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo ( isset( $link->link_target ) && ($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> /> 
    163163<?php _e('<code>_blank</code> - new window or tab.'); ?></label></p> 
     
    192192                        <table cellpadding="3" cellspacing="5" class="form-table"> 
    193193                                <tr> 
    194194                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </th> 
    195                                         <td><fieldset><legend class="invisible"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </span></legend> 
     195                                        <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?> </span></legend> 
    196196                                                <label for="me"> 
    197197                                                <input type="checkbox" name="identity" value="me" id="me" <?php xfn_check('identity', 'me'); ?> /> 
    198198                                                <?php _e('another web address of mine') ?></label> 
     
    200200                                </tr> 
    201201                                <tr> 
    202202                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </th> 
    203                                         <td><fieldset><legend class="invisible"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </span></legend> 
     203                                        <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?> </span></legend> 
    204204                                                <label for="contact"> 
    205205                                                <input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check('friendship', 'contact', 'radio'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('contact') ?></label> 
    206206                                                <label for="acquaintance"> 
     
    213213                                </tr> 
    214214                                <tr> 
    215215                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </th> 
    216                                         <td><fieldset><legend class="invisible"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </span></legend> 
     216                                        <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </span></legend> 
    217217                                                <label for="met"> 
    218218                                                <input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check('physical', 'met'); ?> /> 
    219219                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('met') ?></label> 
     
    221221                                </tr> 
    222222                                <tr> 
    223223                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </th> 
    224                                         <td><fieldset><legend class="invisible"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </span></legend> 
     224                                        <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </span></legend> 
    225225                                                <label for="co-worker"> 
    226226                                                <input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check('professional', 'co-worker'); ?> /> 
    227227                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-worker') ?></label> 
     
    232232                                </tr> 
    233233                                <tr> 
    234234                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </th> 
    235                                         <td><fieldset><legend class="invisible"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </span></legend> 
     235                                        <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </span></legend> 
    236236                                                <label for="co-resident"> 
    237237                                                <input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check('geographical', 'co-resident', 'radio'); ?> /> 
    238238                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-resident') ?></label> 
     
    246246                                </tr> 
    247247                                <tr> 
    248248                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </th> 
    249                                         <td><fieldset><legend class="invisible"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </span></legend> 
     249                                        <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </span></legend> 
    250250                                                <label for="child"> 
    251251                                                <input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check('family', 'child', 'radio'); ?>  /> 
    252252                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('child') ?></label> 
     
    269269                                </tr> 
    270270                                <tr> 
    271271                                        <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </th> 
    272                                         <td><fieldset><legend class="invisible"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </span></legend> 
     272                                        <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </span></legend> 
    273273                                                <label for="muse"> 
    274274                                                <input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check('romantic', 'muse'); ?> /> 
    275275                                                <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('muse') ?></label> 
  • wp-admin/upload.php

     
    209209 
    210210<form class="search-form" action="" method="get"> 
    211211<p class="search-box"> 
    212         <label class="invisible" for="media-search-input"><?php _e( 'Search Media' ); ?>:</label> 
     212        <label class="screen-reader-text" for="media-search-input"><?php _e( 'Search Media' ); ?>:</label> 
    213213        <input type="text" id="media-search-input" name="s" value="<?php the_search_query(); ?>" /> 
    214214        <input type="submit" value="<?php esc_attr_e( 'Search Media' ); ?>" class="button" /> 
    215215</p> 
  • wp-admin/edit-form-advanced.php

     
    282282        <textarea name="<?php echo "tax_input[$tax_name]"; ?>" class="the-tags" id="tax-input[<?php echo $tax_name; ?>]"><?php echo esc_attr(get_terms_to_edit( $post->ID, $tax_name )); ?></textarea></div> 
    283283 
    284284        <span class="ajaxtag hide-if-no-js"> 
    285                 <label class="invisible" for="new-tag-<?php echo $tax_name; ?>"><?php echo $box['title']; ?></label> 
     285                <label class="screen-reader-text" for="new-tag-<?php echo $tax_name; ?>"><?php echo $box['title']; ?></label> 
    286286                <input type="text" id="new-tag-<?php echo $tax_name; ?>" name="newtag[<?php echo $tax_name; ?>]" class="newtag form-input-tip" size="16" autocomplete="off" value="<?php esc_attr_e('Add new tag'); ?>" /> 
    287287                <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" tabindex="3" /> 
    288288        </span></div> 
     
    333333<div id="category-adder" class="wp-hidden-children"> 
    334334        <h4><a id="category-add-toggle" href="#category-add" class="hide-if-no-js" tabindex="3"><?php _e( '+ Add New Category' ); ?></a></h4> 
    335335        <p id="category-add" class="wp-hidden-child"> 
    336         <label class="invisible" for="newcat"><?php _e( 'Add New Category' ); ?></label><input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" tabindex="3" aria-required="true"/> 
    337         <label class="invisible" for="newcat_parent"><?php _e('Parent category'); ?>:</label><?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?> 
     336        <label class="screen-reader-text" for="newcat"><?php _e( 'Add New Category' ); ?></label><input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" tabindex="3" aria-required="true"/> 
     337        <label class="screen-reader-text" for="newcat_parent"><?php _e('Parent category'); ?>:</label><?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?> 
    338338        <input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php esc_attr_e( 'Add' ); ?>" tabindex="3" /> 
    339339<?php   wp_nonce_field( 'add-category', '_ajax_nonce', false ); ?> 
    340340        <span id="category-ajax-response"></span></p> 
     
    356356?> 
    357357<p><label for="post_status_private" class="selectit"><input id="post_status_private" name="post_status" type="checkbox" value="private" <?php checked($post->post_status, 'private'); ?> tabindex="4" /> <?php _e('Keep this post private') ?></label></p> 
    358358<h4><?php _e( 'Post Password' ); ?></h4> 
    359 <p><label class="invisible" for="post_password"><?php _e('Password Protect This Post') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php the_post_password(); ?>" /></p> 
     359<p><label class="screen-reader-text" for="post_password"><?php _e('Password Protect This Post') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php the_post_password(); ?>" /></p> 
    360360<p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this post and its comments.'); ?></p> 
    361361<?php 
    362362} 
     
    371371 */ 
    372372function post_excerpt_meta_box($post) { 
    373373?> 
    374 <label class="invisible" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt ?></textarea> 
     374<label class="screen-reader-text" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" tabindex="6" id="excerpt"><?php echo $post->post_excerpt ?></textarea> 
    375375<p><?php _e('Excerpts are optional hand-crafted summaries of your content that can be used in your theme. <a href="http://codex.wordpress.org/Excerpt" target="_blank">Learn more about manual excerpts.</a>'); ?></p> 
    376376<?php 
    377377} 
     
    492492 */ 
    493493function post_slug_meta_box($post) { 
    494494?> 
    495 <label class="invisible" for="post_name"><?php _e('Post Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( $post->post_name ); ?>" /> 
     495<label class="screen-reader-text" for="post_name"><?php _e('Post Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( $post->post_name ); ?>" /> 
    496496<?php 
    497497} 
    498498if ( !( 'pending' == $post->post_status && !current_user_can( 'publish_posts' ) ) ) 
     
    515515        if ( $post->post_author && !in_array($post->post_author, $authors) ) 
    516516                $authors[] = $post->post_author; 
    517517?> 
    518 <label class="invisible" for="post_author_override"><?php _e('Post Author'); ?></label><?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?> 
     518<label class="screen-reader-text" for="post_author_override"><?php _e('Post Author'); ?></label><?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?> 
    519519<?php 
    520520} 
    521521add_meta_box('authordiv', __('Post Author'), 'post_author_meta_box', 'post', 'normal', 'core'); 
     
    591591<div id="post-body-content"> 
    592592<div id="titlediv"> 
    593593<div id="titlewrap"> 
    594         <label class="invisible" for="title"><?php _e('Title') ?></label> 
     594        <label class="screen-reader-text" for="title"><?php _e('Title') ?></label> 
    595595        <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo esc_attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" /> 
    596596</div> 
    597597<div class="inside"> 
  • wp-admin/options-discussion.php

     
    2525<table class="form-table"> 
    2626<tr valign="top"> 
    2727<th scope="row"><?php _e('Default article settings') ?></th> 
    28 <td><fieldset><legend class="invisible"><span><?php _e('Default article settings') ?></span></legend> 
     28<td><fieldset><legend class="screen-reader-text"><span><?php _e('Default article settings') ?></span></legend> 
    2929<label for="default_pingback_flag"> 
    3030<input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_option('default_pingback_flag')); ?> /> 
    3131<?php _e('Attempt to notify any blogs linked to from the article (slows down posting.)') ?></label> 
     
    4343</tr> 
    4444<tr valign="top"> 
    4545<th scope="row"><?php _e('Other comment settings') ?></th> 
    46 <td><fieldset><legend class="invisible"><span><?php _e('Other comment settings') ?></span></legend> 
     46<td><fieldset><legend class="screen-reader-text"><span><?php _e('Other comment settings') ?></span></legend> 
    4747<label for="require_name_email"><input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_option('require_name_email')); ?> /> <?php _e('Comment author must fill out name and e-mail') ?></label> 
    4848<br /> 
    4949<label for="comment_registration"> 
     
    102102</tr> 
    103103<tr valign="top"> 
    104104<th scope="row"><?php _e('E-mail me whenever') ?></th> 
    105 <td><fieldset><legend class="invisible"><span><?php _e('E-mail me whenever') ?></span></legend> 
     105<td><fieldset><legend class="screen-reader-text"><span><?php _e('E-mail me whenever') ?></span></legend> 
    106106<label for="comments_notify"> 
    107107<input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_option('comments_notify')); ?> /> 
    108108<?php _e('Anyone posts a comment') ?> </label> 
     
    114114</tr> 
    115115<tr valign="top"> 
    116116<th scope="row"><?php _e('Before a comment appears') ?></th> 
    117 <td><fieldset><legend class="invisible"><span><?php _e('Before a comment appears') ?></span></legend> 
     117<td><fieldset><legend class="screen-reader-text"><span><?php _e('Before a comment appears') ?></span></legend> 
    118118<label for="comment_moderation"> 
    119119<input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_option('comment_moderation')); ?> /> 
    120120<?php _e('An administrator must always approve the comment') ?> </label> 
     
    124124</tr> 
    125125<tr valign="top"> 
    126126<th scope="row"><?php _e('Comment Moderation') ?></th> 
    127 <td><fieldset><legend class="invisible"><span><?php _e('Comment Moderation') ?></span></legend> 
     127<td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Moderation') ?></span></legend> 
    128128<p><label for="comment_max_links"><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" value="' . esc_attr(get_option('comment_max_links')) . '" class="small-text" />' ) ?></label></p> 
    129129 
    130130<p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so &#8220;press&#8221; will match &#8220;WordPress&#8221;.') ?></label></p> 
     
    135135</tr> 
    136136<tr valign="top"> 
    137137<th scope="row"><?php _e('Comment Blacklist') ?></th> 
    138 <td><fieldset><legend class="invisible"><span><?php _e('Comment Blacklist') ?></span></legend> 
     138<td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Blacklist') ?></span></legend> 
    139139<p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be marked as spam. One word or IP per line. It will match inside words, so &#8220;press&#8221; will match &#8220;WordPress&#8221;.') ?></label></p> 
    140140<p> 
    141141<textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php form_option('blacklist_keys'); ?></textarea> 
     
    154154<table class="form-table"> 
    155155<tr valign="top"> 
    156156<th scope="row"><?php _e('Avatar Display') ?></th> 
    157 <td><fieldset><legend class="invisible"><span><?php _e('Avatar display') ?></span></legend> 
     157<td><fieldset><legend class="screen-reader-text"><span><?php _e('Avatar display') ?></span></legend> 
    158158<?php 
    159159        $yesorno = array(0 => __("Don&#8217;t show Avatars"), 1 => __('Show Avatars')); 
    160160        foreach ( $yesorno as $key => $value) { 
     
    166166</tr> 
    167167<tr valign="top"> 
    168168<th scope="row"><?php _e('Maximum Rating') ?></th> 
    169 <td><fieldset><legend class="invisible"><span><?php _e('Maximum Rating') ?></span></legend> 
     169<td><fieldset><legend class="screen-reader-text"><span><?php _e('Maximum Rating') ?></span></legend> 
    170170 
    171171<?php 
    172172$ratings = array( 'G' => __('G &#8212; Suitable for all audiences'), 'PG' => __('PG &#8212; Possibly offensive, usually for audiences 13 and above'), 'R' => __('R &#8212; Intended for adult audiences above 17'), 'X' => __('X &#8212; Even more mature than above')); 
     
    180180</tr> 
    181181<tr valign="top"> 
    182182<th scope="row"><?php _e('Default Avatar') ?></th> 
    183 <td class="defaultavatarpicker"><fieldset><legend class="invisible"><span><?php _e('Default Avatar') ?></span></legend> 
     183<td class="defaultavatarpicker"><fieldset><legend class="screen-reader-text"><span><?php _e('Default Avatar') ?></span></legend> 
    184184 
    185185<?php _e('For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their e-mail address.'); ?><br /> 
    186186 
  • wp-admin/plugins.php

     
    422422 
    423423<form method="get" action=""> 
    424424<p class="search-box"> 
    425         <label class="invisible" for="plugin-search-input"><?php _e( 'Search Plugins' ); ?>:</label> 
     425        <label class="screen-reader-text" for="plugin-search-input"><?php _e( 'Search Plugins' ); ?>:</label> 
    426426        <input type="text" id="plugin-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 
    427427        <input type="submit" value="<?php esc_attr_e( 'Search Plugins' ); ?>" class="button" /> 
    428428</p> 
  • wp-admin/edit.php

     
    164164</ul> 
    165165 
    166166<p class="search-box"> 
    167         <label class="invisible" for="post-search-input"><?php _e( 'Search Posts' ); ?>:</label> 
     167        <label class="screen-reader-text" for="post-search-input"><?php _e( 'Search Posts' ); ?>:</label> 
    168168        <input type="text" id="post-search-input" name="s" value="<?php the_search_query(); ?>" /> 
    169169        <input type="submit" value="<?php esc_attr_e( 'Search Posts' ); ?>" class="button" /> 
    170170</p> 
  • wp-admin/user-edit.php

     
    209209<?php if (count($_wp_admin_css_colors) > 1 ) : ?> 
    210210<tr> 
    211211<th scope="row"><?php _e('Admin Color Scheme')?></th> 
    212 <td><fieldset><legend class="invisible"><span><?php _e('Admin Color Scheme')?></span></legend> 
     212<td><fieldset><legend class="screen-reader-text"><span><?php _e('Admin Color Scheme')?></span></legend> 
    213213<?php 
    214214$current_color = get_user_option('admin_color', $user_id); 
    215215if ( empty($current_color) ) 
  • wp-admin/press-this.php

     
    481481                                        <div id="category-adder" class="wp-hidden-children"> 
    482482                                                <a id="category-add-toggle" href="#category-add" class="hide-if-no-js" tabindex="3"><?php _e( '+ Add New Category' ); ?></a> 
    483483                                                <p id="category-add" class="wp-hidden-child"> 
    484                                                         <label class="invisible" for="newcat"><?php _e( 'Add New Category' ); ?></label><input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" tabindex="3" aria-required="true"/> 
    485                                                         <label class="invisible" for="newcat_parent"><?php _e('Parent category'); ?>:</label><?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?> 
     484                                                        <label class="screen-reader-text" for="newcat"><?php _e( 'Add New Category' ); ?></label><input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" tabindex="3" aria-required="true"/> 
     485                                                        <label class="screen-reader-text" for="newcat_parent"><?php _e('Parent category'); ?>:</label><?php wp_dropdown_categories( array( 'hide_empty' => 0, 'name' => 'newcat_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => __('Parent category'), 'tab_index' => 3 ) ); ?> 
    486486                                                        <input type="button" id="category-add-sumbit" class="add:categorychecklist:category-add button" value="<?php esc_attr_e( 'Add' ); ?>" tabindex="3" /> 
    487487                                                        <?php wp_nonce_field( 'add-category', '_ajax_nonce', false ); ?> 
    488488                                                        <span id="category-ajax-response"></span> 
     
    496496                                <div class="inside"> 
    497497                                        <div class="tagsdiv" id="post_tag"> 
    498498                                                <p class="jaxtag"> 
    499                                                         <label class="invisible" for="newtag"><?php _e('Post Tags'); ?></label> 
     499                                                        <label class="screen-reader-text" for="newtag"><?php _e('Post Tags'); ?></label> 
    500500                                                        <input type="hidden" name="tax_input[post_tag]" class="the-tags" id="tax-input[post_tag]" value="" /> 
    501501                                                        <span class="ajaxtag" style="display:none;"> 
    502502                                                                <input type="text" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="<?php esc_attr_e('Add new tag'); ?>" /> 
  • wp-admin/options-reading.php

     
    2626<?php if ( get_pages() ): ?> 
    2727<tr valign="top"> 
    2828<th scope="row"><?php _e('Front page displays')?></th> 
    29 <td><fieldset><legend class="invisible"><span><?php _e('Front page displays')?></span></legend> 
     29<td><fieldset><legend class="screen-reader-text"><span><?php _e('Front page displays')?></span></legend> 
    3030        <p><label> 
    3131                <input name="show_on_front" type="radio" value="posts" class="tog" <?php checked('posts', get_option('show_on_front')); ?> /> 
    3232                <?php _e('Your latest posts'); ?> 
     
    6363</tr> 
    6464<tr valign="top"> 
    6565<th scope="row"><?php _e('For each article in a feed, show') ?> </th> 
    66 <td><fieldset><legend class="invisible"><span><?php _e('For each article in a feed, show') ?> </span></legend> 
     66<td><fieldset><legend class="screen-reader-text"><span><?php _e('For each article in a feed, show') ?> </span></legend> 
    6767<p><label><input name="rss_use_excerpt"  type="radio" value="0" <?php checked(0, get_option('rss_use_excerpt')); ?>     /> <?php _e('Full text') ?></label><br /> 
    6868<label><input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_option('rss_use_excerpt')); ?> /> <?php _e('Summary') ?></label></p> 
    6969</fieldset></td> 
  • wp-admin/css/global.css

     
    186186} 
    187187 
    188188/* Hide visually but not from screen readers */ 
    189 .invisible, 
    190 .invisible span { 
     189.screen-reader-text, 
     190.screen-reader-text span { 
    191191        position: absolute; 
    192192        left: -1000em; 
    193193        height: 1px; 
  • wp-admin/link-manager.php

     
    8888 
    8989<form class="search-form" action="" method="get"> 
    9090<p class="search-box"> 
    91         <label class="invisible" for="link-search-input"><?php _e( 'Search Links' ); ?>:</label> 
     91        <label class="screen-reader-text" for="link-search-input"><?php _e( 'Search Links' ); ?>:</label> 
    9292        <input type="text" id="link-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 
    9393        <input type="submit" value="<?php esc_attr_e( 'Search Links' ); ?>" class="button" /> 
    9494</p> 
  • wp-admin/options-writing.php

     
    3030</tr> 
    3131<tr valign="top"> 
    3232<th scope="row"><?php _e('Formatting') ?></th> 
    33 <td><fieldset><legend class="invisible"><span><?php _e('Formatting') ?></span></legend> 
     33<td><fieldset><legend class="screen-reader-text"><span><?php _e('Formatting') ?></span></legend> 
    3434<label for="use_smilies"> 
    3535<input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked('1', get_option('use_smilies')); ?> /> 
    3636<?php _e('Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display') ?></label><br /> 
     
    6161<table class="form-table"> 
    6262<tr valign="top"> 
    6363<th scope="row"><?php _e('Atom Publishing Protocol') ?></th> 
    64 <td><fieldset><legend class="invisible"><span><?php _e('Atom Publishing Protocol') ?></span></legend> 
     64<td><fieldset><legend class="screen-reader-text"><span><?php _e('Atom Publishing Protocol') ?></span></legend> 
    6565<label for="enable_app"> 
    6666<input name="enable_app" type="checkbox" id="enable_app" value="1" <?php checked('1', get_option('enable_app')); ?> /> 
    6767<?php _e('Enable the Atom Publishing Protocol.') ?></label><br /> 
     
    6969</tr> 
    7070<tr valign="top"> 
    7171<th scope="row"><?php _e('XML-RPC') ?></th> 
    72 <td><fieldset><legend class="invisible"><span><?php _e('XML-RPC') ?></span></legend> 
     72<td><fieldset><legend class="screen-reader-text"><span><?php _e('XML-RPC') ?></span></legend> 
    7373<label for="enable_xmlrpc"> 
    7474<input name="enable_xmlrpc" type="checkbox" id="enable_xmlrpc" value="1" <?php checked('1', get_option('enable_xmlrpc')); ?> /> 
    7575<?php _e('Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.') ?></label><br /> 
  • wp-admin/edit-pages.php

     
    169169</ul> 
    170170 
    171171<p class="search-box"> 
    172         <label class="invisible" for="page-search-input"><?php _e( 'Search Pages' ); ?>:</label> 
     172        <label class="screen-reader-text" for="page-search-input"><?php _e( 'Search Pages' ); ?>:</label> 
    173173        <input type="text" id="page-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 
    174174        <input type="submit" value="<?php esc_attr_e( 'Search Pages' ); ?>" class="button" /> 
    175175</p> 
  • wp-admin/categories.php

     
    142142 
    143143<form class="search-form topmargin" action="" method="get"> 
    144144<p class="search-box"> 
    145         <label class="invisible" for="category-search-input"><?php _e('Search Categories'); ?>:</label> 
     145        <label class="screen-reader-text" for="category-search-input"><?php _e('Search Categories'); ?>:</label> 
    146146        <input type="text" id="category-search-input" name="s" value="<?php _admin_search_query(); ?>" /> 
    147147        <input type="submit" value="<?php esc_attr_e( 'Search Categories' ); ?>" class="button" /> 
    148148</p>