[wp-trac] [WordPress Trac] #43095: Audit the usage of `aria-haspopup` in the admin menu

WordPress Trac noreply at wordpress.org
Thu Jun 20 19:40:06 UTC 2024


#43095: Audit the usage of `aria-haspopup` in the admin menu
----------------------------------------------+----------------------------
 Reporter:  afercia                           |       Owner:  joedolson
     Type:  defect (bug)                      |      Status:  closed
 Priority:  normal                            |   Milestone:  6.6
Component:  Administration                    |     Version:
 Severity:  normal                            |  Resolution:  fixed
 Keywords:  has-patch has-screenshots commit  |     Focuses:  ui,
                                              |  accessibility
----------------------------------------------+----------------------------
Changes (by joedolson):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58449" 58449]:
 {{{
 #!CommitTicketReference repository="" revision="58449"
 Administration: A11y: Use `aria-haspopup` only if item has popup behavior.

 Update behavior of admin menu so that the `aria-haspopup` attribute is
 only applied in responsive mode, when there is a popup behavior present.
 Add `aria-expanded` attributes to report current popup state.

 Props afercia, khokansardar, ryokuhi, joedolson.
 Fixes #43095.
 }}}

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


More information about the wp-trac mailing list