mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-25 07:44:34 +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:
@@ -25,7 +25,7 @@ get_current_screen()->add_help_tab( array(
|
||||
'title' => __('Overview'),
|
||||
'content' =>
|
||||
'<p>' . __('You can use the Theme Editor to edit the individual CSS and PHP files which make up your theme.') . '</p>
|
||||
<p>' . __("Begin by choosing a theme to edit from the dropdown menu and clicking Select. A list then appears of the theme's template files. Clicking once on any file name causes the file to appear in the large Editor box.") . '</p>
|
||||
<p>' . __( 'Begin by choosing a theme to edit from the dropdown menu and clicking the Select button. A list then appears of the theme’s template files. Clicking once on any file name causes the file to appear in the large Editor box.' ) . '</p>
|
||||
<p>' . __('For PHP files, you can use the Documentation dropdown to select from functions recognized in that file. Look Up takes you to a web page with reference material about that particular function.') . '</p>
|
||||
<p id="newcontent-description">' . __( 'In the editing area the Tab key enters a tab character. To move below this area by pressing Tab, press the Esc key followed by the Tab key. In some cases the Esc key will need to be pressed twice before the Tab key will allow you to continue.' ) . '</p>
|
||||
<p>' . __('After typing in your edits, click Update File.') . '</p>
|
||||
@@ -229,7 +229,7 @@ if ( $allowed_files ) :
|
||||
|
||||
echo "\t<ul>\n";
|
||||
}
|
||||
|
||||
|
||||
$file_description = get_file_description( $filename );
|
||||
if ( $filename !== basename( $absolute_filename ) || $file_description !== $filename ) {
|
||||
$file_description .= '<br /><span class="nonessential">(' . $filename . ')</span>';
|
||||
|
||||
Reference in New Issue
Block a user