Make WordPress Core


Ignore:
Timestamp:
12/06/2014 11:52:25 PM (11 years ago)
Author:
azaozz
Message:

TinyMCE, improve accessibility:

  • Return focus to the editor on pressing Escape while the image toolbar is focused.
  • Add a Close button to the Help modal and close it on Escape.
  • Override the title on the editor iframe (read by screen reader apps), replace with the Alt+Shift+H shortcut.
  • Add focus shortcuts descriptions to the Help modal.

Fixes #27642.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-editor.php

    r30733 r30757  
    978978            'Words: {0}' => sprintf( __( 'Words: %s' ), '{0}' ),
    979979            'Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.' => __( 'Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.' ) . "\n\n" . __( 'If you’re looking to paste rich content from Microsoft Word, try turning this option off. The editor will clean up text pasted from Word automatically.' ),
    980             'Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help' => __( 'Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help' ),
     980            'Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help' => __( 'Rich Text Area. Press Alt-Shift-H for help' ),
    981981            'You have unsaved changes are you sure you want to navigate away?' => __( 'The changes you made will be lost if you navigate away from this page.' ),
    982982            'Your browser doesn\'t support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.' => __( 'Your browser does not support direct access to the clipboard. Please use keyboard shortcuts or your browser’s edit menu instead.' ),
Note: See TracChangeset for help on using the changeset viewer.