[Enhancement]: Add aria-label to wc_help_tip #35860
Labels
Contributor Day - H1 2023
focus: accessibility
The issue/PR is related to accessibility.
plugin: woocommerce
Issues related to the WooCommerce Core plugin.
priority: normal
The issue/PR is of normal priority—not many people are affected or there’s a workaround, etc.
type: enhancement
The issue is a request for an enhancement.
type: good first issue
The issue is a good candidate for the first community contribution/for a newcomer to the team.
Describe the solution you'd like
Currently, all tooltips generated with wc_help_tip are not visible by screen readers.
We could make them visible to screen readers by setting tabIndex to 0 and the aria-label attribute to the same value as the tooltip text.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: