WCAG/1.4.1: Fix example for text cues on a form's required elements
The input element must be wrapped by <label> either or the <label> tag needs a "for=id" attribute with the id of the respective input. refs #7934
This commit is contained in:
parent
4f6a8629d1
commit
60ec115779
|
@ -28,8 +28,8 @@
|
|||
Enter some text
|
||||
<span class="required-indicator" aria-hidden="true"></span>
|
||||
<span class="sr-only"> (required)</span>
|
||||
<input type="text" name="some_text" value="" aria-required="true" required>
|
||||
</label>
|
||||
<input type="text" name="some_text" value="" aria-required="true" required>
|
||||
<input type="submit" name="btn_submit" value="Submit">
|
||||
</form>
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue