Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #26931, comment 2


Ignore:
Timestamp:
01/29/2014 07:09:18 PM (11 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26931, comment 2

    initial v1  
    1 Focus in the TinyMCE UI is handled with JS. To focus the toolbar (first button) you need to press F10 while in the editor. Then either tab or the arrow keys can be used to move to other buttons. Tabbing wraps so you won't leave the toolbar.
     1Focus in the TinyMCE UI is handled with JS. To focus the toolbar (first button) you need to press Alt+F10 while in the editor. Then either tab or the arrow keys can be used to move to other buttons. Tabbing wraps so you won't leave the toolbar.
    22
    33After a button is "clicked", it returns focus to the editor and the caret is at the same place where it was originally.
    44
    5 The only thing remaining is to devise a way to highlight the currently focused button somehow. Using `:focus` in CSS wouldn't be good as there shouldn't be highlighting when using the mouse. Perhaps we can add a class on the editor wrapper div when pressing F10 that adds outlines to the buttons.
     5The only thing remaining is to devise a way to highlight the currently focused button somehow. Using `:focus` in CSS wouldn't be good as there shouldn't be highlighting when using the mouse. Perhaps we can add a class on the editor wrapper div when pressing Alt+F10 that adds outlines to the buttons.