Changeset 11312 for trunk/wp-admin/edit-page-form.php
- Timestamp:
- 05/12/2009 10:40:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-page-form.php
r11245 r11312 262 262 <p><label for="post_status_private" class="selectit"><input id="post_status_private" name="post_status" type="checkbox" value="private" <?php checked($post->post_status, 'private'); ?> tabindex='4' /> <?php _e('Keep this page private') ?></label></p> 263 263 <h4><?php _e( 'Page Password' ); ?></h4> 264 <p><label class=" invisible" for="post_password"><?php _e('Password Protect This Page') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php the_post_password(); ?>" /></p>264 <p><label class="screen-reader-text" for="post_password"><?php _e('Password Protect This Page') ?></label><input name="post_password" type="text" size="25" id="post_password" value="<?php the_post_password(); ?>" /></p> 265 265 <p><?php _e('Setting a password will require people who visit your blog to enter the above password to view this page and its comments.'); ?></p> 266 266 <?php … … 278 278 ?> 279 279 <h5><?php _e('Parent') ?></h5> 280 <label class=" invisible" for="parent_id"><?php _e('Page Parent') ?></label>280 <label class="screen-reader-text" for="parent_id"><?php _e('Page Parent') ?></label> 281 281 <?php wp_dropdown_pages(array('exclude_tree' => $post->ID, 'selected' => $post->post_parent, 'name' => 'parent_id', 'show_option_none' => __('Main Page (no parent)'), 'sort_column'=> 'menu_order, post_title')); ?> 282 282 <p><?php _e('You can arrange your pages in hierarchies, for example you could have an “About” page that has “Life Story” and “My Dog” pages under it. There are no limits to how deeply nested you can make pages.'); ?></p> … … 284 284 if ( 0 != count( get_page_templates() ) ) { ?> 285 285 <h5><?php _e('Template') ?></h5> 286 <label class=" invisible" for="page_template"><?php _e('Page Template') ?></label><select name="page_template" id="page_template">286 <label class="screen-reader-text" for="page_template"><?php _e('Page Template') ?></label><select name="page_template" id="page_template"> 287 287 <option value='default'><?php _e('Default Template'); ?></option> 288 288 <?php page_template_dropdown($post->page_template); ?> … … 292 292 } ?> 293 293 <h5><?php _e('Order') ?></h5> 294 <p><label class=" invisible" for="menu_order"><?php _e('Page Order') ?></label><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr($post->menu_order) ?>" /></p>294 <p><label class="screen-reader-text" for="menu_order"><?php _e('Page Order') ?></label><input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr($post->menu_order) ?>" /></p> 295 295 <p><?php _e('Pages are usually ordered alphabetically, but you can put a number above to change the order pages appear in. (We know this is a little janky, it’ll be better in future releases.)'); ?></p> 296 296 <?php … … 347 347 function page_slug_meta_box($post){ 348 348 ?> 349 <label class=" invisible" for="post_name"><?php _e('Page Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( $post->post_name ); ?>" />349 <label class="screen-reader-text" for="post_name"><?php _e('Page Slug') ?></label><input name="post_name" type="text" size="13" id="post_name" value="<?php echo esc_attr( $post->post_name ); ?>" /> 350 350 <?php 351 351 } … … 369 369 $authors[] = $post->post_author; 370 370 ?> 371 <label class=" invisible" for="post_author_override"><?php _e('Page Author'); ?></label><?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?>371 <label class="screen-reader-text" for="post_author_override"><?php _e('Page Author'); ?></label><?php wp_dropdown_users( array('include' => $authors, 'name' => 'post_author_override', 'selected' => empty($post->ID) ? $user_ID : $post->post_author) ); ?> 372 372 <?php 373 373 } … … 436 436 <div id="titlediv"> 437 437 <div id="titlewrap"> 438 <label class=" invisible" for="title"><?php _e('Title') ?></label>438 <label class="screen-reader-text" for="title"><?php _e('Title') ?></label> 439 439 <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo esc_attr( htmlspecialchars( $post->post_title ) ); ?>" id="title" autocomplete="off" /> 440 440 </div>
Note: See TracChangeset
for help on using the changeset viewer.