#55391 closed enhancement (invalid)
Image menu icon with empty alt text
Reported by: | pedromendonca | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
For menu items with image icon set, the alt text is hardcoded empty:
https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-admin/menu-header.php#L126
I suggest adding the Menu item name to it.
Change History (4)
This ticket was mentioned in PR #2412 on WordPress/wordpress-develop by pedro-mendonca.
3 years ago
#1
- Keywords has-patch added
#2
@
3 years ago
As redundancy is unwanted, and is better to keep an empty alt="", I'll close this ticket.
https://dequeuniversity.com/rules/axe/4.0/image-redundant-alt
Note: See
TracTickets for help on using
tickets.
Use menu_title as image icon alt text instead of hardcoded empty alt text
Trac ticket: https://core.trac.wordpress.org/ticket/55391