a11yTips — Indicate required form controls using the required…

Indicate required form controls using the required attribute

Make sure indications of required form controls are conveyed using the required attribute

Before looking into options like aria-required properties to identify mandatory form controls, authors should always consider using the HTML required attribute, which natively conveys the information about the mandatory state of a form control to all user agents and assistive technologies. While this approach will work great for users of screen readers, it has the distinct disadvantage of not displaying visual indications to sighted users, and as such, other methods should generally be preferred. However, as most screen readers don’t read [...]

Read article at dboudreau.tumblr.com

Article Taxonomies

Categories: Terms: , , , , Keywords: ,