Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  •  the screen reader should announce/notify the user that it is a required field

Markup

Code Block
<form novalidate>
<label for="fname">First Name:</label>
<input id="fname" required>
</form>

View HTML Markup on Github

...

  •  the screen reader should announce/notify the user that it is a required field

Markup

Code Block
<form>
  <input id="agreement" type="checkbox" required aria-invalid="false">
 
<label for="agreement">All the information I have submitted in this application is true</label>
</form>

View HTML Markup on Github

...