Make WordPress Core

Ticket #27024: 27024.patch

File 27024.patch, 1.5 KB (added by joedolson, 8 years ago)

Add help text for accessibility of TinyMCE toolbar.

  • wp-admin/edit-form-advanced.php

    258258        $title_and_editor  = '<p>' . __('<strong>Title</strong> - Enter a title for your post. After you enter a title, you&#8217;ll see the permalink below, which you can edit.') . '</p>';
    259259        $title_and_editor .= '<p>' . __('<strong>Post editor</strong> - Enter the text for your post. There are two modes of editing: Visual and Text. Choose the mode by clicking on the appropriate tab. Visual mode gives you a WYSIWYG editor. Click the last icon in the row to get a second row of controls. The Text mode allows you to enter HTML along with your post text. Line breaks will be converted to paragraphs automatically. You can insert media files by clicking the icons above the post editor and following the directions. You can go to the distraction-free writing screen via the Fullscreen icon in Visual mode (second to last in the top row) or the Fullscreen button in Text mode (last in the row). Once there, you can make buttons visible by hovering over the top area. Exit Fullscreen back to the regular post editor.') . '</p>';
     260        $title_and_editor .= '<p>' . __('<strong>Accessibility</strong> - Use <code>Alt+F10</code> to move keyboard focus to the toolbar.') . '</p>';
    261262        get_current_screen()->add_help_tab( array(
    262263                'id'      => 'title-post-editor',