components icon indicating copy to clipboard operation
components copied to clipboard

bug(Tabs): Responsive arrow buttons are not fully accessible (Empty button error in WAVE)

Open teodorachiosa opened this issue 2 years ago • 0 comments

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:

image image

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:

  1. Install WAVE Accessibility tool https://chrome.google.com/webstore/detail/wave-evaluation-tool/jbbplnpkjmmeebjpijfedlgcdilocofh
  2. Go to the Material page for Tabs (right now this link goes to version 14.2.1): https://material.angular.io/components/tabs/examples
  3. Resize the window to a smaller width until the arrow buttons appear
  4. Run WAVE on the page
  5. 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

teodorachiosa avatar Sep 09 '22 16:09 teodorachiosa