components icon indicating copy to clipboard operation
components copied to clipboard

bug(MatSelect): With VoiceOver + Safari, VoiceOver reads 2 letters of the label.

Open lynnkim-prev opened this issue 2 years ago • 2 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

With VoiceOver + Safari, VoiceOver reads 2 letters of the label.

Reproduction

Steps to reproduce:

  1. Access https://material.angular.io/components/select/overview in Safari
  2. Navigate to Basic mat-select with tab

Expected Behavior

chrome

Actual Behavior

VO reads Steak Fa, Favorite food Steak, ... safari

Environment

  • Angular: v11, v12, v13 (observed from the latest 3 versions on the official website)
  • CDK/Material: Material
  • Browser(s): Safari
  • Operating System (e.g. Windows, macOS, Ubuntu): macOS

lynnkim-prev avatar Feb 09 '22 22:02 lynnkim-prev

I can reproduce it too, although nothing specific stands out that could be causing it so it may be a browser bug. All we're doing is setting an aria-labelledby pointing to the form field label.

crisbeto avatar Feb 11 '22 12:02 crisbeto

It seems that the VoiceOver with Chrome reads out the value twice : Favourite Food Steak Steak on Chrome. Source: https://material.angular.io/components/select/examples image

omarboulbaze avatar Oct 07 '22 13:10 omarboulbaze