Ticket #29748: 29748-wp-admin.patch
File 29748-wp-admin.patch, 117.0 KB (added by , 9 years ago) |
---|
-
src/wp-admin/custom-background.php
294 294 <?php if ( get_background_image() ) : ?> 295 295 <tr> 296 296 <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> 298 301 <label> 299 302 <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' ) ) ); ?> /> 300 303 <?php _e('Left') ?> … … 312 315 313 316 <tr> 314 317 <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> 316 322 <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> 317 323 <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> 318 324 <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> … … 322 328 323 329 <tr> 324 330 <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> 326 335 <label> 327 336 <input name="background-attachment" type="radio" value="scroll" <?php checked( 'scroll', get_theme_mod( 'background_attachment', get_theme_support( 'custom-background', 'default-attachment' ) ) ); ?> /> 328 337 <?php _e( 'Scroll' ); ?> … … 336 345 <?php endif; // get_background_image() ?> 337 346 <tr> 338 347 <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> 340 352 <?php 341 353 $default_color = ''; 342 354 if ( current_theme_supports( 'custom-background', 'default-color' ) ) -
src/wp-admin/customize.php
123 123 <span class="preview"><?php _e( 'Preview' ); ?></span> 124 124 </button> 125 125 <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> 127 130 </a> 128 131 </div> 129 132 … … 134 137 <span class="preview-notice"><?php 135 138 echo sprintf( __( 'You are customizing %s' ), '<strong class="panel-title site-title">' . get_bloginfo( 'name' ) . '</strong>' ); 136 139 ?></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> 138 144 </div> 139 145 <div class="customize-panel-description"><?php 140 146 _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.' ); … … 163 169 } 164 170 ?> 165 171 <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> 167 176 </button> 168 177 <?php endforeach; ?> 169 178 </div> -
src/wp-admin/edit-form-advanced.php
552 552 */ 553 553 $title_placeholder = apply_filters( 'enter_title_here', __( 'Enter title here' ), $post ); 554 554 ?> 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> 556 559 <input type="text" name="post_title" size="30" value="<?php echo esc_attr( $post->post_title ); ?>" id="title" spellcheck="true" autocomplete="off" /> 557 560 </div> 558 561 <?php -
src/wp-admin/edit-form-comment.php
64 64 65 65 <div id="postdiv" class="postarea"> 66 66 <?php 67 /* translators: accessibility text */ 67 68 echo '<label for="content" class="screen-reader-text">' . __( 'Comment' ) . '</label>'; 68 69 $quicktags_settings = array( 'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close' ); 69 70 wp_editor( $comment->comment_content, 'content', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings ) ); … … 81 82 <div id="misc-publishing-actions"> 82 83 83 84 <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> 85 89 <label><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php _ex( 'Approved', 'comment status' ); ?></label><br /> 86 90 <label><input type="radio"<?php checked( $comment->comment_approved, '0' ); ?> name="comment_status" value="0" /><?php _ex( 'Pending', 'comment status' ); ?></label><br /> 87 91 <label><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php _ex( 'Spam', 'comment status' ); ?></label> … … 99 103 '<b>' . date_i18n( $datef, strtotime( $comment->comment_date ) ) . '</b>' 100 104 ); 101 105 ?></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> 103 110 <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> 105 115 <?php touch_time( ( 'editcomment' === $action ), 0 ); ?> 106 116 </fieldset> 107 117 </div> -
src/wp-admin/export.php
161 161 <h2><?php _e( 'Choose what to export' ); ?></h2> 162 162 <form method="get" id="export-filters"> 163 163 <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> 165 168 <input type="hidden" name="download" value="true" /> 166 169 <p><label><input type="radio" name="content" value="all" checked="checked" aria-describedby="all-content-desc" /> <?php _e( 'All content' ); ?></label></p> 167 170 <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> … … 188 191 </li> 189 192 <li> 190 193 <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> 192 198 <label for="post-start-date" class="label-responsive"><?php _e( 'Start date:' ); ?></label> 193 199 <select name="post_start_date" id="post-start-date"> 194 200 <option value="0"><?php _e( '— Select —' ); ?></option> … … 230 236 </li> 231 237 <li> 232 238 <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> 234 243 <label for="page-start-date" class="label-responsive"><?php _e( 'Start date:' ); ?></label> 235 244 <select name="page_start_date" id="page-start-date"> 236 245 <option value="0"><?php _e( '— Select —' ); ?></option> … … 262 271 <ul id="attachment-filters" class="export-filters"> 263 272 <li> 264 273 <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> 266 278 <label for="attachment-start-date" class="label-responsive"><?php _e( 'Start date:' ); ?></label> 267 279 <select name="attachment_start_date" id="attachment-start-date"> 268 280 <option value="0"><?php _e( '— Select —' ); ?></option> -
src/wp-admin/includes/class-theme-installer-skin.php
64 64 $install_actions = array(); 65 65 66 66 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 “%s”' ), $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 “%s”' ), $name ) . '</span></a>'; 68 70 } 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 “%s”' ), $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 “%s”' ), $name ) . '</span></a>'; 70 74 71 75 if ( is_network_admin() && current_user_can( 'manage_network_themes' ) ) 72 76 $install_actions['network_enable'] = '<a href="' . esc_url( wp_nonce_url( 'themes.php?action=enable&theme=' . urlencode( $stylesheet ), 'enable-theme_' . $stylesheet ) ) . '" target="_parent">' . __( 'Network Enable' ) . '</a>'; -
src/wp-admin/includes/class-theme-upgrader-skin.php
50 50 51 51 if ( get_stylesheet() == $stylesheet ) { 52 52 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 “%s”' ), $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 “%s”' ), $name ) . '</span></a>'; 54 56 } 55 57 } elseif ( current_user_can( 'switch_themes' ) ) { 56 58 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 “%s”' ), $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 “%s”' ), $name ) . '</span></a>'; 58 62 } 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 “%s”' ), $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 “%s”' ), $name ) . '</span></a>'; 60 66 } 61 67 62 68 if ( ! $this->result || is_wp_error( $this->result ) || is_network_admin() ) -
src/wp-admin/includes/class-wp-comments-list-table.php
324 324 <?php 325 325 if ( 'top' === $which ) { 326 326 ?> 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> 328 331 <select id="filter-by-comment-type" name="comment_type"> 329 332 <option value=""><?php _e( 'All comment types' ); ?></option> 330 333 <?php … … 613 616 } 614 617 $out .= '</div>'; 615 618 619 /* translators: accessibility text */ 616 620 $out .= '<button type="button" class="toggle-row"><span class="screen-reader-text">' . __( 'Show more details' ) . '</span></button>'; 617 621 618 622 return $out; … … 624 628 */ 625 629 public function column_cb( $comment ) { 626 630 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> 628 635 <input id="cb-select-<?php echo $comment->comment_ID; ?>" type="checkbox" name="delete_comments[]" value="<?php echo $comment->comment_ID; ?>" /> 629 636 <?php 630 637 } -
src/wp-admin/includes/class-wp-links-list-table.php
110 110 'orderby' => 'name', 111 111 ); 112 112 113 /* translators: accessibility text */ 113 114 echo '<label class="screen-reader-text" for="cat_id">' . __( 'Filter by category' ) . '</label>'; 114 115 wp_dropdown_categories( $dropdown_options ); 115 116 submit_button( __( 'Filter' ), 'button', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); … … 169 170 */ 170 171 public function column_cb( $link ) { 171 172 ?> 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> 173 177 <input type="checkbox" name="linkcheck[]" id="cb-select-<?php echo $link->link_id; ?>" value="<?php echo esc_attr( $link->link_id ); ?>" /> 174 178 <?php 175 179 } -
src/wp-admin/includes/class-wp-list-table.php
359 359 echo '<input type="hidden" name="detached" value="' . esc_attr( $_REQUEST['detached'] ) . '" />'; 360 360 ?> 361 361 <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> 363 366 <input type="search" id="<?php echo $input_id ?>" name="s" value="<?php _admin_search_query(); ?>" /> 364 367 <?php submit_button( $text, 'button', '', false, array('id' => 'search-submit') ); ?> 365 368 </p> … … 459 462 if ( empty( $this->_actions ) ) 460 463 return; 461 464 465 /* translators: accessibility text */ 462 466 echo '<label for="bulk-action-selector-' . esc_attr( $which ) . '" class="screen-reader-text">' . __( 'Select bulk action' ) . '</label>'; 463 467 echo '<select name="action' . $two . '" id="bulk-action-selector-' . esc_attr( $which ) . "\">\n"; 464 468 echo '<option value="-1">' . __( 'Bulk Actions' ) . "</option>\n"; … … 521 525 } 522 526 $out .= '</div>'; 523 527 528 /* translators: accessibility text */ 524 529 $out .= '<button type="button" class="toggle-row"><span class="screen-reader-text">' . __( 'Show more details' ) . '</span></button>'; 525 530 526 531 return $out; … … 584 589 585 590 $m = isset( $_GET['m'] ) ? (int) $_GET['m'] : 0; 586 591 ?> 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> 588 596 <select name="m" id="filter-by-date"> 589 597 <option<?php selected( $m, 0 ); ?> value="0"><?php _e( 'All dates' ); ?></option> 590 598 <?php … … 657 665 658 666 // No comments at all. 659 667 if ( ! $approved_comments && ! $pending_comments ) { 668 /* translators: accessibility text */ 660 669 printf( '<span aria-hidden="true">—</span><span class="screen-reader-text">%s</span>', 661 670 __( 'No comments' ) 662 671 ); … … 813 822 814 823 if ( 'bottom' === $which ) { 815 824 $html_current_page = $current; 825 /* translators: accessibility text */ 816 826 $total_pages_before = '<span class="screen-reader-text">' . __( 'Current Page' ) . '</span><span id="table-paging" class="paging-input">'; 817 827 } else { 818 828 $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' />", … … 1067 1077 1068 1078 if ( ! empty( $columns['cb'] ) ) { 1069 1079 static $cb_counter = 1; 1080 /* translators: accessibility text */ 1070 1081 $columns['cb'] = '<label class="screen-reader-text" for="cb-select-all-' . $cb_counter . '">' . __( 'Select All' ) . '</label>' 1071 1082 . '<input id="cb-select-all-' . $cb_counter . '" type="checkbox" />'; 1072 1083 $cb_counter++; … … 1322 1333 * @return string The row actions HTML, or an empty string if the current column is the primary column. 1323 1334 */ 1324 1335 protected function handle_row_actions( $item, $column_name, $primary ) { 1336 /* translators: accessibility text */ 1325 1337 return $column_name === $primary ? '<button type="button" class="toggle-row"><span class="screen-reader-text">' . __( 'Show more details' ) . '</span></button>' : ''; 1326 1338 } 1327 1339 -
src/wp-admin/includes/class-wp-media-list-table.php
232 232 <div class="filter-items"> 233 233 <?php $this->view_switcher( $mode ); ?> 234 234 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> 236 239 <select class="attachment-filters" name="attachment-filter" id="attachment-filter"> 237 240 <?php 238 241 if ( ! empty( $views ) ) { … … 261 264 </div> 262 265 263 266 <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> 265 271 <input type="search" placeholder="<?php esc_attr_e( 'Search' ) ?>" id="media-search-input" class="search" name="s" value="<?php _admin_search_query(); ?>"></div> 266 272 </div> 267 273 <?php … … 306 312 /* translators: column name */ 307 313 if ( !$this->detached ) { 308 314 $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 */ 310 317 $posts_columns['comments'] = '<span class="vers comment-grey-bubble" title="' . esc_attr__( 'Comments' ) . '"><span class="screen-reader-text">' . __( 'Comments' ) . '</span></span>'; 318 } 311 319 } 312 320 /* translators: column name */ 313 321 $posts_columns['date'] = _x( 'Date', 'column name' ); … … 348 356 public function column_cb( $post ) { 349 357 if ( current_user_can( 'edit_post', $post->ID ) ) { ?> 350 358 <label class="screen-reader-text" for="cb-select-<?php echo $post->ID; ?>"><?php 359 /* translators: accessibility text: %s: media */ 351 360 echo sprintf( __( 'Select %s' ), _draft_or_post_title() ); 352 361 ?></label> 353 362 <input type="checkbox" name="media[]" id="cb-select-<?php echo $post->ID; ?>" value="<?php echo $post->ID; ?>" /> … … 392 401 ?> 393 402 </strong> 394 403 <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> 396 408 <?php 397 409 $file = get_attached_file( $post->ID ); 398 410 echo wp_basename( $file ); … … 574 586 /* translators: used between list items, there is a space after the comma */ 575 587 echo join( __( ', ' ), $out ); 576 588 } else { 589 /* translators: accessibility text */ 577 590 echo '<span aria-hidden="true">—</span><span class="screen-reader-text">' . get_taxonomy( $taxonomy )->labels->no_terms . '</span>'; 578 591 } 579 592 -
src/wp-admin/includes/class-wp-ms-sites-list-table.php
258 258 $blogname = untrailingslashit( $blog['domain'] . $blog['path'] ); 259 259 ?> 260 260 <label class="screen-reader-text" for="blog_<?php echo $blog['blog_id']; ?>"><?php 261 /* translators: accessibility text: %s: site */ 261 262 printf( __( 'Select %s' ), $blogname ); 262 263 ?></label> 263 264 <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
357 357 $checkbox_id = 'checkbox_' . md5( $theme->get('Name') ); 358 358 ?> 359 359 <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> 361 364 <?php 362 365 } 363 366 -
src/wp-admin/includes/class-wp-ms-users-list-table.php
208 208 return; 209 209 } 210 210 ?> 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> 212 215 <input type="checkbox" id="blog_<?php echo $user->ID ?>" name="allusers[]" value="<?php echo esc_attr( $user->ID ) ?>" /> 213 216 <?php 214 217 } -
src/wp-admin/includes/class-wp-plugins-list-table.php
688 688 if ( $restrict_network_active || $restrict_network_only || in_array( $status, array( 'mustuse', 'dropins' ) ) ) { 689 689 $checkbox = ''; 690 690 } 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>" 692 694 . "<input type='checkbox' name='checked[]' value='" . esc_attr( $plugin_file ) . "' id='" . $checkbox_id . "' />"; 693 695 } 694 696 if ( 'dropins' != $context ) { -
src/wp-admin/includes/class-wp-posts-list-table.php
434 434 'selected' => $cat 435 435 ); 436 436 437 /* translators: accessibility text */ 437 438 echo '<label class="screen-reader-text" for="cat">' . __( 'Filter by category' ) . '</label>'; 438 439 wp_dropdown_categories( $dropdown_options ); 439 440 } … … 541 542 542 543 $post_status = !empty( $_REQUEST['post_status'] ) ? $_REQUEST['post_status'] : 'all'; 543 544 if ( post_type_supports( $post_type, 'comments' ) && !in_array( $post_status, array( 'pending', 'draft', 'future' ) ) ) 545 /* translators: accessibility text */ 544 546 $posts_columns['comments'] = '<span class="vers comment-grey-bubble" title="' . esc_attr__( 'Comments' ) . '"><span class="screen-reader-text">' . __( 'Comments' ) . '</span></span>'; 545 547 546 548 $posts_columns['date'] = __( 'Date' ); … … 801 803 public function column_cb( $post ) { 802 804 if ( current_user_can( 'edit_post', $post->ID ) ): ?> 803 805 <label class="screen-reader-text" for="cb-select-<?php the_ID(); ?>"><?php 806 /* translators: accessibility text */ 804 807 printf( __( 'Select %s' ), _draft_or_post_title() ); 805 808 ?></label> 806 809 <input id="cb-select-<?php the_ID(); ?>" type="checkbox" name="post[]" value="<?php the_ID(); ?>" /> … … 1063 1066 /* translators: used between list items, there is a space after the comma */ 1064 1067 echo join( __( ', ' ), $out ); 1065 1068 } else { 1069 /* translators: accessibility text */ 1066 1070 echo '<span aria-hidden="true">—</span><span class="screen-reader-text">' . $taxonomy_object->labels->no_terms . '</span>'; 1067 1071 } 1068 1072 return; -
src/wp-admin/includes/class-wp-press-this.php
823 823 824 824 ?> 825 825 <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> 827 830 <input type="radio" name="post_format" class="post-format" id="post-format-0" value="0" <?php checked( $post_format, '0' ); ?> /> 828 831 <label for="post-format-0" class="post-format-icon post-format-standard"><?php echo get_post_format_string( 'standard' ); ?></label> 829 832 <?php … … 859 862 if ( current_user_can( $taxonomy->cap->edit_terms ) ) { 860 863 ?> 861 864 <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> 863 869 </button> 864 870 <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> 866 875 <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> 868 880 <div class="postform-wrapper"> 869 881 <?php 870 882 wp_dropdown_categories( array( … … 886 898 <div class="categories-search-wrapper"> 887 899 <input id="categories-search" type="search" class="categories-search" placeholder="<?php esc_attr_e( 'Search categories by name' ) ?>"> 888 900 <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> 890 905 </label> 891 906 </div> 892 907 <div aria-label="<?php esc_attr_e( 'Categories' ); ?>"> … … 923 938 if ( $user_can_assign_terms ) { 924 939 ?> 925 940 <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> 927 945 <p> 928 946 <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" /> 929 947 <button type="button" class="tagadd"><?php _e( 'Add' ); ?></button> … … 1330 1348 </h1> 1331 1349 <button type="button" class="options button-link closed"> 1332 1350 <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> 1334 1355 <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> 1336 1360 </button> 1337 1361 </div> 1338 1362 1339 1363 <div id="scanbar" class="scan"> 1340 1364 <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> 1342 1369 <input type="url" name="u" id="url-scan" class="scan-url" value="" placeholder="<?php esc_attr_e( 'Enter a URL to scan' ) ?>" /> 1343 1370 <input type="submit" name="url-scan-submit" id="url-scan-submit" class="scan-submit" value="<?php esc_attr_e( 'Scan' ) ?>" /> 1344 1371 </form> … … 1380 1407 1381 1408 <div class="media-list-container"> 1382 1409 <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> 1384 1414 <ul class="media-list"></ul> 1385 1415 </div> 1386 1416 </div> … … 1443 1473 <button type="button" class="button-link modal-close"> 1444 1474 <span class="dashicons post-option-back"></span> 1445 1475 <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> 1447 1480 </button> 1448 1481 <?php $this->post_formats_html( $post ); ?> 1449 1482 </div> … … 1453 1486 <button type="button" class="button-link modal-close"> 1454 1487 <span class="dashicons post-option-back"></span> 1455 1488 <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> 1457 1493 </button> 1458 1494 <?php $this->categories_html( $post ); ?> 1459 1495 </div> … … 1462 1498 <button type="button" class="button-link modal-close"> 1463 1499 <span class="dashicons post-option-back"></span> 1464 1500 <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> 1466 1505 </button> 1467 1506 <?php $this->tags_html( $post ); ?> 1468 1507 </div> … … 1473 1512 <div class="pressthis-media-buttons"> 1474 1513 <button type="button" class="insert-media button-link" data-editor="pressthis"> 1475 1514 <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> 1477 1519 </button> 1478 1520 </div> 1479 1521 <div class="post-actions"> … … 1485 1527 <span class="saving-draft"><?php _e( 'Saving…' ); ?></span> 1486 1528 </button><button type="button" class="split-button-toggle" aria-haspopup="true" aria-expanded="false"> 1487 1529 <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> 1489 1534 </button> 1490 1535 </div> 1491 1536 <ul class="split-button-body"> -
src/wp-admin/includes/class-wp-screen.php
1249 1249 if ( ! isset( $this->_screen_reader_content[ $key ] ) ) { 1250 1250 return; 1251 1251 } 1252 /* translators: accessibility text */ 1252 1253 echo "<$tag class='screen-reader-text'>" . $this->_screen_reader_content[ $key ] . "</$tag>"; 1253 1254 } 1254 1255 } -
src/wp-admin/includes/class-wp-terms-list-table.php
335 335 $default_term = get_option( 'default_' . $this->screen->taxonomy ); 336 336 337 337 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>' 339 341 . '<input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" id="cb-select-' . $tag->term_id . '" />'; 340 342 341 343 return ' '; -
src/wp-admin/includes/class-wp-users-list-table.php
261 261 ?> 262 262 <div class="alignleft actions"> 263 263 <?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…' ) ?></label> 264 <label class="screen-reader-text" for="<?php echo $id ?>"><?php 265 /* translators: accessibility text */ 266 _e( 'Change role to…' ); 267 ?></label> 265 268 <select name="<?php echo $id ?>" id="<?php echo $id ?>"> 266 269 <option value=""><?php _e( 'Change role to…' ) ?></option> 267 270 <?php wp_dropdown_roles(); ?> … … 429 432 $role_classes = esc_attr( implode( ' ', array_keys( $user_roles ) ) ); 430 433 431 434 // 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>' 433 438 . "<input type='checkbox' name='users[]' id='user_{$user_object->ID}' class='{$role_classes}' value='{$user_object->ID}' />"; 434 439 435 440 } else { … … 482 487 if ( $numposts > 0 ) { 483 488 $r .= "<a href='edit.php?author=$user_object->ID' class='edit'>"; 484 489 $r .= '<span aria-hidden="true">' . $numposts . '</span>'; 490 /* translators: accessibility text */ 485 491 $r .= '<span class="screen-reader-text">' . sprintf( _n( '%s post by this author', '%s posts by this author', $numposts ), number_format_i18n( $numposts ) ) . '</span>'; 486 492 $r .= '</a>'; 487 493 } else { -
src/wp-admin/includes/dashboard.php
417 417 418 418 <form action="<?php echo network_admin_url('users.php'); ?>" method="get"> 419 419 <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> 421 424 <input type="search" name="s" value="" size="30" autocomplete="off" id="search-users"/> 422 425 <?php submit_button( __( 'Search Users' ), 'button', false, false, array( 'id' => 'submit_users' ) ); ?> 423 426 </p> … … 425 428 426 429 <form action="<?php echo network_admin_url('sites.php'); ?>" method="get"> 427 430 <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> 429 435 <input type="search" name="s" value="" size="30" autocomplete="off" id="search-sites"/> 430 436 <?php submit_button( __( 'Search Sites' ), 'button', false, false, array( 'id' => 'submit_sites' ) ); ?> 431 437 </p> … … 494 500 495 501 <?php 496 502 /** This filter is documented in wp-admin/edit-form-advanced.php */ 503 /* translators: accessibility text */ 497 504 echo apply_filters( 'enter_title_here', __( 'Title' ), $post ); 498 505 ?> 499 506 </label> … … 501 508 </div> 502 509 503 510 <div class="textarea-wrap" id="description-wrap"> 504 <label class="screen-reader-text prompt" for="content" id="content-prompt-text"><?php _e( 'What’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’s on your mind?' ); 514 ?></label> 505 515 <textarea name="content" id="content" class="mceEditor" rows="3" cols="15" autocomplete="off"></textarea> 506 516 </div> 507 517 … … 913 923 echo '</ul>'; 914 924 915 925 if ( current_user_can( 'edit_posts' ) ) { 926 /* translators: accessibility text */ 916 927 echo '<h3 class="screen-reader-text">' . __( 'View more comments' ) . '</h3>'; 917 928 _get_list_table( 'WP_Comments_List_Table' )->views(); 918 929 } … … 1293 1304 number_format_i18n( $quota ) 1294 1305 ); 1295 1306 printf( 1307 /* translators: 1: upload URL, 2: upload, 3: accessibility text */ 1296 1308 '<a href="%1$s">%2$s <span class="screen-reader-text">(%3$s)</span></a>', 1297 1309 esc_url( admin_url( 'upload.php' ) ), 1298 1310 $text, … … 1306 1318 $percentused 1307 1319 ); 1308 1320 printf( 1321 /* translators: 1: upload URL, 2: upload, 3: accessibility text */ 1309 1322 '<a href="%1$s" class="musublink">%2$s <span class="screen-reader-text">(%3$s)</span></a>', 1310 1323 esc_url( admin_url( 'upload.php' ) ), 1311 1324 $text, -
src/wp-admin/includes/image-edit.php
47 47 <div class="imgedit-group"> 48 48 <div class="imgedit-group-top"> 49 49 <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> 51 54 <div class="imgedit-help"> 52 55 <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> 53 56 </div> … … 59 62 <fieldset class="imgedit-scale"> 60 63 <legend><?php _e( 'New dimensions:' ); ?></legend> 61 64 <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> 63 69 <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; ?>" /> 64 70 </label> 65 71 <span class="imgedit-separator">×</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> 67 76 <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; ?>" /> 68 77 </label> 69 78 <span class="imgedit-scale-warn" id="imgedit-scale-warn-<?php echo $post_id; ?>">!</span> … … 99 108 <div class="imgedit-group"> 100 109 <div class="imgedit-group-top"> 101 110 <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> 103 115 104 116 <div class="imgedit-help"> 105 117 <p><?php _e('To crop the image, click on it and drag to make your selection.'); ?></p> … … 115 127 <fieldset class="imgedit-crop-ratio"> 116 128 <legend><?php _e( 'Aspect ratio:' ); ?></legend> 117 129 <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> 119 134 <input type="text" id="imgedit-crop-width-<?php echo $post_id; ?>" onkeyup="imageEdit.setRatioSelection(<?php echo $post_id; ?>, 0, this)" /> 120 135 </label> 121 136 <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> 123 141 <input type="text" id="imgedit-crop-height-<?php echo $post_id; ?>" onkeyup="imageEdit.setRatioSelection(<?php echo $post_id; ?>, 1, this)" /> 124 142 </label> 125 143 </div> … … 128 146 <fieldset id="imgedit-crop-sel-<?php echo $post_id; ?>" class="imgedit-crop-sel"> 129 147 <legend><?php _e( 'Selection:' ); ?></legend> 130 148 <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> 132 153 <input type="text" id="imgedit-sel-width-<?php echo $post_id; ?>" onkeyup="imageEdit.setNumSelection(<?php echo $post_id; ?>)" /> 133 154 </label> 134 155 <span class="imgedit-separator">×</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> 136 160 <input type="text" id="imgedit-sel-height-<?php echo $post_id; ?>" onkeyup="imageEdit.setNumSelection(<?php echo $post_id; ?>)" /> 137 161 </label> 138 162 </div> … … 147 171 <div class="imgedit-group imgedit-applyto"> 148 172 <div class="imgedit-group-top"> 149 173 <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> 151 178 <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> 152 179 </div> 153 180 … … 182 209 <div class="imgedit-panel-content wp-clearfix"> 183 210 <?php echo $note; ?> 184 211 <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 186 216 187 217 // On some setups GD library does not provide imagerotate() - Ticket #11536 188 218 if ( wp_image_editor_supports( array( 'mime_type' => get_post_mime_type( $post_id ), 'methods' => array( 'rotate' ) ) ) ) { 189 219 $note_no_rotate = ''; 190 220 ?> 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> 193 229 <?php } else { 194 230 $note_no_rotate = '<p class="note-no-rotate"><em>' . __( 'Image rotation is not supported by your web host.' ) . '</em></p>'; 195 231 ?> … … 197 233 <button type="button" class="imgedit-rright button disabled" disabled></button> 198 234 <?php } ?> 199 235 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> 202 244 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> 205 253 <?php echo $note_no_rotate; ?> 206 254 </div> 207 255 -
src/wp-admin/includes/media.php
1940 1940 do_action( 'pre-html-upload-ui' ); 1941 1941 ?> 1942 1942 <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> 1944 1947 <input type="file" name="async-upload" id="async-upload" /> 1945 1948 <?php submit_button( __( 'Upload' ), 'primary', 'html-upload', false ); ?> 1946 1949 <a href="#" onclick="try{top.tb_remove();}catch(e){}; return false;"><?php _e('Cancel'); ?></a> … … 2382 2385 <input type="hidden" name="context" value="<?php echo isset( $_GET['context'] ) ? esc_attr( $_GET['context'] ) : ''; ?>" /> 2383 2386 2384 2387 <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> 2386 2392 <input type="search" id="media-search-input" name="s" value="<?php the_search_query(); ?>" /> 2387 2393 <?php submit_button( __( 'Search Media' ), 'button', '', false ); ?> 2388 2394 </p> -
src/wp-admin/includes/meta-boxes.php
98 98 ?> 99 99 </span> 100 100 <?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> 102 105 103 106 <div id="post-status-select" class="hide-if-js"> 104 107 <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); ?>" /> … … 144 147 145 148 echo esc_html( $visibility_trans ); ?></span> 146 149 <?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> 148 154 149 155 <div id="post-visibility-select" class="hide-if-js"> 150 156 <input type="hidden" name="hidden_post_password" id="hidden-post-password" value="<?php echo esc_attr($post->post_password); ?>" /> … … 193 199 if ( ! empty( $args['args']['revisions_count'] ) ) : ?> 194 200 <div class="misc-pub-section misc-pub-revisions"> 195 201 <?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> 197 206 </div> 198 207 <?php endif; 199 208 … … 201 210 <div class="misc-pub-section curtime misc-pub-curtime"> 202 211 <span id="timestamp"> 203 212 <?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> 205 217 <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> 207 222 <?php touch_time( ( $action === 'edit' ), 1 ); ?> 208 223 </fieldset> 209 224 </div><?php // /misc-pub-section ?> … … 373 388 ?> 374 389 <div id="post-formats-select"> 375 390 <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> 377 395 <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> 378 396 <?php foreach ( $post_formats[0] as $format ) : ?> 379 397 <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> … … 429 447 </div> 430 448 <?php if ( $user_can_assign_terms ) : ?> 431 449 <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> 433 454 <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="" /> 434 455 <input type="button" class="button tagadd" value="<?php esc_attr_e('Add'); ?>" /></p> 435 456 </div> … … 506 527 ?> 507 528 </a> 508 529 <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> 510 534 <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> 514 539 <?php 515 540 $parent_dropdown_args = array( 516 541 'taxonomy' => $tax_name, … … 568 593 */ 569 594 function post_excerpt_meta_box($post) { 570 595 ?> 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> 572 600 <p><?php 573 601 printf( 574 602 /* translators: %s: Codex URL */ … … 737 765 /** This filter is documented in wp-admin/edit-tag-form.php */ 738 766 $editable_slug = apply_filters( 'editable_slug', $post->post_name, $post ); 739 767 ?> 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 ); ?>" /> 741 772 <?php 742 773 } 743 774 … … 753 784 function post_author_meta_box($post) { 754 785 global $user_ID; 755 786 ?> 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> 757 791 <?php 758 792 wp_dropdown_users( array( 759 793 'who' => 'authors', … … 812 846 if ( ! empty($pages) ) { 813 847 ?> 814 848 <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> 816 853 <?php echo $pages; ?> 817 854 <?php 818 855 } // end empty pages check … … 832 869 */ 833 870 do_action( 'page_attributes_meta_box_template', $template, $post ); 834 871 ?></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"> 836 876 <?php 837 877 /** 838 878 * Filters the title of the default page template displayed in the drop-down. … … 851 891 <?php 852 892 } ?> 853 893 <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> 855 898 <?php if ( 'page' == $post->post_type && get_current_screen()->get_help_tabs() ) { ?> 856 899 <p><?php _e( 'Need help? Use the Help tab in the upper right of your screen.' ); ?></p> 857 900 <?php … … 964 1007 <div id="category-adder" class="wp-hidden-children"> 965 1008 <a id="category-add-toggle" href="#category-add" class="taxonomy-add-new"><?php _e( '+ Add New Category' ); ?></a> 966 1009 <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> 968 1014 <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" aria-required="true" /> 969 1015 <input type="button" id="link-category-add-submit" data-wp-lists="add:categorychecklist:link-category-add" class="button" value="<?php esc_attr_e( 'Add' ); ?>" /> 970 1016 <?php wp_nonce_field( 'add-link-category', '_ajax_nonce', false ); ?> … … 983 1029 * @param object $link 984 1030 */ 985 1031 function 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> 987 1036 <p><label for="link_target_blank" class="selectit"> 988 1037 <input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo ( isset( $link->link_target ) && ($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> /> 989 1038 <?php _e('<code>_blank</code> — new window or tab.'); ?></label></p> … … 1046 1095 </tr> 1047 1096 <tr> 1048 1097 <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> 1050 1102 <label for="me"> 1051 1103 <input type="checkbox" name="identity" value="me" id="me" <?php xfn_check('identity', 'me'); ?> /> 1052 1104 <?php _e('another web address of mine') ?></label> … … 1054 1106 </tr> 1055 1107 <tr> 1056 1108 <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> 1058 1113 <label for="contact"> 1059 1114 <input class="valinp" type="radio" name="friendship" value="contact" id="contact" <?php xfn_check('friendship', 'contact'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('contact') ?> 1060 1115 </label> … … 1071 1126 </tr> 1072 1127 <tr> 1073 1128 <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> 1075 1133 <label for="met"> 1076 1134 <input class="valinp" type="checkbox" name="physical" value="met" id="met" <?php xfn_check('physical', 'met'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('met') ?> 1077 1135 </label> … … 1079 1137 </tr> 1080 1138 <tr> 1081 1139 <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> 1083 1144 <label for="co-worker"> 1084 1145 <input class="valinp" type="checkbox" name="professional" value="co-worker" id="co-worker" <?php xfn_check('professional', 'co-worker'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-worker') ?> 1085 1146 </label> … … 1090 1151 </tr> 1091 1152 <tr> 1092 1153 <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> 1094 1158 <label for="co-resident"> 1095 1159 <input class="valinp" type="radio" name="geographical" value="co-resident" id="co-resident" <?php xfn_check('geographical', 'co-resident'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('co-resident') ?> 1096 1160 </label> … … 1104 1168 </tr> 1105 1169 <tr> 1106 1170 <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> 1108 1175 <label for="child"> 1109 1176 <input class="valinp" type="radio" name="family" value="child" id="child" <?php xfn_check('family', 'child'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('child') ?> 1110 1177 </label> … … 1127 1194 </tr> 1128 1195 <tr> 1129 1196 <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> 1131 1201 <label for="muse"> 1132 1202 <input class="valinp" type="checkbox" name="romantic" value="muse" id="muse" <?php xfn_check('romantic', 'muse'); ?> /> <?php /* translators: xfn: http://gmpg.org/xfn/ */ _e('muse') ?> 1133 1203 </label> -
src/wp-admin/includes/misc.php
656 656 657 657 ?> 658 658 <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> 660 663 <?php 661 664 wp_nonce_field( 'save-color-scheme', 'color-nonce', false ); 662 665 foreach ( $_wp_admin_css_colors as $color => $color_info ) : -
src/wp-admin/includes/ms.php
502 502 <th><label for="blog-upload-space-number"><?php _e( 'Site Upload Space Quota' ); ?></label></th> 503 503 <td> 504 504 <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> 506 509 </td> 507 510 </tr> 508 511 <?php … … 953 956 $blog_users = get_users( array( 'blog_id' => $details->userblog_id, 'fields' => array( 'ID', 'user_login' ) ) ); 954 957 if ( is_array( $blog_users ) && !empty( $blog_users ) ) { 955 958 $user_site = "<a href='" . esc_url( get_home_url( $details->userblog_id ) ) . "'>{$details->blogname}</a>"; 959 /* translators: accessibility text */ 956 960 $user_dropdown = '<label for="reassign_user" class="screen-reader-text">' . __( 'Select a user' ) . '</label>'; 957 961 $user_dropdown .= "<select name='blog[$user_id][$key]' id='reassign_user'>"; 958 962 $user_list = ''; -
src/wp-admin/includes/nav-menu.php
431 431 } 432 432 ?> 433 433 <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> 435 438 <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; ?>" /> 436 439 <span class="spinner"></span> 437 440 <?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 ) ); ?> … … 711 714 } 712 715 ?> 713 716 <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> 715 721 <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; ?>" /> 716 722 <span class="spinner"></span> 717 723 <?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
269 269 <option value="tag"<?php selected('tag', $type) ?>><?php _ex('Tag', 'Plugin Installer'); ?></option> 270 270 </select> 271 271 <?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> 273 276 <input type="search" name="s" value="<?php echo esc_attr($term) ?>" <?php echo $input_attrs; ?>/> 274 277 </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 ?> 276 282 </form><?php 277 283 } 278 284 … … 286 292 <p class="install-help"><?php _e('If you have a plugin in a .zip format, you may install it by uploading it here.'); ?></p> 287 293 <form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url('update.php?action=upload-plugin'); ?>"> 288 294 <?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> 290 299 <input type="file" id="pluginzip" name="pluginzip" /> 291 300 <?php submit_button( __( 'Install Now' ), 'button', 'install-plugin-submit', false ); ?> 292 301 </form> -
src/wp-admin/includes/template.php
398 398 </legend> 399 399 400 400 <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> 402 405 <?php 403 406 $quicktags_settings = array( 'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close' ); 404 407 wp_editor( '', 'replycontent', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings ) ); … … 554 557 $delete_nonce = wp_create_nonce( 'delete-meta_' . $entry['meta_id'] ); 555 558 556 559 $r .= "\n\t<tr id='meta-{$entry['meta_id']}'>"; 560 /* translators: accessibility text */ 557 561 $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']}' />"; 558 562 559 563 $r .= "\n\t\t<div class='submit'>"; … … 564 568 $r .= wp_nonce_field( 'change-meta', '_ajax_nonce', false, false ); 565 569 $r .= "</td>"; 566 570 571 /* translators: accessibility text */ 567 572 $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>"; 568 573 return $r; 569 574 } … … 710 715 $cur_hh = gmdate( 'H', $time_adj ); 711 716 $cur_mn = gmdate( 'i', $time_adj ); 712 717 718 /* translators: accessibility text */ 713 719 $month = '<label><span class="screen-reader-text">' . __( 'Month' ) . '</span><select ' . ( $multi ? '' : 'id="mm" ' ) . 'name="mm"' . $tab_index_attribute . ">\n"; 714 720 for ( $i = 1; $i < 13; $i = $i +1 ) { 715 721 $monthnum = zeroise($i, 2); … … 720 726 } 721 727 $month .= '</select></label>'; 722 728 729 /* translators: accessibility text */ 723 730 $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 */ 724 732 $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 */ 725 734 $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 */ 726 736 $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>'; 727 737 728 738 echo '<div class="timestamp-wrap">'; … … 1028 1038 echo '<div id="' . $box['id'] . '" class="postbox ' . postbox_classes($box['id'], $page) . $hidden_class . '" ' . '>' . "\n"; 1029 1039 if ( 'dashboard_browser_nag' != $box['id'] ) { 1030 1040 echo '<button type="button" class="handlediv button-link" aria-expanded="true">'; 1041 /* translators: accessibility text */ 1031 1042 echo '<span class="screen-reader-text">' . sprintf( __( 'Toggle panel: %s' ), $box['title'] ) . '</span>'; 1032 1043 echo '<span class="toggle-indicator" aria-hidden="true"></span>'; 1033 1044 echo '</button>'; … … 1150 1161 <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'] ); ?>"> 1151 1162 <h3 class="accordion-section-title hndle" tabindex="0"> 1152 1163 <?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> 1154 1168 </h3> 1155 1169 <div class="accordion-section-content <?php postbox_classes( $box['id'], $page ); ?>"> 1156 1170 <div class="inside"> … … 1487 1501 <div id="find-posts" class="find-box" style="display: none;"> 1488 1502 <div id="find-posts-head" class="find-box-head"> 1489 1503 <?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> 1491 1508 </div> 1492 1509 <div class="find-box-inside"> 1493 1510 <div class="find-box-search"> … … 1496 1513 <?php } ?> 1497 1514 <input type="hidden" name="affected" id="affected" value="" /> 1498 1515 <?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> 1500 1520 <input type="text" id="find-posts-input" name="ps" value="" /> 1501 1521 <span class="spinner"></span> 1502 1522 <input type="button" id="find-posts-search" value="<?php esc_attr_e( 'Search' ); ?>" class="button" /> … … 2070 2090 } 2071 2091 2072 2092 $output = '<div class="star-rating">'; 2093 /* translators: accessibility text */ 2073 2094 $output .= '<span class="screen-reader-text">' . $title . '</span>'; 2074 2095 $output .= str_repeat( '<div class="star star-full" aria-hidden="true"></div>', $full_stars ); 2075 2096 $output .= str_repeat( '<div class="star star-half" aria-hidden="true"></div>', $half_stars ); -
src/wp-admin/includes/theme-install.php
62 62 <form id="search-themes" method="get"> 63 63 <input type="hidden" name="tab" value="search" /> 64 64 <?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> 66 69 <select name="type" id="typeselector"> 67 70 <option value="term" <?php selected('term', $type) ?>><?php _e('Keyword'); ?></option> 68 71 <option value="author" <?php selected('author', $type) ?>><?php _e('Author'); ?></option> … … 71 74 <label class="screen-reader-text" for="s"><?php 72 75 switch ( $type ) { 73 76 case 'term': 77 /* translators: accessibility text */ 74 78 _e( 'Search by keyword' ); 75 79 break; 76 80 case 'author': 81 /* translators: accessibility text */ 77 82 _e( 'Search by author' ); 78 83 break; 79 84 case 'tag': 85 /* translators: accessibility text */ 80 86 _e( 'Search by tag' ); 81 87 break; 82 88 } 83 89 ?></label> 84 90 <?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> 86 95 <?php endif; ?> 87 96 <input type="search" name="s" id="s" size="30" value="<?php echo esc_attr($term) ?>" autofocus="autofocus" /> 88 97 <?php submit_button( __( 'Search' ), 'button', 'search', false ); ?> … … 143 152 <p class="install-help"><?php _e('If you have a theme in a .zip format, you may install it by uploading it here.'); ?></p> 144 153 <form method="post" enctype="multipart/form-data" class="wp-upload-form" action="<?php echo self_admin_url('update.php?action=upload-theme'); ?>"> 145 154 <?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> 147 159 <input type="file" id="themezip" name="themezip" /> 148 160 <?php submit_button( __( 'Install Now' ), 'button', 'install-theme-submit', false ); ?> 149 161 </form> -
src/wp-admin/includes/theme.php
600 600 <div class="theme-backdrop"></div> 601 601 <div class="theme-wrap wp-clearfix"> 602 602 <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> 606 615 </div> 607 616 <div class="theme-about wp-clearfix"> 608 617 <div class="theme-screenshots"> -
src/wp-admin/includes/translation-install.php
133 133 134 134 $installed_languages = get_available_languages(); 135 135 136 /* translators: accessibility text */ 136 137 echo "<label class='screen-reader-text' for='language'>Select a default language</label>\n"; 137 138 echo "<select size='14' name='language' id='language'>\n"; 138 139 echo '<option value="" lang="en" selected="selected" data-continue="Continue" data-installed="1">English (United States)</option>'; -
src/wp-admin/includes/widgets.php
223 223 <a class="widget-control-edit hide-if-js" href="<?php echo esc_url( add_query_arg( $query_arg ) ); ?>"> 224 224 <span class="edit"><?php _ex( 'Edit', 'widget' ); ?></span> 225 225 <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> 227 230 </a> 228 231 </div> 229 232 <div class="widget-title"><h3><?php echo $widget_title; ?><span class="in-widget-title"></span></h3></div> … … 278 281 */ 279 282 function wp_widgets_access_body_class($classes) { 280 283 return "$classes widgets_access "; 281 } 282 No newline at end of file 284 } -
src/wp-admin/install.php
182 182 <th scope="row"><?php has_action( 'blog_privacy_selector' ) ? _e( 'Site Visibility' ) : _e( 'Search Engine Visibility' ); ?></th> 183 183 <td> 184 184 <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> 186 189 <?php 187 190 if ( has_action( 'blog_privacy_selector' ) ) { ?> 188 191 <input id="blog-public" type="radio" name="blog_public" value="1" <?php checked( 1, $blog_public ); ?> /> -
src/wp-admin/maint/repair.php
29 29 30 30 if ( ! defined( 'WP_ALLOW_REPAIR' ) ) { 31 31 32 /* translators: accessibility text */ 32 33 echo '<h1 class="screen-reader-text">' . __( 'Allow automatic database repair' ) . '</h1>'; 33 34 34 35 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>"; … … 57 58 58 59 if ( $duplicated_keys || $missing_key ) { 59 60 61 /* translators: accessibility text */ 60 62 echo '<h2 class="screen-reader-text">' . __( 'Check secret keys' ) . '</h2>'; 61 63 62 / / Translators: 1: wp-config.php; 2: Secret key service URL.64 /* translators: 1: wp-config.php; 2: Secret key service URL */ 63 65 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>'; 64 66 } 65 67 66 68 } elseif ( isset( $_GET['repair'] ) ) { 67 69 70 /* translators: accessibility text */ 68 71 echo '<h1 class="screen-reader-text">' . __( 'Database repair results' ) . '</h1>'; 69 72 70 73 $optimize = 2 == $_GET['repair']; … … 148 151 } 149 152 } else { 150 153 154 /* translators: accessibility text */ 151 155 echo '<h1 class="screen-reader-text">' . __( 'WordPress database repair' ) . '</h1>'; 152 156 153 157 if ( isset( $_GET['referrer'] ) && 'is_blog_installed' == $_GET['referrer'] ) -
src/wp-admin/nav-menus.php
656 656 <?php if ( isset( $menu_locations[ $_location ] ) && 0 != $menu_locations[ $_location ] ) : ?> 657 657 <span class="locations-edit-menu-link"> 658 658 <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> 660 663 </a> 661 664 </span> 662 665 <?php endif; ?> -
src/wp-admin/network/settings.php
131 131 ?> 132 132 <td> 133 133 <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> 135 138 <label><input name="registration" type="radio" id="registration1" value="none"<?php checked( $reg, 'none') ?> /> <?php _e( 'Registration is disabled.' ); ?></label><br /> 136 139 <label><input name="registration" type="radio" id="registration2" value="user"<?php checked( $reg, 'user') ?> /> <?php _e( 'User accounts may be registered.' ); ?></label><br /> 137 140 <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 /> … … 280 283 <th scope="row"><?php _e( 'Site upload space' ) ?></th> 281 284 <td> 282 285 <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> 286 290 </td> 287 291 </tr> 288 292 … … 300 304 <th scope="row"><label for="fileupload_maxk"><?php _e( 'Max upload file size' ) ?></label></th> 301 305 <td> 302 306 <?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> 306 311 </td> 307 312 </tr> 308 313 </table> … … 364 369 $menu_items = apply_filters( 'mu_menu_items', array( 'plugins' => __( 'Plugins' ) ) ); 365 370 $fieldset_end = ''; 366 371 if ( count( (array) $menu_items ) > 1 ) { 372 /* translators: accessibility text */ 367 373 echo '<fieldset><legend class="screen-reader-text">' . __( 'Enable menus' ) . '</legend>'; 368 374 $fieldset_end = '</fieldset>'; 369 375 } -
src/wp-admin/network/site-info.php
197 197 <th scope="row"><?php _e( 'Attributes' ); ?></th> 198 198 <td> 199 199 <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> 201 204 <?php foreach ( $attribute_fields as $field_key => $field_label ) : ?> 202 205 <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 ) ) ); ?> /> 203 206 <?php echo $field_label; ?></label><br/> -
src/wp-admin/options-discussion.php
41 41 <table class="form-table"> 42 42 <tr> 43 43 <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> 45 48 <label for="default_pingback_flag"> 46 49 <input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_option('default_pingback_flag')); ?> /> 47 50 <?php _e('Attempt to notify any blogs linked to from the article'); ?></label> … … 59 62 </tr> 60 63 <tr> 61 64 <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> 63 69 <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> 64 70 <br /> 65 71 <label for="comment_registration"> … … 126 132 </tr> 127 133 <tr> 128 134 <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> 130 139 <label for="comments_notify"> 131 140 <input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_option('comments_notify')); ?> /> 132 141 <?php _e('Anyone posts a comment'); ?> </label> … … 138 147 </tr> 139 148 <tr> 140 149 <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> 142 154 <label for="comment_moderation"> 143 155 <input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_option('comment_moderation')); ?> /> 144 156 <?php _e('Comment must be manually approved'); ?> </label> … … 148 160 </tr> 149 161 <tr> 150 162 <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> 152 167 <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> 153 168 154 169 <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 “press” will match “WordPress”.'); ?></label></p> … … 159 174 </tr> 160 175 <tr> 161 176 <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> 163 181 <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 “press” will match “WordPress”.'); ?></label></p> 164 182 <p> 165 183 <textarea name="blacklist_keys" rows="10" cols="50" id="blacklist_keys" class="large-text code"><?php echo esc_textarea( get_option( 'blacklist_keys' ) ); ?></textarea> … … 182 200 <table class="form-table"> 183 201 <tr> 184 202 <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> 186 207 <label for="show_avatars"> 187 208 <input type="checkbox" id="show_avatars" name="show_avatars" value="1" <?php checked( $show_avatars, 1 ); ?> /> 188 209 <?php _e( 'Show Avatars' ); ?> … … 191 212 </tr> 192 213 <tr class="avatar-settings<?php if ( ! $show_avatars ) echo ' hide-if-js'; ?>"> 193 214 <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> 195 219 196 220 <?php 197 221 $ratings = array( … … 214 238 </tr> 215 239 <tr class="avatar-settings<?php if ( ! $show_avatars ) echo ' hide-if-js'; ?>"> 216 240 <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> 218 245 219 246 <?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 /> 220 247 -
src/wp-admin/options-general.php
84 84 </tr> 85 85 <tr> 86 86 <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"> 88 91 <input name="users_can_register" type="checkbox" id="users_can_register" value="1" <?php checked('1', get_option('users_can_register')); ?> /> 89 92 <?php _e('Anyone can register') ?></label> 90 93 </fieldset></td> … … 228 231 <tr> 229 232 <th scope="row"><?php _e('Date Format') ?></th> 230 233 <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> 232 238 <?php 233 239 /** 234 240 * Filters the default date formats. … … 265 271 <tr> 266 272 <th scope="row"><?php _e('Time Format') ?></th> 267 273 <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> 269 278 <?php 270 279 /** 271 280 * Filters the default time formats. -
src/wp-admin/options-media.php
63 63 64 64 <tr> 65 65 <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> 67 70 <label for="medium_size_w"><?php _e('Max Width'); ?></label> 68 71 <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" /> 69 72 <label for="medium_size_h"><?php _e('Max Height'); ?></label> … … 73 76 74 77 <tr> 75 78 <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> 77 83 <label for="large_size_w"><?php _e('Max Width'); ?></label> 78 84 <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" /> 79 85 <label for="large_size_h"><?php _e('Max Height'); ?></label> -
src/wp-admin/options-reading.php
68 68 <table class="form-table"> 69 69 <tr> 70 70 <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> 72 75 <p><label> 73 76 <input name="show_on_front" type="radio" value="posts" class="tog" <?php checked( 'posts', get_option( 'show_on_front' ) ); ?> /> 74 77 <?php _e( 'Your latest posts' ); ?> … … 101 104 </tr> 102 105 <tr> 103 106 <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> 105 111 <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 /> 106 112 <label><input name="rss_use_excerpt" type="radio" value="1" <?php checked( 1, get_option( 'rss_use_excerpt' ) ); ?> /> <?php _e( 'Summary' ); ?></label></p> 107 113 </fieldset></td> … … 109 115 110 116 <tr class="option-site-visibility"> 111 117 <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> 113 122 <?php if ( has_action( 'blog_privacy_selector' ) ) : ?> 114 123 <input id="blog-public" type="radio" name="blog_public" value="1" <?php checked('1', get_option('blog_public')); ?> /> 115 124 <label for="blog-public"><?php _e( 'Allow search engines to index this site' );?></label><br/> -
src/wp-admin/options-writing.php
59 59 <?php if ( get_site_option( 'initial_db_version' ) < 32453 ) : ?> 60 60 <tr> 61 61 <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> 63 66 <label for="use_smilies"> 64 67 <input name="use_smilies" type="checkbox" id="use_smilies" value="1" <?php checked('1', get_option('use_smilies')); ?> /> 65 68 <?php _e('Convert emoticons like <code>:-)</code> and <code>:-P</code> to graphics on display') ?></label><br /> -
src/wp-admin/setup-config.php
116 116 case -1: 117 117 if ( wp_can_install_language_pack() && empty( $language ) && ( $languages = wp_get_available_translations() ) ) { 118 118 setup_config_display_header( 'language-chooser' ); 119 /* translators: accessibility text */ 119 120 echo '<h1 class="screen-reader-text">Select a default language</h1>'; 120 121 echo '<form id="setup" method="post" action="?step=0">'; 121 122 wp_install_language_form( $languages ); … … 143 144 $step_1 .= '&language=' . $loaded_language; 144 145 } 145 146 ?> 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> 147 151 <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> 148 152 <ol> 149 153 <li><?php _e( 'Database name' ); ?></li> … … 183 187 184 188 setup_config_display_header(); 185 189 ?> 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> 187 194 <form method="post" action="setup-config.php?step=2"> 188 195 <p><?php _e( 'Below you should enter your database connection details. If you’re not sure about these, contact your host.' ); ?></p> 189 196 <table class="form-table"> … … 401 408 chmod( $path_to_wp_config, 0666 ); 402 409 setup_config_display_header(); 403 410 ?> 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> 405 415 <p><?php _e( 'All right, sparky! You’ve made it through this part of the installation. WordPress can now communicate with your database. If you are ready, time now to…' ); ?></p> 406 416 407 417 <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
134 134 <?php install_themes_upload(); ?> 135 135 </div> 136 136 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> 138 141 139 142 <div class="wp-filter"> 140 143 <div class="filter-count"> … … 200 203 </div> 201 204 </div> 202 205 </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> 204 210 <div class="theme-browser content-filterable"></div> 205 211 <div class="theme-install-overlay wp-full-overlay expanded"></div> 206 212 … … 250 256 <script id="tmpl-theme-preview" type="text/template"> 251 257 <div class="wp-full-overlay-sidebar"> 252 258 <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> 256 271 <# if ( data.installed ) { #> 257 272 <a href="#" class="button button-primary theme-install disabled"><?php _ex( 'Installed', 'theme' ); ?></a> 258 273 <# } else { #> … … 282 297 </div> 283 298 <div class="wp-full-overlay-footer"> 284 299 <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> 288 312 </div> 289 313 <button type="button" class="collapse-sidebar button-secondary" aria-expanded="true" aria-label="<?php esc_attr_e( 'Collapse Sidebar' ); ?>"> 290 314 <span class="collapse-sidebar-arrow"></span> -
src/wp-admin/themes.php
404 404 <div class="theme-backdrop"></div> 405 405 <div class="theme-wrap wp-clearfix"> 406 406 <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> 410 419 </div> 411 420 <div class="theme-about wp-clearfix"> 412 421 <div class="theme-screenshots"> -
src/wp-admin/tools.php
51 51 <a class="pressthis-bookmarklet" onclick="return false;" href="<?php echo htmlspecialchars( get_shortcut_link() ); ?>"><span><?php _e( 'Press This' ); ?></span></a> 52 52 <button type="button" class="button button-secondary pressthis-js-toggle js-show-pressthis-code-wrap" aria-expanded="false" aria-controls="pressthis-code-wrap"> 53 53 <span class="dashicons dashicons-clipboard"></span> 54 <span class="screen-reader-text"><?php _e( 'Copy “Press This” bookmarklet code' ) ?></span> 54 <span class="screen-reader-text"><?php 55 /* translators: accessibility text */ 56 _e( 'Copy “Press This” bookmarklet code' ); 57 ?></span> 55 58 </button> 56 59 </p> 57 60 -
src/wp-admin/update-core.php
296 296 <td class="check-column"> 297 297 <input type="checkbox" name="checked[]" id="<?php echo $checkbox_id; ?>" value="<?php echo esc_attr( $plugin_file ); ?>" /> 298 298 <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 ); 303 301 ?></label> 304 302 </td> 305 303 <td class="plugin-title"><p> … … 367 365 <td class="check-column"> 368 366 <input type="checkbox" name="checked[]" id="<?php echo $checkbox_id; ?>" value="<?php echo esc_attr( $stylesheet ); ?>" /> 369 367 <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' ) ); 374 370 ?></label> 375 371 </td> 376 372 <td class="plugin-title"><p> -
src/wp-admin/user-edit.php
262 262 <?php endif; ?> 263 263 <tr class="show-admin-bar user-admin-bar-front-wrap"> 264 264 <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> 266 269 <label for="admin_bar_front"> 267 270 <input name="admin_bar_front" type="checkbox" id="admin_bar_front" value="1"<?php checked( _get_admin_bar_pref( 'front', $profileuser->ID ) ); ?> /> 268 271 <?php _e( 'Show Toolbar when viewing site' ); ?></label><br />