Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 · May be fixed by angular/components#29601

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants