components
components copied to clipboard
bug(Tabs): Responsive arrow buttons are not fully accessible (Empty button error in WAVE)
Is this a regression?
- [ ] Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
Checking the Tabs component through the WAVE Accessibility Tool, I get an error for the responsive arrow buttons:
I checked the code and saw that aria-hidden is applied, which helps with screen reading, but accessibility tools still see the missing button text/aria-label as an issue...
Reproduction
Steps to reproduce:
- Install WAVE Accessibility tool https://chrome.google.com/webstore/detail/wave-evaluation-tool/jbbplnpkjmmeebjpijfedlgcdilocofh
- Go to the Material page for Tabs (right now this link goes to version 14.2.1): https://material.angular.io/components/tabs/examples
- Resize the window to a smaller width until the arrow buttons appear
- Run WAVE on the page
- Check the errors
Expected Behavior
There should be no errors related to responsive arrow buttons
Actual Behavior
There is an error for responsive arrow buttons: Empty button
Environment
Whatever is running on the Material Official Website