Registration form field – textarea id not matching label for attribute
-
Title says it all really.
Having accessibility issues as my label for attribute isn’t matching the id/name of my textareas.
For example I have a textarea with the id ‘reference’ but the label for attribute is appending the form id to it eg ‘reference-36’.
<label for="reference-36"> <textarea style="height: 100px;" class="um-form-field valid not-required " name="reference" id="reference" placeholder="">
Not so much of an issue on text inputs as they match, but both append the form id. Would prefer it if the id wasn’t present at all.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Registration form field – textarea id not matching label for attribute’ is closed to new replies.