Difference between revisions of "ARIA Required property"
Jump to navigation
Jump to search
Rnickelson (talk | contribs) |
|||
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | This page provides an example of the aria-required attribute. This attribute should not be used in combination with the HTML required attribute as to avoid conflicting statuses. | ||
+ | |||
<html> | <html> | ||
<div> | <div> | ||
− | <label | + | <label for="u1"> User name:</label> |
− | <input type="text" aria-required="true | + | <input type="text" id="u1" aria-required="true" /> |
− | |||
− | + | <Select title="first name" aria-required="true"> | |
<option>roy</option> | <option>roy</option> | ||
− | <option> | + | <option>doug</option> |
</select> | </select> | ||
+ | <button> Login </button> | ||
</div> | </div> | ||
</html> | </html> | ||
[[Category:ARIA]] | [[Category:ARIA]] |
Latest revision as of 00:03, 25 October 2018
This page provides an example of the aria-required attribute. This attribute should not be used in combination with the HTML required attribute as to avoid conflicting statuses.