Skip to content

When checking Accessibility using Wave Tool for mat-select that uses mat-label , getting Orphaned form label accessibility warning. #11686

@Viddhiyartha

Description

@Viddhiyartha

Bug, feature request, or proposal:

A drop down is created with mat-select and a label for dropdown is added with mat-label. On checking the accessibility using Wave Evaluation Tool chrome extension, getting Orphaned form label Warning. (Label not associated with proper form element)

Wave Tool : https://chrome.google.com/webstore/detail/wave-evaluation-tool/jbbplnpkjmmeebjpijfedlgcdilocofh

What is the expected behavior?

Orphaned form label warning should not appear

What is the current behavior?

Orphaned form label warning apeard

What are the steps to reproduce?

Syntax to Reproduce the issue

image

What is the use-case or motivation for changing an existing behavior?

We are trying to fix accessibility issues in our project and we are relying on Material Designs.

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

Angular - 5.2.0 , Material - 5.2.3 , OS- Windows , TypeScript - 2.5.3 , Browser - Google Chrom

Is there anything else we should know?

Tried Adding id in mat-select /adding for in mat-label

image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions