MenuItem aria-label just repeats the visible text #12501
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
[Type] Enhancement
A suggestion for improvement.
Noticed while looking at #12309
The
MenuItem
component has anaria-label
attribute that just repeats the visible text of the menu item. For example:While it doesn't harm anything, it's redundant. Not sure if there's a specific reason for the aria-label but, unless I'm missing something, maybe it could be simply removed?
The text was updated successfully, but these errors were encountered: