Skip to content

Input placeholder is read by the NVDA reader twice #9721

Closed
@JMB02

Description

@JMB02

Bug, feature request, or proposal:

Bug

What is the expected behavior?

The NVDA reader should only read the input field name once, for example:
1. Field name
2. Filed type
3. Filed content

What is the current behavior?

The NVDA reader reads the field name twice:
1. Field name
2. Filed type
3. Field name
4. Filed content

What are the steps to reproduce?

1. Go to https://stackblitz.com/angular/yjpykykdxpag
2. Run NVDA reader (default settings)
3. Click on empty input, for example 'City'

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

dep

Is there anything else we should know?

The problem is probably caused by the fact that the component contains in html the placeholder tag and internal label, which are both read by the NVDA reader.

Metadata

Metadata

Labels

AccessibilityThis issue is related to accessibility (a11y)P2The issue is important to a large percentage of users, with a workaroundarea: material/input

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions