[wp-trac] [WordPress Trac] #29838: Post editing area: keyboard accessibility, tab order and focus

WordPress Trac noreply at wordpress.org
Sun Sep 1 21:12:32 UTC 2024


#29838: Post editing area: keyboard accessibility, tab order and focus
--------------------------+--------------------------------
 Reporter:  afercia       |       Owner:  rcreators
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  6.7
Component:  Editor        |     Version:  4.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  ui, accessibility
--------------------------+--------------------------------

Comment (by joedolson):

 Updated patch separates the event handling between keyboard & non-keyboard
 events so that it's possible to avoid refocusing content on keyboard
 activation of the toggle.

 This is still incomplete; the code in `dfw.js` fires `execCommand` when
 the editor is switched, and this forces a focus on the editor if that
 screen option is enabled.

 Additionally, the first initiation of the editor forces focus, so if the
 editor initiates on the HTML editor, then is switched by keyboard to the
 visual editor, the editor will still focus.

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


More information about the wp-trac mailing list