[wp-trac] [WordPress Trac] #63970: Disabled .handle-actions button receives keyboard focus

WordPress Trac noreply at wordpress.org
Sun Sep 14 20:30:26 UTC 2025


#63970: Disabled .handle-actions button receives keyboard focus
----------------------------+-----------------------------
 Reporter:  alh0319         |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  normal          |   Keywords:
  Focuses:  accessibility   |
----------------------------+-----------------------------
 The dashboard metaboxes have arrow buttons that allow them to be moved up
 and down with a keyboard. The top-most metabox has a disabled move up
 button that is not probramatically disabled so it still receives keyboard
 focus though it is not functional.

 Example:

 {{{
 <button type="button" class="handle-order-higher" aria-disabled="true"
 aria-describedby="dashboard_site_health-handle-order-higher-
 description"><span class="screen-reader-text">Move up</span><span class
 ="order-higher-indicator" aria-hidden="true"></span></button>
 }}}

 It would be better if the disabled attribute were added to this button or
 if it had a negative tab index so that it doesn't receive keyboard focus
 outside of when the focus is already on it (because it was used to move a
 meta box into the top-most position).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63970>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list