Skip to content

bug(RadioButton): Enter a required radio group, SR announces "required invalid data" #30761

Closed
@clamli

Description

@clamli

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

Screen reader announces "required invalid data..." when user enters an empty radio group that is required.

Reproduction

StackBlitz link: https://stackblitz.com/edit/uex8xzys?file=src%2Fexample%2Fradio-ng-model-example.html
Steps to reproduce:

  1. Go to https://stackblitz.com/edit/uex8xzys?file=src%2Fexample%2Fradio-ng-model-example.html
  2. Turn on screen reader
  3. Enter the radio group
  4. Hear the screen reader announces "required invalid data...."

Expected Behavior

Screen reader should not announce "invalid".

Actual Behavior

Screen reader announces "invalid".

Environment

  • Angular: Latest
  • CDK/Material: Latest
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): macOS

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/radio

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions