-
Notifications
You must be signed in to change notification settings - Fork 23
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
[Bug]: Page error "Incorrect use of <label for=FORM_ELEMENT>" #1918
Comments
Related to angular/components#27241 @railwayursin do you experience any accessibility issues related to this? I am not sure if fixing this is worth the effort and I also don't see the benefit of adding an option to turn the label in a standard div as suggested in the linked issue. I suggest to not fix this issue. What do you think? My findings:
|
@railwayursin I marked this issue as |
Adds an option to remove the `for` attribute from the `<label>` inside the form field from elements that can't be labeled. Also applies the new option to `sbb-select` and `sbb-textarea`. This isn't an accessibility regression, because those elements were already being labeled using `aria-labelledby`. Fixes #1918
Adds an option to remove the `for` attribute from the `<label>` inside the form field from elements that can't be labeled. Also applies the new option to `sbb-select` and `sbb-textarea`. This isn't an accessibility regression, because those elements were already being labeled using `aria-labelledby`. Fixes #1918
Adds an option to remove the `for` attribute from the `<label>` inside the form field from elements that can't be labeled. Also applies the new option to `sbb-select` and `sbb-textarea`. This isn't an accessibility regression, because those elements were already being labeled using `aria-labelledby`. Fixes #1918
Adds an option to remove the `for` attribute from the `<label>` inside the form field from elements that can't be labeled. Also applies the new option to `sbb-select` and `sbb-textarea`. This isn't an accessibility regression, because those elements were already being labeled using `aria-labelledby`. Fixes #1918
Preflight Checklist
Bug type
Other
Which version are you using
16.1.0
Operating system
Windows 10
Browser / Browser version
Chrome 114.0.5735.110
Input mode
Mouse/Keyboard
Additional settings
What happened?
After the recent chrome update (version 114.0.5735.110) the devtools display page errors for the select component "Incorrect use of ".
Steps to reproduce the issue
A red flag icon with a number will be displayed and a issues tab with the error message.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: