Make WordPress Core

Ticket #29748: 29748-wp-admin.patch

File 29748-wp-admin.patch, 117.0 KB (added by mercime, 9 years ago)

wp-admin - refreshed translator comments

  • src/wp-admin/custom-background.php

     
    294294<?php if ( get_background_image() ) : ?>
    295295<tr>
    296296<th scope="row"><?php _e( 'Position' ); ?></th>
    297 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Position' ); ?></span></legend>
     297<td><fieldset><legend class="screen-reader-text"><span><?php
     298        /* translators: accessibility text */
     299        _e( 'Background Position' );
     300?></span></legend>
    298301<label>
    299302<input name="background-position-x" type="radio" value="left"<?php checked( 'left', get_theme_mod( 'background_position_x', get_theme_support( 'custom-background', 'default-position-x' ) ) ); ?> />
    300303<?php _e('Left') ?>
     
    312315
    313316<tr>
    314317<th scope="row"><?php _e( 'Repeat' ); ?></th>
    315 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Repeat' ); ?></span></legend>
     318<td><fieldset><legend class="screen-reader-text"><span><?php
     319        /* translators: accessibility text */
     320        _e( 'Background Repeat' );
     321?></span></legend>
    316322<label><input type="radio" name="background-repeat" value="no-repeat"<?php checked( 'no-repeat', get_theme_mod( 'background_repeat', get_theme_support( 'custom-background', 'default-repeat' ) ) ); ?> /> <?php _e('No Repeat'); ?></label>
    317323        <label><input type="radio" name="background-repeat" value="repeat"<?php checked( 'repeat', get_theme_mod( 'background_repeat', get_theme_support( 'custom-background', 'default-repeat' ) ) ); ?> /> <?php _e('Tile'); ?></label>
    318324        <label><input type="radio" name="background-repeat" value="repeat-x"<?php checked( 'repeat-x', get_theme_mod( 'background_repeat', get_theme_support( 'custom-background', 'default-repeat' ) ) ); ?> /> <?php _e('Tile Horizontally'); ?></label>
     
    322328
    323329<tr>
    324330<th scope="row"><?php _ex( 'Attachment', 'Background Attachment' ); ?></th>
    325 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Attachment' ); ?></span></legend>
     331<td><fieldset><legend class="screen-reader-text"><span><?php
     332        /* translators: accessibility text */
     333        _e( 'Background Attachment' );
     334?></span></legend>
    326335<label>
    327336<input name="background-attachment" type="radio" value="scroll" <?php checked( 'scroll', get_theme_mod( 'background_attachment', get_theme_support( 'custom-background', 'default-attachment' ) ) ); ?> />
    328337<?php _e( 'Scroll' ); ?>
     
    336345<?php endif; // get_background_image() ?>
    337346<tr>
    338347<th scope="row"><?php _e( 'Background Color' ); ?></th>
    339 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Color' ); ?></span></legend>
     348<td><fieldset><legend class="screen-reader-text"><span><?php
     349        /* translators: accessibility text */
     350        _e( 'Background Color' );
     351?></span></legend>
    340352<?php
    341353$default_color = '';
    342354if ( current_theme_supports( 'custom-background', 'default-color' ) )
  • src/wp-admin/customize.php

     
    123123                                <span class="preview"><?php _e( 'Preview' ); ?></span>
    124124                        </button>
    125125                        <a class="customize-controls-close" href="<?php echo esc_url( $wp_customize->get_return_url() ); ?>">
    126                                 <span class="screen-reader-text"><?php _e( 'Close the Customizer and go back to the previous page' ); ?></span>
     126                                <span class="screen-reader-text"><?php
     127                                        /* translators: accessibility text */
     128                                        _e( 'Close the Customizer and go back to the previous page' );
     129                                ?></span>
    127130                        </a>
    128131                </div>
    129132
     
    134137                                        <span class="preview-notice"><?php
    135138                                                echo sprintf( __( 'You are customizing %s' ), '<strong class="panel-title site-title">' . get_bloginfo( 'name' ) . '</strong>' );
    136139                                        ?></span>
    137                                         <button type="button" class="customize-help-toggle dashicons dashicons-editor-help" aria-expanded="false"><span class="screen-reader-text"><?php _e( 'Help' ); ?></span></button>
     140                                        <button type="button" class="customize-help-toggle dashicons dashicons-editor-help" aria-expanded="false"><span class="screen-reader-text"><?php
     141                                                /* translators: accessibility text */
     142                                                _e( 'Help' );
     143                                        ?></span></button>
    138144                                </div>
    139145                                <div class="customize-panel-description"><?php
    140146                                        _e( 'The Customizer allows you to preview changes to your site before publishing them. You can also navigate to different pages on your site to preview them.' );
     
    163169                                        }
    164170                                        ?>
    165171                                        <button type="button" class="<?php echo esc_attr( $class ); ?>" aria-pressed="<?php echo esc_attr( $active ) ?>" data-device="<?php echo esc_attr( $device ); ?>">
    166                                                 <span class="screen-reader-text"><?php echo esc_html( $settings['label'] ); ?></span>
     172                                                <span class="screen-reader-text"><?php
     173                                                        /* translators: accessibility text */
     174                                                        echo esc_html( $settings['label'] );
     175                                                ?></span>
    167176                                        </button>
    168177                                <?php endforeach; ?>
    169178                        </div>
  • src/wp-admin/edit-form-advanced.php

     
    552552         */
    553553        $title_placeholder = apply_filters( 'enter_title_here', __( 'Enter title here' ), $post );
    554554        ?>
    555         <label class="screen-reader-text" id="title-prompt-text" for="title"><?php echo $title_placeholder; ?></label>
     555        <label class="screen-reader-text" id="title-prompt-text" for="title"><?php
     556                /* translators: accessibility text */
     557                echo $title_placeholder;
     558        ?></label>
    556559        <input type="text" name="post_title" size="30" value="<?php echo esc_attr( $post->post_title ); ?>" id="title" spellcheck="true" autocomplete="off" />
    557560</div>
    558561<?php
  • src/wp-admin/edit-form-comment.php

     
    6464
    6565<div id="postdiv" class="postarea">
    6666<?php
     67        /* translators: accessibility text */
    6768        echo '<label for="content" class="screen-reader-text">' . __( 'Comment' ) . '</label>';
    6869        $quicktags_settings = array( 'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close' );
    6970        wp_editor( $comment->comment_content, 'content', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings ) );
     
    8182<div id="misc-publishing-actions">
    8283
    8384<fieldset class="misc-pub-section misc-pub-comment-status" id="comment-status-radio">
    84 <legend class="screen-reader-text"><?php _e( 'Comment status' ); ?></legend>
     85<legend class="screen-reader-text"><?php
     86        /* translators: accessibility text */
     87        _e( 'Comment status' );
     88?></legend>
    8589<label><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php _ex( 'Approved', 'comment status' ); ?></label><br />
    8690<label><input type="radio"<?php checked( $comment->comment_approved, '0' ); ?> name="comment_status" value="0" /><?php _ex( 'Pending', 'comment status' ); ?></label><br />
    8791<label><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php _ex( 'Spam', 'comment status' ); ?></label>
     
    99103        '<b>' . date_i18n( $datef, strtotime( $comment->comment_date ) ) . '</b>'
    100104);
    101105?></span>
    102 <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit date and time' ); ?></span></a>
     106<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php
     107        /* translators: accessibility text */
     108        _e( 'Edit date and time' );
     109?></span></a>
    103110<fieldset id='timestampdiv' class='hide-if-js'>
    104 <legend class="screen-reader-text"><?php _e( 'Date and time' ); ?></legend>
     111<legend class="screen-reader-text"><?php
     112        /* translators: accessibility text */
     113        _e( 'Date and time' );
     114?></legend>
    105115<?php touch_time( ( 'editcomment' === $action ), 0 ); ?>
    106116</fieldset>
    107117</div>
  • src/wp-admin/export.php

     
    161161<h2><?php _e( 'Choose what to export' ); ?></h2>
    162162<form method="get" id="export-filters">
    163163<fieldset>
    164 <legend class="screen-reader-text"><?php _e( 'Content to export' ); ?></legend>
     164<legend class="screen-reader-text"><?php
     165        /* translators: accessibility text */
     166        _e( 'Content to export' );
     167?></legend>
    165168<input type="hidden" name="download" value="true" />
    166169<p><label><input type="radio" name="content" value="all" checked="checked" aria-describedby="all-content-desc" /> <?php _e( 'All content' ); ?></label></p>
    167170<p class="description" id="all-content-desc"><?php _e( 'This will contain all of your posts, pages, comments, custom fields, terms, navigation menus, and custom posts.' ); ?></p>
     
    188191        </li>
    189192        <li>
    190193                <fieldset>
    191                 <legend class="screen-reader-text"><?php _e( 'Date range:' ); ?></legend>
     194                <legend class="screen-reader-text"><?php
     195                        /* translators: accessibility text */
     196                        _e( 'Date range:' );
     197                ?></legend>
    192198                <label for="post-start-date" class="label-responsive"><?php _e( 'Start date:' ); ?></label>
    193199                <select name="post_start_date" id="post-start-date">
    194200                        <option value="0"><?php _e( '&mdash; Select &mdash;' ); ?></option>
     
    230236        </li>
    231237        <li>
    232238                <fieldset>
    233                 <legend class="screen-reader-text"><?php _e( 'Date range:' ); ?></legend>
     239                <legend class="screen-reader-text"><?php
     240                        /* translators: accessibility text */
     241                        _e( 'Date range:' );
     242                ?></legend>
    234243                <label for="page-start-date" class="label-responsive"><?php _e( 'Start date:' ); ?></label>
    235244                <select name="page_start_date" id="page-start-date">
    236245                        <option value="0"><?php _e( '&mdash; Select &mdash;' ); ?></option>
     
    262271<ul id="attachment-filters" class="export-filters">
    263272        <li>
    264273                <fieldset>
    265                 <legend class="screen-reader-text"><?php _e( 'Date range:' ); ?></legend>
     274                <legend class="screen-reader-text"><?php
     275                        /* translators: accessibility text */
     276                        _e( 'Date range:' );
     277                ?></legend>
    266278                <label for="attachment-start-date" class="label-responsive"><?php _e( 'Start date:' ); ?></label>
    267279                <select name="attachment_start_date" id="attachment-start-date">
    268280                        <option value="0"><?php _e( '&mdash; Select &mdash;' ); ?></option>
  • src/wp-admin/includes/class-theme-installer-skin.php

     
    6464                $install_actions = array();
    6565
    6666                if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) {
    67                         $install_actions['preview'] = '<a href="' . wp_customize_url( $stylesheet ) . '" class="hide-if-no-customize load-customize"><span aria-hidden="true">' . __( 'Live Preview' ) . '</span><span class="screen-reader-text">' . sprintf( __( 'Live Preview &#8220;%s&#8221;' ), $name ) . '</span></a>';
     67                        $install_actions['preview'] = '<a href="' . wp_customize_url( $stylesheet ) . '" class="hide-if-no-customize load-customize"><span aria-hidden="true">' . __( 'Live Preview' ) . '</span><span class="screen-reader-text">' . sprintf(
     68                                /* translators: accessibility text */
     69                                __( 'Live Preview &#8220;%s&#8221;' ), $name ) . '</span></a>';
    6870                }
    69                 $install_actions['activate'] = '<a href="' . esc_url( $activate_link ) . '" class="activatelink"><span aria-hidden="true">' . __( 'Activate' ) . '</span><span class="screen-reader-text">' . sprintf( __( 'Activate &#8220;%s&#8221;' ), $name ) . '</span></a>';
     71                $install_actions['activate'] = '<a href="' . esc_url( $activate_link ) . '" class="activatelink"><span aria-hidden="true">' . __( 'Activate' ) . '</span><span class="screen-reader-text">' . sprintf(
     72                        /* translators: accessibility text */
     73                        __( 'Activate &#8220;%s&#8221;' ), $name ) . '</span></a>';
    7074
    7175                if ( is_network_admin() && current_user_can( 'manage_network_themes' ) )
    7276                        $install_actions['network_enable'] = '<a href="' . esc_url( wp_nonce_url( 'themes.php?action=enable&amp;theme=' . urlencode( $stylesheet ), 'enable-theme_' . $stylesheet ) ) . '" target="_parent">' . __( 'Network Enable' ) . '</a>';
  • src/wp-admin/includes/class-theme-upgrader-skin.php

     
    5050
    5151                        if ( get_stylesheet() == $stylesheet ) {
    5252                                if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) {
    53                                         $update_actions['preview']  = '<a href="' . wp_customize_url( $stylesheet ) . '" class="hide-if-no-customize load-customize"><span aria-hidden="true">' . __( 'Customize' ) . '</span><span class="screen-reader-text">' . sprintf( __( 'Customize &#8220;%s&#8221;' ), $name ) . '</span></a>';
     53                                        $update_actions['preview']  = '<a href="' . wp_customize_url( $stylesheet ) . '" class="hide-if-no-customize load-customize"><span aria-hidden="true">' . __( 'Customize' ) . '</span><span class="screen-reader-text">' . sprintf(
     54                                                /* translators: accessibility text */
     55                                                __( 'Customize &#8220;%s&#8221;' ), $name ) . '</span></a>';
    5456                                }
    5557                        } elseif ( current_user_can( 'switch_themes' ) ) {
    5658                                if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) {
    57                                         $update_actions['preview'] = '<a href="' . wp_customize_url( $stylesheet ) . '" class="hide-if-no-customize load-customize"><span aria-hidden="true">' . __( 'Live Preview' ) . '</span><span class="screen-reader-text">' . sprintf( __( 'Live Preview &#8220;%s&#8221;' ), $name ) . '</span></a>';
     59                                        $update_actions['preview'] = '<a href="' . wp_customize_url( $stylesheet ) . '" class="hide-if-no-customize load-customize"><span aria-hidden="true">' . __( 'Live Preview' ) . '</span><span class="screen-reader-text">' . sprintf(
     60                                                /* translators: accessibility text */
     61                                                __( 'Live Preview &#8220;%s&#8221;' ), $name ) . '</span></a>';
    5862                                }
    59                                 $update_actions['activate'] = '<a href="' . esc_url( $activate_link ) . '" class="activatelink"><span aria-hidden="true">' . __( 'Activate' ) . '</span><span class="screen-reader-text">' . sprintf( __( 'Activate &#8220;%s&#8221;' ), $name ) . '</span></a>';
     63                                $update_actions['activate'] = '<a href="' . esc_url( $activate_link ) . '" class="activatelink"><span aria-hidden="true">' . __( 'Activate' ) . '</span><span class="screen-reader-text">' . sprintf(
     64                                        /* translators: accessibility text */
     65                                        __( 'Activate &#8220;%s&#8221;' ), $name ) . '</span></a>';
    6066                        }
    6167
    6268                        if ( ! $this->result || is_wp_error( $this->result ) || is_network_admin() )
  • src/wp-admin/includes/class-wp-comments-list-table.php

     
    324324<?php
    325325                if ( 'top' === $which ) {
    326326?>
    327                         <label class="screen-reader-text" for="filter-by-comment-type"><?php _e( 'Filter by comment type' ); ?></label>
     327                        <label class="screen-reader-text" for="filter-by-comment-type"><?php
     328                                /* translators: accessibility text */
     329                                _e( 'Filter by comment type' );
     330                        ?></label>
    328331                        <select id="filter-by-comment-type" name="comment_type">
    329332                                <option value=""><?php _e( 'All comment types' ); ?></option>
    330333<?php
     
    613616                }
    614617                $out .= '</div>';
    615618
     619                /* translators: accessibility text */
    616620                $out .= '<button type="button" class="toggle-row"><span class="screen-reader-text">' . __( 'Show more details' ) . '</span></button>';
    617621
    618622                return $out;
     
    624628         */
    625629        public function column_cb( $comment ) {
    626630                if ( $this->user_can ) { ?>
    627                 <label class="screen-reader-text" for="cb-select-<?php echo $comment->comment_ID; ?>"><?php _e( 'Select comment' ); ?></label>
     631                <label class="screen-reader-text" for="cb-select-<?php echo $comment->comment_ID; ?>"><?php
     632                        /* translators: accessibility text */
     633                        _e( 'Select comment' );
     634                ?></label>
    628635                <input id="cb-select-<?php echo $comment->comment_ID; ?>" type="checkbox" name="delete_comments[]" value="<?php echo $comment->comment_ID; ?>" />
    629636                <?php
    630637                }
  • src/wp-admin/includes/class-wp-links-list-table.php

     
    110110                                'orderby' => 'name',
    111111                        );
    112112
     113                        /* translators: accessibility text */
    113114                        echo '<label class="screen-reader-text" for="cat_id">' . __( 'Filter by category' ) . '</label>';
    114115                        wp_dropdown_categories( $dropdown_options );
    115116                        submit_button( __( 'Filter' ), 'button', 'filter_action', false, array( 'id' => 'post-query-submit' ) );
     
    169170         */
    170171        public function column_cb( $link ) {
    171172                ?>
    172                 <label class="screen-reader-text" for="cb-select-<?php echo $link->link_id; ?>"><?php echo sprintf( __( 'Select %s' ), $link->link_name ); ?></label>
     173                <label class="screen-reader-text" for="cb-select-<?php echo $link->link_id; ?>"><?php
     174                        /* translators: accessibility text: %s: link name */
     175                        echo sprintf( __( 'Select %s' ), $link->link_name );
     176                ?></label>
    173177                <input type="checkbox" name="linkcheck[]" id="cb-select-<?php echo $link->link_id; ?>" value="<?php echo esc_attr( $link->link_id ); ?>" />
    174178                <?php
    175179        }
  • src/wp-admin/includes/class-wp-list-table.php

     
    359359                        echo '<input type="hidden" name="detached" value="' . esc_attr( $_REQUEST['detached'] ) . '" />';
    360360?>
    361361<p class="search-box">
    362         <label class="screen-reader-text" for="<?php echo $input_id ?>"><?php echo $text; ?>:</label>
     362        <label class="screen-reader-text" for="<?php echo $input_id ?>"><?php
     363                /* translators: accessibility text */
     364                echo $text;
     365        ?>:</label>
    363366        <input type="search" id="<?php echo $input_id ?>" name="s" value="<?php _admin_search_query(); ?>" />
    364367        <?php submit_button( $text, 'button', '', false, array('id' => 'search-submit') ); ?>
    365368</p>
     
    459462                if ( empty( $this->_actions ) )
    460463                        return;
    461464
     465                /* translators: accessibility text */
    462466                echo '<label for="bulk-action-selector-' . esc_attr( $which ) . '" class="screen-reader-text">' . __( 'Select bulk action' ) . '</label>';
    463467                echo '<select name="action' . $two . '" id="bulk-action-selector-' . esc_attr( $which ) . "\">\n";
    464468                echo '<option value="-1">' . __( 'Bulk Actions' ) . "</option>\n";
     
    521525                }
    522526                $out .= '</div>';
    523527
     528                /* translators: accessibility text */
    524529                $out .= '<button type="button" class="toggle-row"><span class="screen-reader-text">' . __( 'Show more details' ) . '</span></button>';
    525530
    526531                return $out;
     
    584589
    585590                $m = isset( $_GET['m'] ) ? (int) $_GET['m'] : 0;
    586591?>
    587                 <label for="filter-by-date" class="screen-reader-text"><?php _e( 'Filter by date' ); ?></label>
     592                <label for="filter-by-date" class="screen-reader-text"><?php
     593                        /* translators: accessibility text */
     594                        _e( 'Filter by date' );
     595                ?></label>
    588596                <select name="m" id="filter-by-date">
    589597                        <option<?php selected( $m, 0 ); ?> value="0"><?php _e( 'All dates' ); ?></option>
    590598<?php
     
    657665
    658666                // No comments at all.
    659667                if ( ! $approved_comments && ! $pending_comments ) {
     668                        /* translators: accessibility text */
    660669                        printf( '<span aria-hidden="true">—</span><span class="screen-reader-text">%s</span>',
    661670                                __( 'No comments' )
    662671                        );
     
    813822
    814823                if ( 'bottom' === $which ) {
    815824                        $html_current_page  = $current;
     825                        /* translators: accessibility text */
    816826                        $total_pages_before = '<span class="screen-reader-text">' . __( 'Current Page' ) . '</span><span id="table-paging" class="paging-input">';
    817827                } else {
    818828                        $html_current_page = sprintf( "%s<input class='current-page' id='current-page-selector' type='text' name='paged' value='%s' size='%d' aria-describedby='table-paging' />",
     
    10671077
    10681078                if ( ! empty( $columns['cb'] ) ) {
    10691079                        static $cb_counter = 1;
     1080                        /* translators: accessibility text */
    10701081                        $columns['cb'] = '<label class="screen-reader-text" for="cb-select-all-' . $cb_counter . '">' . __( 'Select All' ) . '</label>'
    10711082                                . '<input id="cb-select-all-' . $cb_counter . '" type="checkbox" />';
    10721083                        $cb_counter++;
     
    13221333         * @return string The row actions HTML, or an empty string if the current column is the primary column.
    13231334         */
    13241335        protected function handle_row_actions( $item, $column_name, $primary ) {
     1336                /* translators: accessibility text */
    13251337                return $column_name === $primary ? '<button type="button" class="toggle-row"><span class="screen-reader-text">' . __( 'Show more details' ) . '</span></button>' : '';
    13261338        }
    13271339
  • src/wp-admin/includes/class-wp-media-list-table.php

     
    232232        <div class="filter-items">
    233233                <?php $this->view_switcher( $mode ); ?>
    234234
    235                 <label for="attachment-filter" class="screen-reader-text"><?php _e( 'Filter by type' ); ?></label>
     235                <label for="attachment-filter" class="screen-reader-text"><?php
     236                        /* translators: accessibility text */
     237                        _e( 'Filter by type' );
     238                ?></label>
    236239                <select class="attachment-filters" name="attachment-filter" id="attachment-filter">
    237240                        <?php
    238241                        if ( ! empty( $views ) ) {
     
    261264        </div>
    262265
    263266        <div class="search-form">
    264                 <label for="media-search-input" class="screen-reader-text"><?php esc_html_e( 'Search Media' ); ?></label>
     267                <label for="media-search-input" class="screen-reader-text"><?php
     268                        /* translators: accessibility text */
     269                        esc_html_e( 'Search Media' );
     270                ?></label>
    265271                <input type="search" placeholder="<?php esc_attr_e( 'Search' ) ?>" id="media-search-input" class="search" name="s" value="<?php _admin_search_query(); ?>"></div>
    266272        </div>
    267273        <?php
     
    306312                /* translators: column name */
    307313                if ( !$this->detached ) {
    308314                        $posts_columns['parent'] = _x( 'Uploaded to', 'column name' );
    309                         if ( post_type_supports( 'attachment', 'comments' ) )
     315                        if ( post_type_supports( 'attachment', 'comments' ) ) {
     316                                /* translators: accessibility text */
    310317                                $posts_columns['comments'] = '<span class="vers comment-grey-bubble" title="' . esc_attr__( 'Comments' ) . '"><span class="screen-reader-text">' . __( 'Comments' ) . '</span></span>';
     318                        }
    311319                }
    312320                /* translators: column name */
    313321                $posts_columns['date'] = _x( 'Date', 'column name' );
     
    348356        public function column_cb( $post ) {
    349357                if ( current_user_can( 'edit_post', $post->ID ) ) { ?>
    350358                        <label class="screen-reader-text" for="cb-select-<?php echo $post->ID; ?>"><?php
     359                                /* translators: accessibility text: %s: media */
    351360                                echo sprintf( __( 'Select %s' ), _draft_or_post_title() );
    352361                        ?></label>
    353362                        <input type="checkbox" name="media[]" id="cb-select-<?php echo $post->ID; ?>" value="<?php echo $post->ID; ?>" />
     
    392401                        ?>
    393402                </strong>
    394403                <p class="filename">
    395                         <span class="screen-reader-text"><?php _e( 'File name:' ); ?> </span>
     404                        <span class="screen-reader-text"><?php
     405                                /* translators: accessibility text */
     406                                _e( 'File name:' );
     407                        ?></span>
    396408                        <?php
    397409                        $file = get_attached_file( $post->ID );
    398410                        echo wp_basename( $file );
     
    574586                                /* translators: used between list items, there is a space after the comma */
    575587                                echo join( __( ', ' ), $out );
    576588                        } else {
     589                                /* translators: accessibility text */
    577590                                echo '<span aria-hidden="true">&#8212;</span><span class="screen-reader-text">' . get_taxonomy( $taxonomy )->labels->no_terms . '</span>';
    578591                        }
    579592
  • src/wp-admin/includes/class-wp-ms-sites-list-table.php

     
    258258                        $blogname = untrailingslashit( $blog['domain'] . $blog['path'] );
    259259                ?>
    260260                        <label class="screen-reader-text" for="blog_<?php echo $blog['blog_id']; ?>"><?php
     261                                /* translators: accessibility text: %s: site */
    261262                                printf( __( 'Select %s' ), $blogname );
    262263                        ?></label>
    263264                        <input type="checkbox" id="blog_<?php echo $blog['blog_id'] ?>" name="allblogs[]" value="<?php echo esc_attr( $blog['blog_id'] ) ?>" />
  • src/wp-admin/includes/class-wp-ms-themes-list-table.php

     
    357357                $checkbox_id = 'checkbox_' . md5( $theme->get('Name') );
    358358                ?>
    359359                <input type="checkbox" name="checked[]" value="<?php echo esc_attr( $theme->get_stylesheet() ) ?>" id="<?php echo $checkbox_id ?>" />
    360                 <label class="screen-reader-text" for="<?php echo $checkbox_id ?>" ><?php _e( 'Select' ) ?>  <?php echo $theme->display( 'Name' ) ?></label>
     360                <label class="screen-reader-text" for="<?php echo $checkbox_id ?>" ><?php
     361                        /* translators: accessibility text */
     362                        _e( 'Select' );
     363                ?><?php echo $theme->display( 'Name' ) ?></label>
    361364                <?php
    362365        }
    363366
  • src/wp-admin/includes/class-wp-ms-users-list-table.php

     
    208208                        return;
    209209                }
    210210                ?>
    211                 <label class="screen-reader-text" for="blog_<?php echo $user->ID; ?>"><?php echo sprintf( __( 'Select %s' ), $user->user_login ); ?></label>
     211                <label class="screen-reader-text" for="blog_<?php echo $user->ID; ?>"><?php
     212                        /* translators: accessibility text: %s: user */
     213                        echo sprintf( __( 'Select %s' ), $user->user_login );
     214                ?></label>
    212215                <input type="checkbox" id="blog_<?php echo $user->ID ?>" name="allusers[]" value="<?php echo esc_attr( $user->ID ) ?>" />
    213216                <?php
    214217        }
  • src/wp-admin/includes/class-wp-plugins-list-table.php

     
    688688                if ( $restrict_network_active || $restrict_network_only || in_array( $status, array( 'mustuse', 'dropins' ) ) ) {
    689689                        $checkbox = '';
    690690                } else {
    691                         $checkbox = "<label class='screen-reader-text' for='" . $checkbox_id . "' >" . sprintf( __( 'Select %s' ), $plugin_data['Name'] ) . "</label>"
     691                        $checkbox = "<label class='screen-reader-text' for='" . $checkbox_id . "' >" . sprintf(
     692                                        /* translators: accessibility text: %s: plugin */
     693                                        __( 'Select %s' ), $plugin_data['Name'] ) . "</label>"
    692694                                . "<input type='checkbox' name='checked[]' value='" . esc_attr( $plugin_file ) . "' id='" . $checkbox_id . "' />";
    693695                }
    694696                if ( 'dropins' != $context ) {
  • src/wp-admin/includes/class-wp-posts-list-table.php

     
    434434                                        'selected' => $cat
    435435                                );
    436436
     437                                /* translators: accessibility text */
    437438                                echo '<label class="screen-reader-text" for="cat">' . __( 'Filter by category' ) . '</label>';
    438439                                wp_dropdown_categories( $dropdown_options );
    439440                        }
     
    541542
    542543                $post_status = !empty( $_REQUEST['post_status'] ) ? $_REQUEST['post_status'] : 'all';
    543544                if ( post_type_supports( $post_type, 'comments' ) && !in_array( $post_status, array( 'pending', 'draft', 'future' ) ) )
     545                        /* translators: accessibility text */
    544546                        $posts_columns['comments'] = '<span class="vers comment-grey-bubble" title="' . esc_attr__( 'Comments' ) . '"><span class="screen-reader-text">' . __( 'Comments' ) . '</span></span>';
    545547
    546548                $posts_columns['date'] = __( 'Date' );
     
    801803        public function column_cb( $post ) {
    802804                if ( current_user_can( 'edit_post', $post->ID ) ): ?>
    803805                        <label class="screen-reader-text" for="cb-select-<?php the_ID(); ?>"><?php
     806                                /* translators: accessibility text */
    804807                                printf( __( 'Select %s' ), _draft_or_post_title() );
    805808                        ?></label>
    806809                        <input id="cb-select-<?php the_ID(); ?>" type="checkbox" name="post[]" value="<?php the_ID(); ?>" />
     
    10631066                                /* translators: used between list items, there is a space after the comma */
    10641067                                echo join( __( ', ' ), $out );
    10651068                        } else {
     1069                                /* translators: accessibility text */
    10661070                                echo '<span aria-hidden="true">&#8212;</span><span class="screen-reader-text">' . $taxonomy_object->labels->no_terms . '</span>';
    10671071                        }
    10681072                        return;
  • src/wp-admin/includes/class-wp-press-this.php

     
    823823
    824824                                ?>
    825825                                <div id="post-formats-select">
    826                                 <fieldset><legend class="screen-reader-text"><?php _e( 'Post Formats' ); ?></legend>
     826                                <fieldset><legend class="screen-reader-text"><?php
     827                                        /* translators: accessibility text */
     828                                        _e( 'Post Formats' );
     829                                ?></legend>
    827830                                        <input type="radio" name="post_format" class="post-format" id="post-format-0" value="0" <?php checked( $post_format, '0' ); ?> />
    828831                                        <label for="post-format-0" class="post-format-icon post-format-standard"><?php echo get_post_format_string( 'standard' ); ?></label>
    829832                                        <?php
     
    859862                if ( current_user_can( $taxonomy->cap->edit_terms ) ) {
    860863                        ?>
    861864                        <button type="button" class="add-cat-toggle button-link" aria-expanded="false">
    862                                 <span class="dashicons dashicons-plus"></span><span class="screen-reader-text"><?php _e( 'Toggle add category' ); ?></span>
     865                                <span class="dashicons dashicons-plus"></span><span class="screen-reader-text"><?php
     866                                        /* translators: accessibility text */
     867                                        _e( 'Toggle add category' );
     868                                ?></span>
    863869                        </button>
    864870                        <div class="add-category is-hidden">
    865                                 <label class="screen-reader-text" for="new-category"><?php echo $taxonomy->labels->add_new_item; ?></label>
     871                                <label class="screen-reader-text" for="new-category"><?php
     872                                        /* translators: accessibility text */
     873                                        echo $taxonomy->labels->add_new_item;
     874                                ?></label>
    866875                                <input type="text" id="new-category" class="add-category-name" placeholder="<?php echo esc_attr( $taxonomy->labels->new_item_name ); ?>" value="" aria-required="true">
    867                                 <label class="screen-reader-text" for="new-category-parent"><?php echo $taxonomy->labels->parent_item_colon; ?></label>
     876                                <label class="screen-reader-text" for="new-category-parent"><?php
     877                                        /* translators: accessibility text */
     878                                        echo $taxonomy->labels->parent_item_colon;
     879                                ?></label>
    868880                                <div class="postform-wrapper">
    869881                                        <?php
    870882                                        wp_dropdown_categories( array(
     
    886898                <div class="categories-search-wrapper">
    887899                        <input id="categories-search" type="search" class="categories-search" placeholder="<?php esc_attr_e( 'Search categories by name' ) ?>">
    888900                        <label for="categories-search">
    889                                 <span class="dashicons dashicons-search"></span><span class="screen-reader-text"><?php _e( 'Search categories' ); ?></span>
     901                                <span class="dashicons dashicons-search"></span><span class="screen-reader-text"><?php
     902                                        /* translators: accessibility text */
     903                                        _e( 'Search categories' );
     904                                ?></span>
    890905                        </label>
    891906                </div>
    892907                <div aria-label="<?php esc_attr_e( 'Categories' ); ?>">
     
    923938                        if ( $user_can_assign_terms ) {
    924939                                ?>
    925940                                <div class="ajaxtag hide-if-no-js">
    926                                         <label class="screen-reader-text" for="new-tag-post_tag"><?php _e( 'Tags' ); ?></label>
     941                                        <label class="screen-reader-text" for="new-tag-post_tag"><?php
     942                                                /* translators: accessibility text */
     943                                                _e( 'Tags' );
     944                                        ?></label>
    927945                                        <p>
    928946                                                <input type="text" id="new-tag-post_tag" name="newtag[post_tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="" aria-describedby="new-tag-desc" />
    929947                                                <button type="button" class="tagadd"><?php _e( 'Add' ); ?></button>
     
    13301348                </h1>
    13311349                <button type="button" class="options button-link closed">
    13321350                        <span class="dashicons dashicons-tag on-closed"></span>
    1333                         <span class="screen-reader-text on-closed"><?php _e( 'Show post options' ); ?></span>
     1351                        <span class="screen-reader-text on-closed"><?php
     1352                                /* translators: accessibility text */
     1353                                _e( 'Show post options' );
     1354                        ?></span>
    13341355                        <span aria-hidden="true" class="on-open"><?php _e( 'Done' ); ?></span>
    1335                         <span class="screen-reader-text on-open"><?php _e( 'Hide post options' ); ?></span>
     1356                        <span class="screen-reader-text on-open"><?php
     1357                                /* translators: accessibility text */
     1358                                _e( 'Hide post options' );
     1359                        ?></span>
    13361360                </button>
    13371361        </div>
    13381362
    13391363        <div id="scanbar" class="scan">
    13401364                <form method="GET">
    1341                         <label for="url-scan" class="screen-reader-text"><?php _e( 'Scan site for content' ); ?></label>
     1365                        <label for="url-scan" class="screen-reader-text"><?php
     1366                                /* translators: accessibility text */
     1367                                _e( 'Scan site for content' );
     1368                        ?></label>
    13421369                        <input type="url" name="u" id="url-scan" class="scan-url" value="" placeholder="<?php esc_attr_e( 'Enter a URL to scan' ) ?>" />
    13431370                        <input type="submit" name="url-scan-submit" id="url-scan-submit" class="scan-submit" value="<?php esc_attr_e( 'Scan' ) ?>" />
    13441371                </form>
     
    13801407
    13811408                                <div class="media-list-container">
    13821409                                        <div class="media-list-inner-container">
    1383                                                 <h2 class="screen-reader-text"><?php _e( 'Suggested media' ); ?></h2>
     1410                                                <h2 class="screen-reader-text"><?php
     1411                                                        /* translators: accessibility text */
     1412                                                        _e( 'Suggested media' );
     1413                                                ?></h2>
    13841414                                                <ul class="media-list"></ul>
    13851415                                        </div>
    13861416                                </div>
     
    14431473                                        <button type="button" class="button-link modal-close">
    14441474                                                <span class="dashicons post-option-back"></span>
    14451475                                                <span class="setting-title" aria-hidden="true"><?php _ex( 'Format', 'post format' ); ?></span>
    1446                                                 <span class="screen-reader-text"><?php _e( 'Back to post options' ) ?></span>
     1476                                                <span class="screen-reader-text"><?php
     1477                                                        /* translators: accessibility text */
     1478                                                        _e( 'Back to post options' );
     1479                                                ?></span>
    14471480                                        </button>
    14481481                                        <?php $this->post_formats_html( $post ); ?>
    14491482                                </div>
     
    14531486                                <button type="button" class="button-link modal-close">
    14541487                                        <span class="dashicons post-option-back"></span>
    14551488                                        <span class="setting-title" aria-hidden="true"><?php _e( 'Categories' ); ?></span>
    1456                                         <span class="screen-reader-text"><?php _e( 'Back to post options' ) ?></span>
     1489                                        <span class="screen-reader-text"><?php
     1490                                                /* translators: accessibility text */
     1491                                                _e( 'Back to post options' );
     1492                                        ?></span>
    14571493                                </button>
    14581494                                <?php $this->categories_html( $post ); ?>
    14591495                        </div>
     
    14621498                                <button type="button" class="button-link modal-close">
    14631499                                        <span class="dashicons post-option-back"></span>
    14641500                                        <span class="setting-title" aria-hidden="true"><?php _e( 'Tags' ); ?></span>
    1465                                         <span class="screen-reader-text"><?php _e( 'Back to post options' ) ?></span>
     1501                                        <span class="screen-reader-text"><?php
     1502                                                /* translators: accessibility text */
     1503                                                _e( 'Back to post options' );
     1504                                        ?></span>
    14661505                                </button>
    14671506                                <?php $this->tags_html( $post ); ?>
    14681507                        </div>
     
    14731512                <div class="pressthis-media-buttons">
    14741513                        <button type="button" class="insert-media button-link" data-editor="pressthis">
    14751514                                <span class="dashicons dashicons-admin-media"></span>
    1476                                 <span class="screen-reader-text"><?php _e( 'Add Media' ); ?></span>
     1515                                <span class="screen-reader-text"><?php
     1516                                        /* translators: accessibility text */
     1517                                        _e( 'Add Media' );
     1518                                ?></span>
    14771519                        </button>
    14781520                </div>
    14791521                <div class="post-actions">
     
    14851527                                                <span class="saving-draft"><?php _e( 'Saving&hellip;' ); ?></span>
    14861528                                        </button><button type="button" class="split-button-toggle" aria-haspopup="true" aria-expanded="false">
    14871529                                                <i class="dashicons dashicons-arrow-down-alt2"></i>
    1488                                                 <span class="screen-reader-text"><?php _e('More actions'); ?></span>
     1530                                                <span class="screen-reader-text"><?php
     1531                                                        /* translators: accessibility text */
     1532                                                        _e( 'More actions' );
     1533                                                ?></span>
    14891534                                        </button>
    14901535                                </div>
    14911536                                <ul class="split-button-body">
  • src/wp-admin/includes/class-wp-screen.php

     
    12491249                if ( ! isset( $this->_screen_reader_content[ $key ] ) ) {
    12501250                        return;
    12511251                }
     1252                /* translators: accessibility text */
    12521253                echo "<$tag class='screen-reader-text'>" . $this->_screen_reader_content[ $key ] . "</$tag>";
    12531254        }
    12541255}
  • src/wp-admin/includes/class-wp-terms-list-table.php

     
    335335                $default_term = get_option( 'default_' . $this->screen->taxonomy );
    336336
    337337                if ( current_user_can( get_taxonomy( $this->screen->taxonomy )->cap->delete_terms ) && $tag->term_id != $default_term )
    338                         return '<label class="screen-reader-text" for="cb-select-' . $tag->term_id . '">' . sprintf( __( 'Select %s' ), $tag->name ) . '</label>'
     338                        return '<label class="screen-reader-text" for="cb-select-' . $tag->term_id . '">' . sprintf(
     339                                /* translators: accessibility text */
     340                                __( 'Select %s' ), $tag->name ) . '</label>'
    339341                                . '<input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" id="cb-select-' . $tag->term_id . '" />';
    340342
    341343                return '&nbsp;';
  • src/wp-admin/includes/class-wp-users-list-table.php

     
    261261        ?>
    262262        <div class="alignleft actions">
    263263                <?php if ( current_user_can( 'promote_users' ) && $this->has_items() ) : ?>
    264                 <label class="screen-reader-text" for="<?php echo $id ?>"><?php _e( 'Change role to&hellip;' ) ?></label>
     264                <label class="screen-reader-text" for="<?php echo $id ?>"><?php
     265                        /* translators: accessibility text */
     266                        _e( 'Change role to&hellip;' );
     267                ?></label>
    265268                <select name="<?php echo $id ?>" id="<?php echo $id ?>">
    266269                        <option value=""><?php _e( 'Change role to&hellip;' ) ?></option>
    267270                        <?php wp_dropdown_roles(); ?>
     
    429432                        $role_classes = esc_attr( implode( ' ', array_keys( $user_roles ) ) );
    430433
    431434                        // Set up the checkbox ( because the user is editable, otherwise it's empty )
    432                         $checkbox = '<label class="screen-reader-text" for="user_' . $user_object->ID . '">' . sprintf( __( 'Select %s' ), $user_object->user_login ) . '</label>'
     435                        $checkbox = '<label class="screen-reader-text" for="user_' . $user_object->ID . '">' . sprintf(
     436                                /* translators: accessibility text */
     437                                __( 'Select %s' ), $user_object->user_login ) . '</label>'
    433438                                                . "<input type='checkbox' name='users[]' id='user_{$user_object->ID}' class='{$role_classes}' value='{$user_object->ID}' />";
    434439
    435440                } else {
     
    482487                                                if ( $numposts > 0 ) {
    483488                                                        $r .= "<a href='edit.php?author=$user_object->ID' class='edit'>";
    484489                                                        $r .= '<span aria-hidden="true">' . $numposts . '</span>';
     490                                                        /* translators: accessibility text */
    485491                                                        $r .= '<span class="screen-reader-text">' . sprintf( _n( '%s post by this author', '%s posts by this author', $numposts ), number_format_i18n( $numposts ) ) . '</span>';
    486492                                                        $r .= '</a>';
    487493                                                } else {
  • src/wp-admin/includes/dashboard.php

     
    417417
    418418        <form action="<?php echo network_admin_url('users.php'); ?>" method="get">
    419419                <p>
    420                         <label class="screen-reader-text" for="search-users"><?php _e( 'Search Users' ); ?></label>
     420                        <label class="screen-reader-text" for="search-users"><?php
     421                                /* translators: accessibility text */
     422                                _e( 'Search Users' );
     423                        ?></label>
    421424                        <input type="search" name="s" value="" size="30" autocomplete="off" id="search-users"/>
    422425                        <?php submit_button( __( 'Search Users' ), 'button', false, false, array( 'id' => 'submit_users' ) ); ?>
    423426                </p>
     
    425428
    426429        <form action="<?php echo network_admin_url('sites.php'); ?>" method="get">
    427430                <p>
    428                         <label class="screen-reader-text" for="search-sites"><?php _e( 'Search Sites' ); ?></label>
     431                        <label class="screen-reader-text" for="search-sites"><?php
     432                                /* translators: accessibility text */
     433                                _e( 'Search Sites' );
     434                        ?></label>
    429435                        <input type="search" name="s" value="" size="30" autocomplete="off" id="search-sites"/>
    430436                        <?php submit_button( __( 'Search Sites' ), 'button', false, false, array( 'id' => 'submit_sites' ) ); ?>
    431437                </p>
     
    494500
    495501                                <?php
    496502                                /** This filter is documented in wp-admin/edit-form-advanced.php */
     503                                /* translators: accessibility text */
    497504                                echo apply_filters( 'enter_title_here', __( 'Title' ), $post );
    498505                                ?>
    499506                        </label>
     
    501508                </div>
    502509
    503510                <div class="textarea-wrap" id="description-wrap">
    504                         <label class="screen-reader-text prompt" for="content" id="content-prompt-text"><?php _e( 'What&#8217;s on your mind?' ); ?></label>
     511                        <label class="screen-reader-text prompt" for="content" id="content-prompt-text"><?php
     512                                /* translators: accessibility text */
     513                                _e( 'What&#8217;s on your mind?' );
     514                        ?></label>
    505515                        <textarea name="content" id="content" class="mceEditor" rows="3" cols="15" autocomplete="off"></textarea>
    506516                </div>
    507517
     
    913923                echo '</ul>';
    914924
    915925                if ( current_user_can( 'edit_posts' ) ) {
     926                        /* translators: accessibility text */
    916927                        echo '<h3 class="screen-reader-text">' . __( 'View more comments' ) . '</h3>';
    917928                        _get_list_table( 'WP_Comments_List_Table' )->views();
    918929                }
     
    12931304                                number_format_i18n( $quota )
    12941305                        );
    12951306                        printf(
     1307                                /* translators: 1: upload URL, 2: upload, 3: accessibility text */
    12961308                                '<a href="%1$s">%2$s <span class="screen-reader-text">(%3$s)</span></a>',
    12971309                                esc_url( admin_url( 'upload.php' ) ),
    12981310                                $text,
     
    13061318                                $percentused
    13071319                        );
    13081320                        printf(
     1321                                /* translators: 1: upload URL, 2: upload, 3: accessibility text */
    13091322                                '<a href="%1$s" class="musublink">%2$s <span class="screen-reader-text">(%3$s)</span></a>',
    13101323                                esc_url( admin_url( 'upload.php' ) ),
    13111324                                $text,
  • src/wp-admin/includes/image-edit.php

     
    4747        <div class="imgedit-group">
    4848        <div class="imgedit-group-top">
    4949                <h2><?php _e( 'Scale Image' ); ?></h2>
    50                 <button type="button" class="dashicons dashicons-editor-help imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;" aria-expanded="false"><span class="screen-reader-text"><?php esc_html_e( 'Scale Image Help' ); ?></span></button>
     50                <button type="button" class="dashicons dashicons-editor-help imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;" aria-expanded="false"><span class="screen-reader-text"><?php
     51                        /* translators: accessibility text */
     52                        esc_html_e( 'Scale Image Help' );
     53                ?></span></button>
    5154                <div class="imgedit-help">
    5255                <p><?php _e('You can proportionally scale the original image. For best results, scaling should be done before you crop, flip, or rotate. Images can only be scaled down, not up.'); ?></p>
    5356                </div>
     
    5962                <fieldset class="imgedit-scale">
    6063                <legend><?php _e( 'New dimensions:' ); ?></legend>
    6164                <div class="nowrap">
    62                 <label><span class="screen-reader-text"><?php _e( 'scale width' ); ?></span>
     65                <label><span class="screen-reader-text"><?php
     66                        /* translators: accessibility text */
     67                        _e( 'scale width' );
     68                ?></span>
    6369                <input type="text" id="imgedit-scale-width-<?php echo $post_id; ?>" onkeyup="imageEdit.scaleChanged(<?php echo $post_id; ?>, 1)" onblur="imageEdit.scaleChanged(<?php echo $post_id; ?>, 1)" value="<?php echo isset( $meta['width'] ) ? $meta['width'] : 0; ?>" />
    6470                </label>
    6571                <span class="imgedit-separator">&times;</span>
    66                 <label><span class="screen-reader-text"><?php _e( 'scale height' ); ?></span>
     72                <label><span class="screen-reader-text"><?php
     73                        /* translators: accessibility text */
     74                        _e( 'scale height' );
     75                ?></span>
    6776                <input type="text" id="imgedit-scale-height-<?php echo $post_id; ?>" onkeyup="imageEdit.scaleChanged(<?php echo $post_id; ?>, 0)" onblur="imageEdit.scaleChanged(<?php echo $post_id; ?>, 0)" value="<?php echo isset( $meta['height'] ) ? $meta['height'] : 0; ?>" />
    6877                </label>
    6978                <span class="imgedit-scale-warn" id="imgedit-scale-warn-<?php echo $post_id; ?>">!</span>
     
    99108        <div class="imgedit-group">
    100109        <div class="imgedit-group-top">
    101110                <h2><?php _e( 'Image Crop' ); ?></h2>
    102                 <button type="button" class="dashicons dashicons-editor-help imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;" aria-expanded="false"><span class="screen-reader-text"><?php esc_html_e( 'Image Crop Help' ); ?></span></button>
     111                <button type="button" class="dashicons dashicons-editor-help imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;" aria-expanded="false"><span class="screen-reader-text"><?php
     112                        /* translators: accessibility text */
     113                        esc_html_e( 'Image Crop Help' );
     114                ?></span></button>
    103115
    104116                <div class="imgedit-help">
    105117                <p><?php _e('To crop the image, click on it and drag to make your selection.'); ?></p>
     
    115127        <fieldset class="imgedit-crop-ratio">
    116128                <legend><?php _e( 'Aspect ratio:' ); ?></legend>
    117129                <div class="nowrap">
    118                 <label><span class="screen-reader-text"><?php _e( 'crop ratio width' ); ?></span>
     130                <label><span class="screen-reader-text"><?php
     131                        /* translators: accessibility text */
     132                        _e( 'crop ratio width' );
     133                ?></span>
    119134                <input type="text" id="imgedit-crop-width-<?php echo $post_id; ?>" onkeyup="imageEdit.setRatioSelection(<?php echo $post_id; ?>, 0, this)" />
    120135                </label>
    121136                <span class="imgedit-separator">:</span>
    122                 <label><span class="screen-reader-text"><?php _e( 'crop ratio height' ); ?></span>
     137                <label><span class="screen-reader-text"><?php
     138                        /* translators: accessibility text */
     139                        _e( 'crop ratio height' );
     140                ?></span>
    123141                <input type="text" id="imgedit-crop-height-<?php echo $post_id; ?>" onkeyup="imageEdit.setRatioSelection(<?php echo $post_id; ?>, 1, this)" />
    124142                </label>
    125143                </div>
     
    128146        <fieldset id="imgedit-crop-sel-<?php echo $post_id; ?>" class="imgedit-crop-sel">
    129147                <legend><?php _e( 'Selection:' ); ?></legend>
    130148                <div class="nowrap">
    131                 <label><span class="screen-reader-text"><?php _e( 'selection width' ); ?></span>
     149                <label><span class="screen-reader-text"><?php
     150                        /* translators: accessibility text */
     151                        _e( 'selection width' );
     152                ?></span>
    132153                <input type="text" id="imgedit-sel-width-<?php echo $post_id; ?>" onkeyup="imageEdit.setNumSelection(<?php echo $post_id; ?>)" />
    133154                </label>
    134155                <span class="imgedit-separator">&times;</span>
    135                 <label><span class="screen-reader-text"><?php _e( 'selection height' ); ?></span>
     156                <label><span class="screen-reader-text"><?php
     157                        /* translators: accessibility text */
     158                        _e( 'selection height' );
     159                ?></span>
    136160                <input type="text" id="imgedit-sel-height-<?php echo $post_id; ?>" onkeyup="imageEdit.setNumSelection(<?php echo $post_id; ?>)" />
    137161                </label>
    138162                </div>
     
    147171        <div class="imgedit-group imgedit-applyto">
    148172        <div class="imgedit-group-top">
    149173                <h2><?php _e( 'Thumbnail Settings' ); ?></h2>
    150                 <button type="button" class="dashicons dashicons-editor-help imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;" aria-expanded="false"><span class="screen-reader-text"><?php esc_html_e( 'Thumbnail Settings Help' ); ?></span></button>
     174                <button type="button" class="dashicons dashicons-editor-help imgedit-help-toggle" onclick="imageEdit.toggleHelp(this);return false;" aria-expanded="false"><span class="screen-reader-text"><?php
     175                        /* translators: accessibility text */
     176                        esc_html_e( 'Thumbnail Settings Help' );
     177                ?></span></button>
    151178                <p class="imgedit-help"><?php _e('You can edit the image while preserving the thumbnail. For example, you may wish to have a square thumbnail that displays just a section of the image.'); ?></p>
    152179        </div>
    153180
     
    182209        <div class="imgedit-panel-content wp-clearfix">
    183210                <?php echo $note; ?>
    184211                <div class="imgedit-menu wp-clearfix">
    185                         <button type="button" onclick="imageEdit.crop(<?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-crop button disabled" disabled><span class="screen-reader-text"><?php esc_html_e( 'Crop' ); ?></span></button><?php
     212                        <button type="button" onclick="imageEdit.crop(<?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-crop button disabled" disabled><span class="screen-reader-text"><?php
     213                                /* translators: accessibility text */
     214                                esc_html_e( 'Crop' );
     215                        ?></span></button><?php
    186216
    187217                // On some setups GD library does not provide imagerotate() - Ticket #11536
    188218                if ( wp_image_editor_supports( array( 'mime_type' => get_post_mime_type( $post_id ), 'methods' => array( 'rotate' ) ) ) ) {
    189219                        $note_no_rotate = '';
    190220        ?>
    191                         <button type="button" class="imgedit-rleft button" onclick="imageEdit.rotate( 90, <?php echo "$post_id, '$nonce'"; ?>, this)"><span class="screen-reader-text"><?php esc_html_e( 'Rotate counter-clockwise' ); ?></span></button>
    192                         <button type="button" class="imgedit-rright button" onclick="imageEdit.rotate(-90, <?php echo "$post_id, '$nonce'"; ?>, this)"><span class="screen-reader-text"><?php esc_html_e( 'Rotate clockwise' ); ?></span></button>
     221                        <button type="button" class="imgedit-rleft button" onclick="imageEdit.rotate( 90, <?php echo "$post_id, '$nonce'"; ?>, this)"><span class="screen-reader-text"><?php
     222                                /* translators: accessibility text */
     223                                esc_html_e( 'Rotate counter-clockwise' );
     224                        ?></span></button>
     225                        <button type="button" class="imgedit-rright button" onclick="imageEdit.rotate(-90, <?php echo "$post_id, '$nonce'"; ?>, this)"><span class="screen-reader-text"><?php
     226                                /* translators: accessibility text */
     227                                esc_html_e( 'Rotate clockwise' );
     228                        ?></span></button>
    193229        <?php } else {
    194230                        $note_no_rotate = '<p class="note-no-rotate"><em>' . __( 'Image rotation is not supported by your web host.' ) . '</em></p>';
    195231        ?>
     
    197233                        <button type="button" class="imgedit-rright button disabled" disabled></button>
    198234        <?php } ?>
    199235
    200                         <button type="button" onclick="imageEdit.flip(1, <?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-flipv button"><span class="screen-reader-text"><?php esc_html_e( 'Flip vertically' ); ?></span></button>
    201                         <button type="button" onclick="imageEdit.flip(2, <?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-fliph button"><span class="screen-reader-text"><?php esc_html_e( 'Flip horizontally' ); ?></span></button>
     236                        <button type="button" onclick="imageEdit.flip(1, <?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-flipv button"><span class="screen-reader-text"><?php
     237                                /* translators: accessibility text */
     238                                esc_html_e( 'Flip vertically' );
     239                        ?></span></button>
     240                        <button type="button" onclick="imageEdit.flip(2, <?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-fliph button"><span class="screen-reader-text"><?php
     241                                /* translators: accessibility text */
     242                                esc_html_e( 'Flip horizontally' );
     243                        ?></span></button>
    202244
    203                         <button type="button" id="image-undo-<?php echo $post_id; ?>" onclick="imageEdit.undo(<?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-undo button disabled" disabled><span class="screen-reader-text"><?php esc_html_e( 'Undo' ); ?></span></button>
    204                         <button type="button" id="image-redo-<?php echo $post_id; ?>" onclick="imageEdit.redo(<?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-redo button disabled" disabled><span class="screen-reader-text"><?php esc_html_e( 'Redo' ); ?></span></button>
     245                        <button type="button" id="image-undo-<?php echo $post_id; ?>" onclick="imageEdit.undo(<?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-undo button disabled" disabled><span class="screen-reader-text"><?php
     246                                /* translators: accessibility text */
     247                                esc_html_e( 'Undo' );
     248                        ?></span></button>
     249                        <button type="button" id="image-redo-<?php echo $post_id; ?>" onclick="imageEdit.redo(<?php echo "$post_id, '$nonce'"; ?>, this)" class="imgedit-redo button disabled" disabled><span class="screen-reader-text"><?php
     250                                /* translators: accessibility text */
     251                                esc_html_e( 'Redo' );
     252                        ?></span></button>
    205253                        <?php echo $note_no_rotate; ?>
    206254                </div>
    207255
  • src/wp-admin/includes/media.php

     
    19401940        do_action( 'pre-html-upload-ui' );
    19411941        ?>
    19421942        <p id="async-upload-wrap">
    1943                 <label class="screen-reader-text" for="async-upload"><?php _e('Upload'); ?></label>
     1943                <label class="screen-reader-text" for="async-upload"><?php
     1944                        /* translators: accessibility text */
     1945                        _e( 'Upload' );
     1946                ?></label>
    19441947                <input type="file" name="async-upload" id="async-upload" />
    19451948                <?php submit_button( __( 'Upload' ), 'primary', 'html-upload', false ); ?>
    19461949                <a href="#" onclick="try{top.tb_remove();}catch(e){}; return false;"><?php _e('Cancel'); ?></a>
     
    23822385<input type="hidden" name="context" value="<?php echo isset( $_GET['context'] ) ? esc_attr( $_GET['context'] ) : ''; ?>" />
    23832386
    23842387<p id="media-search" class="search-box">
    2385         <label class="screen-reader-text" for="media-search-input"><?php _e('Search Media');?>:</label>
     2388        <label class="screen-reader-text" for="media-search-input"><?php
     2389                /* translators: accessibility text */
     2390                _e( 'Search Media' );
     2391        ?>:</label>
    23862392        <input type="search" id="media-search-input" name="s" value="<?php the_search_query(); ?>" />
    23872393        <?php submit_button( __( 'Search Media' ), 'button', '', false ); ?>
    23882394</p>
  • src/wp-admin/includes/meta-boxes.php

     
    9898?>
    9999</span>
    100100<?php if ( 'publish' == $post->post_status || 'private' == $post->post_status || $can_publish ) { ?>
    101 <a href="#post_status" <?php if ( 'private' == $post->post_status ) { ?>style="display:none;" <?php } ?>class="edit-post-status hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit status' ); ?></span></a>
     101<a href="#post_status" <?php if ( 'private' == $post->post_status ) { ?>style="display:none;" <?php } ?>class="edit-post-status hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php
     102        /* translators: accessibility text */
     103        _e( 'Edit status' );
     104?></span></a>
    102105
    103106<div id="post-status-select" class="hide-if-js">
    104107<input type="hidden" name="hidden_post_status" id="hidden_post_status" value="<?php echo esc_attr( ('auto-draft' == $post->post_status ) ? 'draft' : $post->post_status); ?>" />
     
    144147
    145148echo esc_html( $visibility_trans ); ?></span>
    146149<?php if ( $can_publish ) { ?>
    147 <a href="#visibility" class="edit-visibility hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit visibility' ); ?></span></a>
     150<a href="#visibility" class="edit-visibility hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php
     151        /* translators: accessibility text */
     152        _e( 'Edit visibility' );
     153?></span></a>
    148154
    149155<div id="post-visibility-select" class="hide-if-js">
    150156<input type="hidden" name="hidden_post_password" id="hidden-post-password" value="<?php echo esc_attr($post->post_password); ?>" />
     
    193199if ( ! empty( $args['args']['revisions_count'] ) ) : ?>
    194200<div class="misc-pub-section misc-pub-revisions">
    195201        <?php printf( __( 'Revisions: %s' ), '<b>' . number_format_i18n( $args['args']['revisions_count'] ) . '</b>' ); ?>
    196         <a class="hide-if-no-js" href="<?php echo esc_url( get_edit_post_link( $args['args']['revision_id'] ) ); ?>"><span aria-hidden="true"><?php _ex( 'Browse', 'revisions' ); ?></span> <span class="screen-reader-text"><?php _e( 'Browse revisions' ); ?></span></a>
     202        <a class="hide-if-no-js" href="<?php echo esc_url( get_edit_post_link( $args['args']['revision_id'] ) ); ?>"><span aria-hidden="true"><?php _ex( 'Browse', 'revisions' ); ?></span> <span class="screen-reader-text"><?php
     203                /* translators: accessibility text */
     204                _e( 'Browse revisions' );
     205        ?></span></a>
    197206</div>
    198207<?php endif;
    199208
     
    201210<div class="misc-pub-section curtime misc-pub-curtime">
    202211        <span id="timestamp">
    203212        <?php printf($stamp, $date); ?></span>
    204         <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit date and time' ); ?></span></a>
     213        <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php
     214                /* translators: accessibility text */
     215                _e( 'Edit date and time' );
     216        ?></span></a>
    205217        <fieldset id="timestampdiv" class="hide-if-js">
    206         <legend class="screen-reader-text"><?php _e( 'Date and time' ); ?></legend>
     218        <legend class="screen-reader-text"><?php
     219                /* translators: accessibility text */
     220                _e( 'Date and time' );
     221        ?></legend>
    207222        <?php touch_time( ( $action === 'edit' ), 1 ); ?>
    208223        </fieldset>
    209224</div><?php // /misc-pub-section ?>
     
    373388        ?>
    374389        <div id="post-formats-select">
    375390                <fieldset>
    376                         <legend class="screen-reader-text"><?php _e( 'Post Formats' ); ?></legend>
     391                        <legend class="screen-reader-text"><?php
     392                                /* translators: accessibility text */
     393                                _e( 'Post Formats' );
     394                        ?></legend>
    377395                        <input type="radio" name="post_format" class="post-format" id="post-format-0" value="0" <?php checked( $post_format, '0' ); ?> /> <label for="post-format-0" class="post-format-icon post-format-standard"><?php echo get_post_format_string( 'standard' ); ?></label>
    378396                        <?php foreach ( $post_formats[0] as $format ) : ?>
    379397                        <br /><input type="radio" name="post_format" class="post-format" id="post-format-<?php echo esc_attr( $format ); ?>" value="<?php echo esc_attr( $format ); ?>" <?php checked( $post_format, $format ); ?> /> <label for="post-format-<?php echo esc_attr( $format ); ?>" class="post-format-icon post-format-<?php echo esc_attr( $format ); ?>"><?php echo esc_html( get_post_format_string( $format ) ); ?></label>
     
    429447        </div>
    430448        <?php if ( $user_can_assign_terms ) : ?>
    431449        <div class="ajaxtag hide-if-no-js">
    432                 <label class="screen-reader-text" for="new-tag-<?php echo $tax_name; ?>"><?php echo $taxonomy->labels->add_new_item; ?></label>
     450                <label class="screen-reader-text" for="new-tag-<?php echo $tax_name; ?>"><?php
     451                        /* translators: accessibility text */
     452                        echo $taxonomy->labels->add_new_item;
     453                ?></label>
    433454                <p><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" aria-describedby="new-tag-<?php echo $tax_name; ?>-desc" value="" />
    434455                <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" /></p>
    435456        </div>
     
    506527                                        ?>
    507528                                </a>
    508529                                <p id="<?php echo $tax_name; ?>-add" class="category-add wp-hidden-child">
    509                                         <label class="screen-reader-text" for="new<?php echo $tax_name; ?>"><?php echo $taxonomy->labels->add_new_item; ?></label>
     530                                        <label class="screen-reader-text" for="new<?php echo $tax_name; ?>"><?php
     531                                                /* translators: accessibility text */
     532                                                echo $taxonomy->labels->add_new_item;
     533                                        ?></label>
    510534                                        <input type="text" name="new<?php echo $tax_name; ?>" id="new<?php echo $tax_name; ?>" class="form-required form-input-tip" value="<?php echo esc_attr( $taxonomy->labels->new_item_name ); ?>" aria-required="true"/>
    511                                         <label class="screen-reader-text" for="new<?php echo $tax_name; ?>_parent">
    512                                                 <?php echo $taxonomy->labels->parent_item_colon; ?>
    513                                         </label>
     535                                        <label class="screen-reader-text" for="new<?php echo $tax_name; ?>_parent"><?php
     536                                                /* translators: accessibility text */
     537                                                echo $taxonomy->labels->parent_item_colon;
     538                                        ?></label>
    514539                                        <?php
    515540                                        $parent_dropdown_args = array(
    516541                                                'taxonomy'         => $tax_name,
     
    568593 */
    569594function post_excerpt_meta_box($post) {
    570595?>
    571 <label class="screen-reader-text" for="excerpt"><?php _e('Excerpt') ?></label><textarea rows="1" cols="40" name="excerpt" id="excerpt"><?php echo $post->post_excerpt; // textarea_escaped ?></textarea>
     596<label class="screen-reader-text" for="excerpt"><?php
     597        /* translators: accessibility text */
     598        _e( 'Excerpt' );
     599?></label><textarea rows="1" cols="40" name="excerpt" id="excerpt"><?php echo $post->post_excerpt; // textarea_escaped ?></textarea>
    572600<p><?php
    573601        printf(
    574602                /* translators: %s: Codex URL */
     
    737765/** This filter is documented in wp-admin/edit-tag-form.php */
    738766$editable_slug = apply_filters( 'editable_slug', $post->post_name, $post );
    739767?>
    740 <label class="screen-reader-text" for="post_name"><?php _e('Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( $editable_slug ); ?>" />
     768<label class="screen-reader-text" for="post_name"><?php
     769        /* translators: accessibility text */
     770        _e( 'Slug' );
     771?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( $editable_slug ); ?>" />
    741772<?php
    742773}
    743774
     
    753784function post_author_meta_box($post) {
    754785        global $user_ID;
    755786?>
    756 <label class="screen-reader-text" for="post_author_override"><?php _e('Author'); ?></label>
     787<label class="screen-reader-text" for="post_author_override"><?php
     788        /* translators: accessibility text */
     789        _e( 'Author' );
     790?></label>
    757791<?php
    758792        wp_dropdown_users( array(
    759793                'who' => 'authors',
     
    812846                if ( ! empty($pages) ) {
    813847?>
    814848<p><strong><?php _e('Parent') ?></strong></p>
    815 <label class="screen-reader-text" for="parent_id"><?php _e('Parent') ?></label>
     849<label class="screen-reader-text" for="parent_id"><?php
     850        /* translators: accessibility text */
     851        _e( 'Parent' );
     852?></label>
    816853<?php echo $pages; ?>
    817854<?php
    818855                } // end empty pages check
     
    832869         */
    833870        do_action( 'page_attributes_meta_box_template', $template, $post );
    834871?></p>
    835 <label class="screen-reader-text" for="page_template"><?php _e('Page Template') ?></label><select name="page_template" id="page_template">
     872<label class="screen-reader-text" for="page_template"><?php
     873        /* translators: accessibility text */
     874        _e( 'Page Template' );
     875?></label><select name="page_template" id="page_template">
    836876<?php
    837877/**
    838878 * Filters the title of the default page template displayed in the drop-down.
     
    851891<?php
    852892        } ?>
    853893<p><strong><?php _e('Order') ?></strong></p>
    854 <p><label class="screen-reader-text" for="menu_order"><?php _e('Order') ?></label><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr($post->menu_order) ?>" /></p>
     894<p><label class="screen-reader-text" for="menu_order"><?php
     895        /* translators: accessibility text */
     896        _e( 'Order' );
     897?></label><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr($post->menu_order) ?>" /></p>
    855898<?php if ( 'page' == $post->post_type && get_current_screen()->get_help_tabs() ) { ?>
    856899<p><?php _e( 'Need help? Use the Help tab in the upper right of your screen.' ); ?></p>
    857900<?php
     
    9641007        <div id="category-adder" class="wp-hidden-children">
    9651008                <a id="category-add-toggle" href="#category-add" class="taxonomy-add-new"><?php _e( '+ Add New Category' ); ?></a>
    9661009                <p id="link-category-add" class="wp-hidden-child">
    967                         <label class="screen-reader-text" for="newcat"><?php _e( '+ Add New Category' ); ?></label>
     1010                        <label class="screen-reader-text" for="newcat"><?php
     1011                                /* translators: accessibility text */
     1012                                _e( '+ Add New Category' );
     1013                        ?></label>
    9681014                        <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" aria-required="true" />
    9691015                        <input type="button" id="link-category-add-submit" data-wp-lists="add:categorychecklist:link-category-add" class="button" value="<?php esc_attr_e( 'Add' ); ?>" />
    9701016                        <?php wp_nonce_field( 'add-link-category', '_ajax_nonce', false ); ?>
     
    9831029 * @param object $link
    9841030 */
    9851031function link_target_meta_box($link) { ?>
    986 <fieldset><legend class="screen-reader-text"><span><?php _e('Target') ?></span></legend>
     1032<fieldset><legend class="screen-reader-text"><span><?php
     1033        /* translators: accessibility text */
     1034        _e( 'Target' );
     1035?></span></legend>
    9871036<p><label for="link_target_blank" class="selectit">
    9881037<input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo ( isset( $link->link_target ) && ($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> />
    9891038<?php _e('<code>_blank</code> &mdash; new window or tab.'); ?></label></p>
     
    10461095        </tr>
    10471096        <tr>
    10481097                <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?></th>
    1049                 <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('identity') ?></span></legend>
     1098                <td><fieldset><legend class="screen-reader-text"><span><?php
     1099                        /* translators: accessibility text: xfn: http://gmpg.org/xfn/ */
     1100                        _e( 'identity' );
     1101                ?></span></legend>
    10501102                        <label for="me">
    10511103                        <input type="checkbox" name="identity" value="me" id="me" <?php xfn_check('identity', 'me'); ?> />
    10521104                        <?php _e('another web address of mine') ?></label>
     
    10541106        </tr>
    10551107        <tr>
    10561108                <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?></th>
    1057                 <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('friendship') ?></span></legend>
     1109                <td><fieldset><legend class="screen-reader-text"><span><?php
     1110                        /* translators: accessibility text: xfn: http://gmpg.org/xfn/ */
     1111                        _e( 'friendship' );
     1112                ?></span></legend>
    10581113                        <label for="contact">
    10591114                        <input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check('friendship', 'contact'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('contact') ?>
    10601115                        </label>
     
    10711126        </tr>
    10721127        <tr>
    10731128                <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?> </th>
    1074                 <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('physical') ?></span></legend>
     1129                <td><fieldset><legend class="screen-reader-text"><span><?php
     1130                                /* translators: accessibility text: xfn: http://gmpg.org/xfn/ */
     1131                        _e( 'physical' );
     1132                ?></span></legend>
    10751133                        <label for="met">
    10761134                        <input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check('physical', 'met'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('met') ?>
    10771135                        </label>
     
    10791137        </tr>
    10801138        <tr>
    10811139                <th scope="row"> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?> </th>
    1082                 <td><fieldset><legend class="screen-reader-text"><span><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('professional') ?></span></legend>
     1140                <td><fieldset><legend class="screen-reader-text"><span><?php
     1141                        /* translators: accessibility text: xfn: http://gmpg.org/xfn/ */
     1142                        _e( 'professional' );
     1143                ?></span></legend>
    10831144                        <label for="co-worker">
    10841145                        <input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check('professional', 'co-worker'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-worker') ?>
    10851146                        </label>
     
    10901151        </tr>
    10911152        <tr>
    10921153                <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?></th>
    1093                 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('geographical') ?> </span></legend>
     1154                <td><fieldset><legend class="screen-reader-text"><span><?php
     1155                        /* translators: accessibility text: xfn: http://gmpg.org/xfn/ */
     1156                        _e( 'geographical' );
     1157                ?> </span></legend>
    10941158                        <label for="co-resident">
    10951159                        <input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check('geographical', 'co-resident'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-resident') ?>
    10961160                        </label>
     
    11041168        </tr>
    11051169        <tr>
    11061170                <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?></th>
    1107                 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('family') ?> </span></legend>
     1171                <td><fieldset><legend class="screen-reader-text"><span><?php
     1172                        /* translators: accessibility text: xfn: http://gmpg.org/xfn/ */
     1173                        _e( 'family' );
     1174                ?></span></legend>
    11081175                        <label for="child">
    11091176                        <input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check('family', 'child'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('child') ?>
    11101177                        </label>
     
    11271194        </tr>
    11281195        <tr>
    11291196                <th scope="row"><?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?></th>
    1130                 <td><fieldset><legend class="screen-reader-text"><span> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('romantic') ?> </span></legend>
     1197                <td><fieldset><legend class="screen-reader-text"><span><?php
     1198                        /* translators: accessibility text: xfn: http://gmpg.org/xfn/ */
     1199                        _e( 'romantic' );
     1200                ?> </span></legend>
    11311201                        <label for="muse">
    11321202                        <input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check('romantic', 'muse'); ?> />&nbsp;<?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('muse') ?>
    11331203                        </label>
  • src/wp-admin/includes/misc.php

     
    656656
    657657        ?>
    658658        <fieldset id="color-picker" class="scheme-list">
    659                 <legend class="screen-reader-text"><span><?php _e( 'Admin Color Scheme' ); ?></span></legend>
     659                <legend class="screen-reader-text"><span><?php
     660                        /* translators: accessibility text */
     661                        _e( 'Admin Color Scheme' );
     662                ?></span></legend>
    660663                <?php
    661664                wp_nonce_field( 'save-color-scheme', 'color-nonce', false );
    662665                foreach ( $_wp_admin_css_colors as $color => $color_info ) :
  • src/wp-admin/includes/ms.php

     
    502502                <th><label for="blog-upload-space-number"><?php _e( 'Site Upload Space Quota' ); ?></label></th>
    503503                <td>
    504504                        <input type="number" step="1" min="0" style="width: 100px" name="option[blog_upload_space]" id="blog-upload-space-number" aria-describedby="blog-upload-space-desc" value="<?php echo $quota; ?>" />
    505                         <span id="blog-upload-space-desc"><span class="screen-reader-text"><?php _e( 'Size in megabytes' ); ?></span> <?php _e( 'MB (Leave blank for network default)' ); ?></span>
     505                        <span id="blog-upload-space-desc"><span class="screen-reader-text"><?php
     506                                /* translators: accessibility text */
     507                                _e( 'Size in megabytes' );
     508                        ?></span> <?php _e( 'MB (Leave blank for network default)' ); ?></span>
    506509                </td>
    507510        </tr>
    508511        <?php
     
    953956                                        $blog_users = get_users( array( 'blog_id' => $details->userblog_id, 'fields' => array( 'ID', 'user_login' ) ) );
    954957                                        if ( is_array( $blog_users ) && !empty( $blog_users ) ) {
    955958                                                $user_site = "<a href='" . esc_url( get_home_url( $details->userblog_id ) ) . "'>{$details->blogname}</a>";
     959                                                /* translators: accessibility text */
    956960                                                $user_dropdown = '<label for="reassign_user" class="screen-reader-text">' . __( 'Select a user' ) . '</label>';
    957961                                                $user_dropdown .= "<select name='blog[$user_id][$key]' id='reassign_user'>";
    958962                                                $user_list = '';
  • src/wp-admin/includes/nav-menu.php

     
    431431                        }
    432432                        ?>
    433433                        <p class="quick-search-wrap">
    434                                 <label for="quick-search-posttype-<?php echo $post_type_name; ?>" class="screen-reader-text"><?php _e( 'Search' ); ?></label>
     434                                <label for="quick-search-posttype-<?php echo $post_type_name; ?>" class="screen-reader-text"><?php
     435                                        /* translators: accessibility text */
     436                                        _e( 'Search' );
     437                                ?></label>
    435438                                <input type="search" class="quick-search" value="<?php echo $searched; ?>" name="quick-search-posttype-<?php echo $post_type_name; ?>" id="quick-search-posttype-<?php echo $post_type_name; ?>" />
    436439                                <span class="spinner"></span>
    437440                                <?php submit_button( __( 'Search' ), 'button-small quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-posttype-' . $post_type_name ) ); ?>
     
    711714                        }
    712715                        ?>
    713716                        <p class="quick-search-wrap">
    714                                 <label for="quick-search-taxonomy-<?php echo $taxonomy_name; ?>" class="screen-reader-text"><?php _e( 'Search' ); ?></label>
     717                                <label for="quick-search-taxonomy-<?php echo $taxonomy_name; ?>" class="screen-reader-text"><?php
     718                                        /* translators: accessibility text */
     719                                        _e( 'Search' );
     720                                ?></label>
    715721                                <input type="search" class="quick-search" value="<?php echo $searched; ?>" name="quick-search-taxonomy-<?php echo $taxonomy_name; ?>" id="quick-search-taxonomy-<?php echo $taxonomy_name; ?>" />
    716722                                <span class="spinner"></span>
    717723                                <?php submit_button( __( 'Search' ), 'button-small quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-taxonomy-' . $taxonomy_name ) ); ?>
  • src/wp-admin/includes/plugin-install.php

     
    269269                        <option value="tag"<?php selected('tag', $type) ?>><?php _ex('Tag', 'Plugin Installer'); ?></option>
    270270                </select>
    271271                <?php endif; ?>
    272                 <label><span class="screen-reader-text"><?php _e('Search Plugins'); ?></span>
     272                <label><span class="screen-reader-text"><?php
     273                        /* translators: accessibility text */
     274                        _e( 'Search Plugins' );
     275                ?></span>
    273276                        <input type="search" name="s" value="<?php echo esc_attr($term) ?>" <?php echo $input_attrs; ?>/>
    274277                </label>
    275                 <?php submit_button( __( 'Search Plugins' ), $button_type, false, false, array( 'id' => 'search-submit' ) ); ?>
     278                <?php
     279                        /* translators: accessibility text */
     280                        submit_button( __( 'Search Plugins' ), $button_type, false, false, array( 'id' => 'search-submit' ) );
     281                ?>
    276282        </form><?php
    277283}
    278284
     
    286292        <p class="install-help"><?php _e('If you have a plugin in a .zip format, you may install it by uploading it here.'); ?></p>
    287293        <form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url('update.php?action=upload-plugin'); ?>">
    288294                <?php wp_nonce_field( 'plugin-upload' ); ?>
    289                 <label class="screen-reader-text" for="pluginzip"><?php _e( 'Plugin zip file' ); ?></label>
     295                <label class="screen-reader-text" for="pluginzip"><?php
     296                        /* translators: accessibility text */
     297                        _e( 'Plugin zip file' );
     298                ?></label>
    290299                <input type="file" id="pluginzip" name="pluginzip" />
    291300                <?php submit_button( __( 'Install Now' ), 'button', 'install-plugin-submit', false ); ?>
    292301        </form>
  • src/wp-admin/includes/template.php

     
    398398        </legend>
    399399
    400400        <div id="replycontainer">
    401         <label for="replycontent" class="screen-reader-text"><?php _e( 'Comment' ); ?></label>
     401        <label for="replycontent" class="screen-reader-text"><?php
     402                /* translators: accessibility text */
     403                _e( 'Comment' );
     404        ?></label>
    402405        <?php
    403406        $quicktags_settings = array( 'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close' );
    404407        wp_editor( '', 'replycontent', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings ) );
     
    554557        $delete_nonce = wp_create_nonce( 'delete-meta_' . $entry['meta_id'] );
    555558
    556559        $r .= "\n\t<tr id='meta-{$entry['meta_id']}'>";
     560        /* translators: accessibility text */
    557561        $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' type='text' size='20' value='{$entry['meta_key']}' />";
    558562
    559563        $r .= "\n\t\t<div class='submit'>";
     
    564568        $r .= wp_nonce_field( 'change-meta', '_ajax_nonce', false, false );
    565569        $r .= "</td>";
    566570
     571        /* translators: accessibility text */
    567572        $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' rows='2' cols='30'>{$entry['meta_value']}</textarea></td>\n\t</tr>";
    568573        return $r;
    569574}
     
    710715        $cur_hh = gmdate( 'H', $time_adj );
    711716        $cur_mn = gmdate( 'i', $time_adj );
    712717
     718        /* translators: accessibility text */
    713719        $month = '<label><span class="screen-reader-text">' . __( 'Month' ) . '</span><select ' . ( $multi ? '' : 'id="mm" ' ) . 'name="mm"' . $tab_index_attribute . ">\n";
    714720        for ( $i = 1; $i < 13; $i = $i +1 ) {
    715721                $monthnum = zeroise($i, 2);
     
    720726        }
    721727        $month .= '</select></label>';
    722728
     729        /* translators: accessibility text */
    723730        $day = '<label><span class="screen-reader-text">' . __( 'Day' ) . '</span><input type="text" ' . ( $multi ? '' : 'id="jj" ' ) . 'name="jj" value="' . $jj . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" /></label>';
     731        /* translators: accessibility text */
    724732        $year = '<label><span class="screen-reader-text">' . __( 'Year' ) . '</span><input type="text" ' . ( $multi ? '' : 'id="aa" ' ) . 'name="aa" value="' . $aa . '" size="4" maxlength="4"' . $tab_index_attribute . ' autocomplete="off" /></label>';
     733        /* translators: accessibility text */
    725734        $hour = '<label><span class="screen-reader-text">' . __( 'Hour' ) . '</span><input type="text" ' . ( $multi ? '' : 'id="hh" ' ) . 'name="hh" value="' . $hh . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" /></label>';
     735        /* translators: accessibility text */
    726736        $minute = '<label><span class="screen-reader-text">' . __( 'Minute' ) . '</span><input type="text" ' . ( $multi ? '' : 'id="mn" ' ) . 'name="mn" value="' . $mn . '" size="2" maxlength="2"' . $tab_index_attribute . ' autocomplete="off" /></label>';
    727737
    728738        echo '<div class="timestamp-wrap">';
     
    10281038                                        echo '<div id="' . $box['id'] . '" class="postbox ' . postbox_classes($box['id'], $page) . $hidden_class . '" ' . '>' . "\n";
    10291039                                        if ( 'dashboard_browser_nag' != $box['id'] ) {
    10301040                                                echo '<button type="button" class="handlediv button-link" aria-expanded="true">';
     1041                                                /* translators: accessibility text */
    10311042                                                echo '<span class="screen-reader-text">' . sprintf( __( 'Toggle panel: %s' ), $box['title'] ) . '</span>';
    10321043                                                echo '<span class="toggle-indicator" aria-hidden="true"></span>';
    10331044                                                echo '</button>';
     
    11501161                                        <li class="control-section accordion-section <?php echo $hidden_class; ?> <?php echo $open_class; ?> <?php echo esc_attr( $box['id'] ); ?>" id="<?php echo esc_attr( $box['id'] ); ?>">
    11511162                                                <h3 class="accordion-section-title hndle" tabindex="0">
    11521163                                                        <?php echo esc_html( $box['title'] ); ?>
    1153                                                         <span class="screen-reader-text"><?php _e( 'Press return or enter to open this section' ); ?></span>
     1164                                                        <span class="screen-reader-text"><?php
     1165                                                                /* translators: accessibility text */
     1166                                                                _e( 'Press return or enter to open this section' );
     1167                                                        ?></span>
    11541168                                                </h3>
    11551169                                                <div class="accordion-section-content <?php postbox_classes( $box['id'], $page ); ?>">
    11561170                                                        <div class="inside">
     
    14871501        <div id="find-posts" class="find-box" style="display: none;">
    14881502                <div id="find-posts-head" class="find-box-head">
    14891503                        <?php _e( 'Attach to existing content' ); ?>
    1490                         <button type="button" id="find-posts-close"><span class="screen-reader-text"><?php _e( 'Close media attachment panel' ); ?></button>
     1504                        <button type="button" id="find-posts-close"><span class="screen-reader-text"><?php
     1505                                /* translators: accessibility text */
     1506                                _e( 'Close media attachment panel' );
     1507                        ?></button>
    14911508                </div>
    14921509                <div class="find-box-inside">
    14931510                        <div class="find-box-search">
     
    14961513                                <?php } ?>
    14971514                                <input type="hidden" name="affected" id="affected" value="" />
    14981515                                <?php wp_nonce_field( 'find-posts', '_ajax_nonce', false ); ?>
    1499                                 <label class="screen-reader-text" for="find-posts-input"><?php _e( 'Search' ); ?></label>
     1516                                <label class="screen-reader-text" for="find-posts-input"><?php
     1517                                        /* translators: accessibility text */
     1518                                        _e( 'Search' );
     1519                                ?></label>
    15001520                                <input type="text" id="find-posts-input" name="ps" value="" />
    15011521                                <span class="spinner"></span>
    15021522                                <input type="button" id="find-posts-search" value="<?php esc_attr_e( 'Search' ); ?>" class="button" />
     
    20702090        }
    20712091
    20722092        $output = '<div class="star-rating">';
     2093        /* translators: accessibility text */
    20732094        $output .= '<span class="screen-reader-text">' . $title . '</span>';
    20742095        $output .= str_repeat( '<div class="star star-full" aria-hidden="true"></div>', $full_stars );
    20752096        $output .= str_repeat( '<div class="star star-half" aria-hidden="true"></div>', $half_stars );
  • src/wp-admin/includes/theme-install.php

     
    6262<form id="search-themes" method="get">
    6363        <input type="hidden" name="tab" value="search" />
    6464        <?php if ( $type_selector ) : ?>
    65         <label class="screen-reader-text" for="typeselector"><?php _e('Type of search'); ?></label>
     65        <label class="screen-reader-text" for="typeselector"><?php
     66                /* translators: accessibility text */
     67                _e( 'Type of search' );
     68        ?></label>
    6669        <select name="type" id="typeselector">
    6770        <option value="term" <?php selected('term', $type) ?>><?php _e('Keyword'); ?></option>
    6871        <option value="author" <?php selected('author', $type) ?>><?php _e('Author'); ?></option>
     
    7174        <label class="screen-reader-text" for="s"><?php
    7275        switch ( $type ) {
    7376                case 'term':
     77                        /* translators: accessibility text */
    7478                        _e( 'Search by keyword' );
    7579                        break;
    7680                case 'author':
     81                        /* translators: accessibility text */
    7782                        _e( 'Search by author' );
    7883                        break;
    7984                case 'tag':
     85                        /* translators: accessibility text */
    8086                        _e( 'Search by tag' );
    8187                        break;
    8288        }
    8389        ?></label>
    8490        <?php else : ?>
    85         <label class="screen-reader-text" for="s"><?php _e('Search by keyword'); ?></label>
     91        <label class="screen-reader-text" for="s"><?php
     92                /* translators: accessibility text */
     93                _e( 'Search by keyword' );
     94        ?></label>
    8695        <?php endif; ?>
    8796        <input type="search" name="s" id="s" size="30" value="<?php echo esc_attr($term) ?>" autofocus="autofocus" />
    8897        <?php submit_button( __( 'Search' ), 'button', 'search', false ); ?>
     
    143152<p class="install-help"><?php _e('If you have a theme in a .zip format, you may install it by uploading it here.'); ?></p>
    144153<form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url('update.php?action=upload-theme'); ?>">
    145154        <?php wp_nonce_field( 'theme-upload' ); ?>
    146         <label class="screen-reader-text" for="themezip"><?php _e( 'Theme zip file' ); ?></label>
     155        <label class="screen-reader-text" for="themezip"><?php
     156                /* translators: accessibility text */
     157                _e( 'Theme zip file' );
     158        ?></label>
    147159        <input type="file" id="themezip" name="themezip" />
    148160        <?php submit_button( __( 'Install Now' ), 'button', 'install-theme-submit', false ); ?>
    149161</form>
  • src/wp-admin/includes/theme.php

     
    600600                <div class="theme-backdrop"></div>
    601601                <div class="theme-wrap wp-clearfix">
    602602                        <div class="theme-header">
    603                                 <button type="button" class="left dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme' ); ?></span></button>
    604                                 <button type="button" class="right dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show next theme' ); ?></span></button>
    605                                 <button type="button" class="close dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Close details dialog' ); ?></span></button>
     603                                <button type="button" class="left dashicons dashicons-no"><span class="screen-reader-text"><?php
     604                                        /* translators: accessibility text */
     605                                        _e( 'Show previous theme' );
     606                                ?></span></button>
     607                                <button type="button" class="right dashicons dashicons-no"><span class="screen-reader-text"><?php
     608                                        /* translators: accessibility text */
     609                                        _e( 'Show next theme' );
     610                                ?></span></button>
     611                                <button type="button" class="close dashicons dashicons-no"><span class="screen-reader-text"><?php
     612                                        /* translators: accessibility text */
     613                                        _e( 'Close details dialog' );
     614                                ?></span></button>
    606615                        </div>
    607616                        <div class="theme-about wp-clearfix">
    608617                                <div class="theme-screenshots">
  • src/wp-admin/includes/translation-install.php

     
    133133
    134134        $installed_languages = get_available_languages();
    135135
     136        /* translators: accessibility text */
    136137        echo "<label class='screen-reader-text' for='language'>Select a default language</label>\n";
    137138        echo "<select size='14' name='language' id='language'>\n";
    138139        echo '<option value="" lang="en" selected="selected" data-continue="Continue" data-installed="1">English (United States)</option>';
  • src/wp-admin/includes/widgets.php

     
    223223                <a class="widget-control-edit hide-if-js" href="<?php echo esc_url( add_query_arg( $query_arg ) ); ?>">
    224224                        <span class="edit"><?php _ex( 'Edit', 'widget' ); ?></span>
    225225                        <span class="add"><?php _ex( 'Add', 'widget' ); ?></span>
    226                         <span class="screen-reader-text"><?php echo $widget_title; ?></span>
     226                        <span class="screen-reader-text"><?php
     227                                /* translators: accessibility text */
     228                                echo $widget_title;
     229                        ?></span>
    227230                </a>
    228231        </div>
    229232        <div class="widget-title"><h3><?php echo $widget_title; ?><span class="in-widget-title"></span></h3></div>
     
    278281 */
    279282function wp_widgets_access_body_class($classes) {
    280283        return "$classes widgets_access ";
    281 }
    282  No newline at end of file
     284}
  • src/wp-admin/install.php

     
    182182                        <th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?></th>
    183183                        <td>
    184184                                <fieldset>
    185                                         <legend class="screen-reader-text"><span><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </span></legend>
     185                                        <legend class="screen-reader-text"><span><?php
     186                                                /* translators: accessibility text */
     187                                                has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' );
     188                                        ?> </span></legend>
    186189                                        <?php
    187190                                        if ( has_action( 'blog_privacy_selector' ) ) { ?>
    188191                                                <input id="blog-public" type="radio" name="blog_public" value="1" <?php checked( 1, $blog_public ); ?> />
  • src/wp-admin/maint/repair.php

     
    2929
    3030if ( ! defined( 'WP_ALLOW_REPAIR' ) ) {
    3131
     32        /* translators: accessibility text */
    3233        echo '<h1 class="screen-reader-text">' . __( 'Allow automatic database repair' ) . '</h1>';
    3334
    3435        echo '<p>' . __( 'To allow use of this page to automatically repair database problems, please add the following line to your <code>wp-config.php</code> file. Once this line is added to your config, reload this page.' ) . "</p><p><code>define('WP_ALLOW_REPAIR', true);</code></p>";
     
    5758
    5859        if ( $duplicated_keys || $missing_key ) {
    5960
     61                /* translators: accessibility text */
    6062                echo '<h2 class="screen-reader-text">' . __( 'Check secret keys' ) . '</h2>';
    6163
    62                 // Translators: 1: wp-config.php; 2: Secret key service URL.
     64                /* translators: 1: wp-config.php; 2: Secret key service URL */
    6365                echo '<p>' . sprintf( __( 'While you are editing your %1$s file, take a moment to make sure you have all 8 keys and that they are unique. You can generate these using the <a href="%2$s">WordPress.org secret key service</a>.' ), '<code>wp-config.php</code>', 'https://api.wordpress.org/secret-key/1.1/salt/' ) . '</p>';
    6466        }
    6567
    6668} elseif ( isset( $_GET['repair'] ) ) {
    6769
     70        /* translators: accessibility text */
    6871        echo '<h1 class="screen-reader-text">' . __( 'Database repair results' ) . '</h1>';
    6972
    7073        $optimize = 2 == $_GET['repair'];
     
    148151        }
    149152} else {
    150153
     154        /* translators: accessibility text */
    151155        echo '<h1 class="screen-reader-text">' . __( 'WordPress database repair' ) . '</h1>';
    152156
    153157        if ( isset( $_GET['referrer'] ) && 'is_blog_installed' == $_GET['referrer'] )
  • src/wp-admin/nav-menus.php

     
    656656                                                                <?php if ( isset( $menu_locations[ $_location ] ) && 0 != $menu_locations[ $_location ] ) : ?>
    657657                                                                <span class="locations-edit-menu-link">
    658658                                                                        <a href="<?php echo esc_url( add_query_arg( array( 'action' => 'edit', 'menu' => $menu_locations[$_location] ), admin_url( 'nav-menus.php' ) ) ); ?>">
    659                                                                                 <span aria-hidden="true"><?php _ex( 'Edit', 'menu' ); ?></span><span class="screen-reader-text"><?php _e( 'Edit selected menu' ); ?></span>
     659                                                                                <span aria-hidden="true"><?php _ex( 'Edit', 'menu' ); ?></span><span class="screen-reader-text"><?php
     660                                                                                        /* translators: accessibility text */
     661                                                                                        _e( 'Edit selected menu' );
     662                                                                                ?></span>
    660663                                                                        </a>
    661664                                                                </span>
    662665                                                                <?php endif; ?>
  • src/wp-admin/network/settings.php

     
    131131                                ?>
    132132                                <td>
    133133                                        <fieldset>
    134                                         <legend class="screen-reader-text"><?php _e( 'New registrations settings' ) ?></legend>
     134                                        <legend class="screen-reader-text"><?php
     135                                                /* translators: accessibility text */
     136                                                _e( 'New registrations settings' );
     137                                        ?></legend>
    135138                                        <label><input name="registration" type="radio" id="registration1" value="none"<?php checked( $reg, 'none') ?> /> <?php _e( 'Registration is disabled.' ); ?></label><br />
    136139                                        <label><input name="registration" type="radio" id="registration2" value="user"<?php checked( $reg, 'user') ?> /> <?php _e( 'User accounts may be registered.' ); ?></label><br />
    137140                                        <label><input name="registration" type="radio" id="registration3" value="blog"<?php checked( $reg, 'blog') ?> /> <?php _e( 'Logged in users may register new sites.' ); ?></label><br />
     
    280283                                <th scope="row"><?php _e( 'Site upload space' ) ?></th>
    281284                                <td>
    282285                                        <label><input type="checkbox" id="upload_space_check_disabled" name="upload_space_check_disabled" value="0"<?php checked( (bool) get_site_option( 'upload_space_check_disabled' ), false ) ?>/> <?php printf( __( 'Limit total size of files uploaded to %s MB' ), '</label><label><input name="blog_upload_space" type="number" min="0" style="width: 100px" id="blog_upload_space" aria-describedby="blog-upload-space-desc" value="' . esc_attr( get_site_option('blog_upload_space', 100) ) . '" />' ); ?></label><br />
    283                                         <p class="screen-reader-text" id="blog-upload-space-desc">
    284                                                 <?php _e( 'Size in megabytes' ) ?>
    285                                         </p>
     286                                        <p class="screen-reader-text" id="blog-upload-space-desc"><?php
     287                                                /* translators: accessibility text */
     288                                                _e( 'Size in megabytes' );
     289                                        ?></p>
    286290                                </td>
    287291                        </tr>
    288292
     
    300304                                <th scope="row"><label for="fileupload_maxk"><?php _e( 'Max upload file size' ) ?></label></th>
    301305                                <td>
    302306                                        <?php printf( _x( '%s KB', 'File size in kilobytes' ), '<input name="fileupload_maxk" type="number" min="0" style="width: 100px" id="fileupload_maxk" aria-describedby="fileupload-maxk-desc" value="' . esc_attr( get_site_option( 'fileupload_maxk', 300 ) ) . '" />' ); ?>
    303                                         <p class="screen-reader-text" id="fileupload-maxk-desc">
    304                                                 <?php _e( 'Size in kilobytes' ) ?>
    305                                         </p>
     307                                        <p class="screen-reader-text" id="fileupload-maxk-desc"><?php
     308                                                /* translators: accessibility text */
     309                                                _e( 'Size in kilobytes' );
     310                                        ?></p>
    306311                                </td>
    307312                        </tr>
    308313                </table>
     
    364369                        $menu_items = apply_filters( 'mu_menu_items', array( 'plugins' => __( 'Plugins' ) ) );
    365370                        $fieldset_end = '';
    366371                        if ( count( (array) $menu_items ) > 1 ) {
     372                                /* translators: accessibility text */
    367373                                echo '<fieldset><legend class="screen-reader-text">' . __( 'Enable menus' ) . '</legend>';
    368374                                $fieldset_end = '</fieldset>';
    369375                        }
  • src/wp-admin/network/site-info.php

     
    197197                        <th scope="row"><?php _e( 'Attributes' ); ?></th>
    198198                        <td>
    199199                        <fieldset>
    200                         <legend class="screen-reader-text"><?php _e( 'Set site attributes' ) ?></legend>
     200                        <legend class="screen-reader-text"><?php
     201                                /* translators: accessibility text */
     202                                _e( 'Set site attributes' );
     203                        ?></legend>
    201204                        <?php foreach ( $attribute_fields as $field_key => $field_label ) : ?>
    202205                                <label><input type="checkbox" name="blog[<?php echo $field_key; ?>]" value="1" <?php checked( (bool) $details->$field_key, true ); disabled( ! in_array( $details->$field_key, array( 0, 1 ) ) ); ?> />
    203206                                <?php echo $field_label; ?></label><br/>
  • src/wp-admin/options-discussion.php

     
    4141<table class="form-table">
    4242<tr>
    4343<th scope="row"><?php _e('Default article settings'); ?></th>
    44 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Default article settings'); ?></span></legend>
     44<td><fieldset><legend class="screen-reader-text"><span><?php
     45        /* translators: accessibility text */
     46        _e( 'Default article settings' );
     47?></span></legend>
    4548<label for="default_pingback_flag">
    4649<input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_option('default_pingback_flag')); ?> />
    4750<?php _e('Attempt to notify any blogs linked to from the article'); ?></label>
     
    5962</tr>
    6063<tr>
    6164<th scope="row"><?php _e('Other comment settings'); ?></th>
    62 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Other comment settings'); ?></span></legend>
     65<td><fieldset><legend class="screen-reader-text"><span><?php
     66        /* translators: accessibility text */
     67        _e( 'Other comment settings' );
     68?></span></legend>
    6369<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 email'); ?></label>
    6470<br />
    6571<label for="comment_registration">
     
    126132</tr>
    127133<tr>
    128134<th scope="row"><?php _e('Email me whenever'); ?></th>
    129 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Email me whenever'); ?></span></legend>
     135<td><fieldset><legend class="screen-reader-text"><span><?php
     136        /* translators: accessibility text */
     137        _e( 'Email me whenever' );
     138?></span></legend>
    130139<label for="comments_notify">
    131140<input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_option('comments_notify')); ?> />
    132141<?php _e('Anyone posts a comment'); ?> </label>
     
    138147</tr>
    139148<tr>
    140149<th scope="row"><?php _e('Before a comment appears'); ?></th>
    141 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Before a comment appears'); ?></span></legend>
     150<td><fieldset><legend class="screen-reader-text"><span><?php
     151        /* translators: accessibility text */
     152        _e( 'Before a comment appears' );
     153?></span></legend>
    142154<label for="comment_moderation">
    143155<input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_option('comment_moderation')); ?> />
    144156<?php _e('Comment must be manually approved'); ?> </label>
     
    148160</tr>
    149161<tr>
    150162<th scope="row"><?php _e('Comment Moderation'); ?></th>
    151 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Moderation'); ?></span></legend>
     163<td><fieldset><legend class="screen-reader-text"><span><?php
     164        /* translators: accessibility text */
     165        _e( 'Comment Moderation' );
     166?></span></legend>
    152167<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="number" step="1" min="0" id="comment_max_links" value="' . esc_attr(get_option('comment_max_links')) . '" class="small-text" />' ); ?></label></p>
    153168
    154169<p><label for="moderation_keys"><?php _e('When a comment contains any of these words in its content, name, URL, email, 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>
     
    159174</tr>
    160175<tr>
    161176<th scope="row"><?php _e('Comment Blacklist'); ?></th>
    162 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Comment Blacklist'); ?></span></legend>
     177<td><fieldset><legend class="screen-reader-text"><span><?php
     178        /* translators: accessibility text */
     179        _e( 'Comment Blacklist' );
     180?></span></legend>
    163181<p><label for="blacklist_keys"><?php _e('When a comment contains any of these words in its content, name, URL, email, or IP, it will be put in the trash. One word or IP per line. It will match inside words, so &#8220;press&#8221; will match &#8220;WordPress&#8221;.'); ?></label></p>
    164182<p>
    165183<textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php echo esc_textarea( get_option( 'blacklist_keys' ) ); ?></textarea>
     
    182200<table class="form-table">
    183201<tr>
    184202<th scope="row"><?php _e('Avatar Display'); ?></th>
    185 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Avatar Display'); ?></span></legend>
     203<td><fieldset><legend class="screen-reader-text"><span><?php
     204        /* translators: accessibility text */
     205        _e( 'Avatar Display' );
     206?></span></legend>
    186207        <label for="show_avatars">
    187208                <input type="checkbox" id="show_avatars" name="show_avatars" value="1" <?php checked( $show_avatars, 1 ); ?> />
    188209                <?php _e( 'Show Avatars' ); ?>
     
    191212</tr>
    192213<tr class="avatar-settings<?php if ( ! $show_avatars ) echo ' hide-if-js'; ?>">
    193214<th scope="row"><?php _e('Maximum Rating'); ?></th>
    194 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Maximum Rating'); ?></span></legend>
     215<td><fieldset><legend class="screen-reader-text"><span><?php
     216        /* translators: accessibility text */
     217        _e( 'Maximum Rating' );
     218?></span></legend>
    195219
    196220<?php
    197221$ratings = array(
     
    214238</tr>
    215239<tr class="avatar-settings<?php if ( ! $show_avatars ) echo ' hide-if-js'; ?>">
    216240<th scope="row"><?php _e('Default Avatar'); ?></th>
    217 <td class="defaultavatarpicker"><fieldset><legend class="screen-reader-text"><span><?php _e('Default Avatar'); ?></span></legend>
     241<td class="defaultavatarpicker"><fieldset><legend class="screen-reader-text"><span><?php
     242        /* translators: accessibility text */
     243        _e( 'Default Avatar' );
     244?></span></legend>
    218245
    219246<?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 email address.'); ?><br />
    220247
  • src/wp-admin/options-general.php

     
    8484</tr>
    8585<tr>
    8686<th scope="row"><?php _e('Membership') ?></th>
    87 <td> <fieldset><legend class="screen-reader-text"><span><?php _e('Membership') ?></span></legend><label for="users_can_register">
     87<td><fieldset><legend class="screen-reader-text"><span><?php
     88        /* translators: accessibility text */
     89        _e( 'Membership' );
     90?></span></legend><label for="users_can_register">
    8891<input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked('1', get_option('users_can_register')); ?> />
    8992<?php _e('Anyone can register') ?></label>
    9093</fieldset></td>
     
    228231<tr>
    229232<th scope="row"><?php _e('Date Format') ?></th>
    230233<td>
    231         <fieldset><legend class="screen-reader-text"><span><?php _e('Date Format') ?></span></legend>
     234        <fieldset><legend class="screen-reader-text"><span><?php
     235                /* translators: accessibility text */
     236                _e( 'Date Format' );
     237        ?></span></legend>
    232238<?php
    233239        /**
    234240        * Filters the default date formats.
     
    265271<tr>
    266272<th scope="row"><?php _e('Time Format') ?></th>
    267273<td>
    268         <fieldset><legend class="screen-reader-text"><span><?php _e('Time Format') ?></span></legend>
     274        <fieldset><legend class="screen-reader-text"><span><?php
     275                /* translators: accessibility text */
     276                _e( 'Time Format' );
     277        ?></span></legend>
    269278<?php
    270279        /**
    271280        * Filters the default time formats.
  • src/wp-admin/options-media.php

     
    6363
    6464<tr>
    6565<th scope="row"><?php _e('Medium size') ?></th>
    66 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Medium size'); ?></span></legend>
     66<td><fieldset><legend class="screen-reader-text"><span><?php
     67        /* translators: accessibility text */
     68        _e( 'Medium size' );
     69?></span></legend>
    6770<label for="medium_size_w"><?php _e('Max Width'); ?></label>
    6871<input name="medium_size_w" type="number" step="1" min="0" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" class="small-text" />
    6972<label for="medium_size_h"><?php _e('Max Height'); ?></label>
     
    7376
    7477<tr>
    7578<th scope="row"><?php _e('Large size') ?></th>
    76 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Large size'); ?></span></legend>
     79<td><fieldset><legend class="screen-reader-text"><span><?php
     80        /* translators: accessibility text */
     81        _e( 'Large size' );
     82?></span></legend>
    7783<label for="large_size_w"><?php _e('Max Width'); ?></label>
    7884<input name="large_size_w" type="number" step="1" min="0" id="large_size_w" value="<?php form_option('large_size_w'); ?>" class="small-text" />
    7985<label for="large_size_h"><?php _e('Max Height'); ?></label>
  • src/wp-admin/options-reading.php

     
    6868<table class="form-table">
    6969<tr>
    7070<th scope="row"><?php _e( 'Front page displays' ); ?></th>
    71 <td id="front-static-pages"><fieldset><legend class="screen-reader-text"><span><?php _e( 'Front page displays' ); ?></span></legend>
     71<td id="front-static-pages"><fieldset><legend class="screen-reader-text"><span><?php
     72        /* translators: accessibility text */
     73        _e( 'Front page displays' );
     74?></span></legend>
    7275        <p><label>
    7376                <input name="show_on_front" type="radio" value="posts" class="tog" <?php checked( 'posts', get_option( 'show_on_front' ) ); ?> />
    7477                <?php _e( 'Your latest posts' ); ?>
     
    101104</tr>
    102105<tr>
    103106<th scope="row"><?php _e( 'For each article in a feed, show' ); ?> </th>
    104 <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'For each article in a feed, show' ); ?> </span></legend>
     107<td><fieldset><legend class="screen-reader-text"><span><?php
     108        /* translators: accessibility text */
     109        _e( 'For each article in a feed, show' );
     110?></span></legend>
    105111<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 />
    106112<label><input name="rss_use_excerpt" type="radio" value="1" <?php checked( 1, get_option( 'rss_use_excerpt' ) ); ?> /> <?php _e( 'Summary' ); ?></label></p>
    107113</fieldset></td>
     
    109115
    110116<tr class="option-site-visibility">
    111117<th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </th>
    112 <td><fieldset><legend class="screen-reader-text"><span><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?> </span></legend>
     118<td><fieldset><legend class="screen-reader-text"><span><?php
     119        /* translators: accessibility text */
     120        has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' );
     121?></span></legend>
    113122<?php if ( has_action( 'blog_privacy_selector' ) ) : ?>
    114123        <input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> />
    115124        <label for="blog-public"><?php _e( 'Allow search engines to index this site' );?></label><br/>
  • src/wp-admin/options-writing.php

     
    5959<?php if ( get_site_option( 'initial_db_version' ) < 32453 ) : ?>
    6060<tr>
    6161<th scope="row"><?php _e('Formatting') ?></th>
    62 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Formatting') ?></span></legend>
     62<td><fieldset><legend class="screen-reader-text"><span><?php
     63        /* translators: accessibility text */
     64        _e( 'Formatting' );
     65?></span></legend>
    6366<label for="use_smilies">
    6467<input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked('1', get_option('use_smilies')); ?> />
    6568<?php _e('Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display') ?></label><br />
  • src/wp-admin/setup-config.php

     
    116116        case -1:
    117117                if ( wp_can_install_language_pack() && empty( $language ) && ( $languages = wp_get_available_translations() ) ) {
    118118                        setup_config_display_header( 'language-chooser' );
     119                        /* translators: accessibility text */
    119120                        echo '<h1 class="screen-reader-text">Select a default language</h1>';
    120121                        echo '<form id="setup" method="post" action="?step=0">';
    121122                        wp_install_language_form( $languages );
     
    143144                        $step_1 .= '&amp;language=' . $loaded_language;
    144145                }
    145146?>
    146 <h1 class="screen-reader-text"><?php _e( 'Before getting started' ) ?></h1>
     147<h1 class="screen-reader-text"><?php
     148        /* translators: accessibility text */
     149        _e( 'Before getting started' );
     150?></h1>
    147151<p><?php _e( 'Welcome to WordPress. Before getting started, we need some information on the database. You will need to know the following items before proceeding.' ) ?></p>
    148152<ol>
    149153        <li><?php _e( 'Database name' ); ?></li>
     
    183187
    184188                setup_config_display_header();
    185189        ?>
    186 <h1 class="screen-reader-text"><?php _e( 'Set up your database connection' ) ?></h1>
     190<h1 class="screen-reader-text"><?php
     191        /* translators: accessibility text */
     192        _e( 'Set up your database connection' );
     193?></h1>
    187194<form method="post" action="setup-config.php?step=2">
    188195        <p><?php _e( 'Below you should enter your database connection details. If you&#8217;re not sure about these, contact your host.' ); ?></p>
    189196        <table class="form-table">
     
    401408                chmod( $path_to_wp_config, 0666 );
    402409                setup_config_display_header();
    403410?>
    404 <h1 class="screen-reader-text"><?php _e( 'Successful database connection' ) ?></h1>
     411<h1 class="screen-reader-text"><?php
     412        /* translators: accessibility text */
     413        _e( 'Successful database connection' );
     414?></h1>
    405415<p><?php _e( 'All right, sparky! You&#8217;ve made it through this part of the installation. WordPress can now communicate with your database. If you are ready, time now to&hellip;' ); ?></p>
    406416
    407417<p class="step"><a href="<?php echo $install; ?>" class="button button-large"><?php _e( 'Run the install' ); ?></a></p>
  • src/wp-admin/theme-install.php

     
    134134        <?php install_themes_upload(); ?>
    135135        </div>
    136136
    137         <h2 class="screen-reader-text"><?php _e( 'Filter themes list' ); ?></h2>
     137        <h2 class="screen-reader-text"><?php
     138                /* translators: accessibility text */
     139                _e( 'Filter themes list' );
     140        ?></h2>
    138141
    139142        <div class="wp-filter">
    140143                <div class="filter-count">
     
    200203                        </div>
    201204                </div>
    202205        </div>
    203         <h2 class="screen-reader-text"><?php _e( 'Themes list' ); ?></h2>
     206        <h2 class="screen-reader-text"><?php
     207                /* translators: accessibility text */
     208                _e( 'Themes list' );
     209        ?></h2>
    204210        <div class="theme-browser content-filterable"></div>
    205211        <div class="theme-install-overlay wp-full-overlay expanded"></div>
    206212
     
    250256<script id="tmpl-theme-preview" type="text/template">
    251257        <div class="wp-full-overlay-sidebar">
    252258                <div class="wp-full-overlay-header">
    253                         <a href="#" class="close-full-overlay"><span class="screen-reader-text"><?php _e( 'Close' ); ?></span></a>
    254                         <a href="#" class="previous-theme"><span class="screen-reader-text"><?php _ex( 'Previous', 'Button label for a theme' ); ?></span></a>
    255                         <a href="#" class="next-theme"><span class="screen-reader-text"><?php _ex( 'Next', 'Button label for a theme' ); ?></span></a>
     259                        <a href="#" class="close-full-overlay"><span class="screen-reader-text"><?php
     260                                /* translators: accessibility text */
     261                                _e( 'Close' );
     262                        ?></span></a>
     263                        <a href="#" class="previous-theme"><span class="screen-reader-text"><?php
     264                                /* translators: accessibility text */
     265                                _ex( 'Previous', 'Button label for a theme' );
     266                        ?></span></a>
     267                        <a href="#" class="next-theme"><span class="screen-reader-text"><?php
     268                                /* translators: accessibility text */
     269                                _ex( 'Next', 'Button label for a theme' );
     270                        ?></span></a>
    256271                <# if ( data.installed ) { #>
    257272                        <a href="#" class="button button-primary theme-install disabled"><?php _ex( 'Installed', 'theme' ); ?></a>
    258273                <# } else { #>
     
    282297                </div>
    283298                <div class="wp-full-overlay-footer">
    284299                        <div class="devices">
    285                                 <button type="button" class="preview-desktop active" aria-pressed="true" data-device="desktop"><span class="screen-reader-text"><?php _e( 'Enter desktop preview mode' ); ?></span></button>
    286                                 <button type="button" class="preview-tablet" aria-pressed="false" data-device="tablet"><span class="screen-reader-text"><?php _e( 'Enter tablet preview mode' ); ?></span></button>
    287                                 <button type="button" class="preview-mobile" aria-pressed="false" data-device="mobile"><span class="screen-reader-text"><?php _e( 'Enter mobile preview mode' ); ?></span></button>
     300                                <button type="button" class="preview-desktop active" aria-pressed="true" data-device="desktop"><span class="screen-reader-text"><?php
     301                                        /* translators: accessibility text */
     302                                        _e( 'Enter desktop preview mode' );
     303                                ?></span></button>
     304                                <button type="button" class="preview-tablet" aria-pressed="false" data-device="tablet"><span class="screen-reader-text"><?php
     305                                        /* translators: accessibility text */
     306                                        _e( 'Enter tablet preview mode' );
     307                                ?></span></button>
     308                                <button type="button" class="preview-mobile" aria-pressed="false" data-device="mobile"><span class="screen-reader-text"><?php
     309                                        /* translators: accessibility text */
     310                                        _e( 'Enter mobile preview mode' );
     311                                ?></span></button>
    288312                        </div>
    289313                        <button type="button" class="collapse-sidebar button-secondary" aria-expanded="true" aria-label="<?php esc_attr_e( 'Collapse Sidebar' ); ?>">
    290314                                <span class="collapse-sidebar-arrow"></span>
  • src/wp-admin/themes.php

     
    404404        <div class="theme-backdrop"></div>
    405405        <div class="theme-wrap wp-clearfix">
    406406                <div class="theme-header">
    407                         <button class="left dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme' ); ?></span></button>
    408                         <button class="right dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show next theme' ); ?></span></button>
    409                         <button class="close dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Close details dialog' ); ?></span></button>
     407                        <button class="left dashicons dashicons-no"><span class="screen-reader-text"><?php
     408                                /* translators: accessibility text */
     409                                _e( 'Show previous theme' );
     410                        ?></span></button>
     411                        <button class="right dashicons dashicons-no"><span class="screen-reader-text"><?php
     412                                /* translators: accessibility text */
     413                                _e( 'Show next theme' );
     414                        ?></span></button>
     415                        <button class="close dashicons dashicons-no"><span class="screen-reader-text"><?php
     416                                /* translators: accessibility text */
     417                                _e( 'Close details dialog' );
     418                        ?></span></button>
    410419                </div>
    411420                <div class="theme-about wp-clearfix">
    412421                        <div class="theme-screenshots">
  • src/wp-admin/tools.php

     
    5151                        <a class="pressthis-bookmarklet" onclick="return false;" href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>"><span><?php _e( 'Press This' ); ?></span></a>
    5252                        <button type="button" class="button button-secondary pressthis-js-toggle js-show-pressthis-code-wrap" aria-expanded="false" aria-controls="pressthis-code-wrap">
    5353                                <span class="dashicons dashicons-clipboard"></span>
    54                                 <span class="screen-reader-text"><?php _e( 'Copy &#8220;Press This&#8221; bookmarklet code' ) ?></span>
     54                                <span class="screen-reader-text"><?php
     55                                        /* translators: accessibility text */
     56                                        _e( 'Copy &#8220;Press This&#8221; bookmarklet code' );
     57                                ?></span>
    5558                        </button>
    5659                </p>
    5760
  • src/wp-admin/update-core.php

     
    296296                        <td class="check-column">
    297297                                <input type="checkbox" name="checked[]" id="<?php echo $checkbox_id; ?>" value="<?php echo esc_attr( $plugin_file ); ?>" />
    298298                                <label for="<?php echo $checkbox_id; ?>" class="screen-reader-text"><?php
    299                                         /* translators: %s: plugin name */
    300                                         printf( __( 'Select %s' ),
    301                                                 $plugin_data->Name
    302                                         );
     299                                        /* translators: accessibility text: %s: plugin name */
     300                                        printf( __( 'Select %s' ), $plugin_data->Name );
    303301                                ?></label>
    304302                        </td>
    305303                        <td class="plugin-title"><p>
     
    367365                        <td class="check-column">
    368366                                <input type="checkbox" name="checked[]" id="<?php echo $checkbox_id; ?>" value="<?php echo esc_attr( $stylesheet ); ?>" />
    369367                                <label for="<?php echo $checkbox_id; ?>" class="screen-reader-text"><?php
    370                                         /* translators: %s: theme name */
    371                                         printf( __( 'Select %s' ),
    372                                                 $theme->display( 'Name' )
    373                                         );
     368                                        /* translators: accessibility text: %s: theme name */
     369                                        printf( __( 'Select %s' ), $theme->display( 'Name' ) );
    374370                                ?></label>
    375371                        </td>
    376372                        <td class="plugin-title"><p>
  • src/wp-admin/user-edit.php

     
    262262<?php endif; ?>
    263263<tr class="show-admin-bar user-admin-bar-front-wrap">
    264264<th scope="row"><?php _e( 'Toolbar' ); ?></th>
    265 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Toolbar') ?></span></legend>
     265<td><fieldset><legend class="screen-reader-text"><span><?php
     266        /* translators: accessibility text */
     267        _e( 'Toolbar' );
     268?></span></legend>
    266269<label for="admin_bar_front">
    267270<input name="admin_bar_front" type="checkbox" id="admin_bar_front" value="1"<?php checked( _get_admin_bar_pref( 'front', $profileuser->ID ) ); ?> />
    268271<?php _e( 'Show Toolbar when viewing site' ); ?></label><br />