[wp-trac] [WordPress Trac] #61344: On mobile devices, the first element of the Navigation block is focused by default

WordPress Trac noreply at wordpress.org
Mon Jun 17 07:28:17 UTC 2024


#61344: On mobile devices, the first element of the Navigation block is focused by
default
--------------------------+-------------------------------------
 Reporter:  skullblaka    |       Owner:  audrasjb
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  5.9
 Severity:  normal        |  Resolution:
 Keywords:  2nd-opinion   |     Focuses:  ui, accessibility, css
--------------------------+-------------------------------------

Comment (by joedolson):

 I'd argue that focus should not be moved, as long as the position of the
 menu in the DOM is immediately after the menu toggle. Activating a toggle
 control to disclose content should only have a focus change if it will
 otherwise be difficult to reach the revealed content.

 In general, unnecessary changes of focus are undesirable.

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


More information about the wp-trac mailing list