[wp-trac] [WordPress Trac] #26931: Cannot move keyboard focus to TinyMCE controls

WordPress Trac noreply at wordpress.org
Wed Jan 29 02:06:15 UTC 2014


#26931: Cannot move keyboard focus to TinyMCE controls
--------------------------+----------------------------
 Reporter:  joedolson     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.9
Component:  TinyMCE       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  accessibility
--------------------------+----------------------------

Comment (by azaozz):

 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.

 After a button is "clicked", it returns focus to the editor and the caret
 is at the same place where it was originally.

 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26931#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list