[wp-trac] [WordPress Trac] #51628: add arg "aria-label" to wp_dropdown_categories
WordPress Trac
noreply at wordpress.org
Sun Oct 25 16:49:13 UTC 2020
#51628: add arg "aria-label" to wp_dropdown_categories
---------------------------+-----------------------------
Reporter: greghy | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 5.5
Severity: normal | Keywords:
Focuses: accessibility |
---------------------------+-----------------------------
Doing an accessibility check on a site I found that
[wp_dropdown_categories](https://developer.wordpress.org/reference/functions/wp_dropdown_categories/)
generates a ''<select>'', without any label.
I think a good solution could be to add to the function args the
possibility to set the ''aria-label'' attribute.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51628>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list