Versions Compared

Key

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

...

Following are different techniques to use in order to notify screen reader users that form elements are required to complete.

...

Anchor
requiredforminputfield
requiredforminputfield
Required Form Input Field

...

View HTML Markup on Github

...

Anchor
requiredgroupofcheckboxes
requiredgroupofcheckboxes
Required Group of Checkboxes

...

When it comes to making a group of checkboxes required you cannot use the same technique that’s used to make a group of radio buttons required.

...

View HTML Markup on Github

...

Anchor
requiredsinglecheckbox
requiredsinglecheckbox
Required Single Checkbox

...

You can make standalone/single checkboxes mandatory to complete by applying the “required” attribute to the input tag.

...