Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Getting missing Form label for mat-list-option for angular material 15 after MDC migration #1221

Open
shwetanikam12 opened this issue Aug 25, 2023 · 1 comment

Comments

@shwetanikam12
Copy link

  • After angular material upgrade to version 15 and MDC upgrade we are getting an accessibility error from the WAVE tool.
  • We are getting missing-form-label error for every checkbox for the mat-list-option. We have tried adding aria-label ,alt-text, title and even tried adding mat-label inside the mat-list-option, nothing has been worked till yet.
  • Inside input field is getting created on the fly for which this error is coming.
  • We have found one solution in which with the help of DOM manipulation we are able to resolve this issue, since DOM manipulation is not recommended is there some other solution for it.
  • This issue was not present before version 15 upgrade, even on the official material website we are able to see this issue for mat-selection-list.

Angular Material Version 14:
image

Angular Material Version 15:
image

@DhivyaDelphina
Copy link

any update on the above issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants