...
...
Required Single Checkbox
The “aria-label” attribute can also be used for screen reader users.You can make standalone/single checkboxes mandatory to complete by using the “required” attribute to work across screen readers and browser combinations.
Markup
Code Block |
---|
<input id="search" type="text" aria-label="Enter search criteria"> <button>Search</button> |
...