[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:15:42 UTC 2024
#43095: Audit the usage of `aria-haspopup` in the admin menu
-------------------------------------------------+-------------------------
Reporter: afercia | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.6
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch has-screenshots reviewing | Focuses: ui,
| accessibility
-------------------------------------------------+-------------------------
Comment (by joedolson):
In reviewing this, I determined that the `currentMenuItemHasPopup`
function was no longer relevant, since it was predicated on the aria-
haspopup attribute always being present on items. I also determined that
this really needed the `aria-expanded` attribute.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43095#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list