mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Accessibility: Help text improvements.
Avoid references to "visual" positions in favour of positions in the document structure. The help text shouldn't assume users can see. Also, in the Posts screen don't mention specific types of posts and use a more generic text instead. Props odysseygate, pansotdev, zakb8. Fixes #34761. git-svn-id: https://develop.svn.wordpress.org/trunk@37680 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -853,7 +853,7 @@ $default_title = apply_filters( 'default_page_template_title', __( 'Default Tem
|
||||
<p><strong><?php _e('Order') ?></strong></p>
|
||||
<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>
|
||||
<?php if ( 'page' == $post->post_type && get_current_screen()->get_help_tabs() ) { ?>
|
||||
<p><?php _e( 'Need help? Use the Help tab in the upper right of your screen.' ); ?></p>
|
||||
<p><?php _e( 'Need help? Use the Help tab above the screen title.' ); ?></p>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user