Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
forms system
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
8 Jun 2012 at 15:07 UTC
Updated:
29 Jul 2014 at 20:46 UTC
Coming from#20 in #1493324: Inline form errors for accessibility and UX think we need to add HTML5′s required attribute as well as ARIA’s "aria-required" to FAPI. More references on this and why it is a best practice:
http://www.w3.org/TR/2011/WD-html5-20110525/common-input-element-attribu...
http://www.w3.org/TR/wai-aria/states_and_properties#aria-required
This coming from @feather's articles on required field best practices:
http://simplyaccessible.com/article/required-fields-right/
http://simplyaccessible.com/article/required-form-fields/
And also worth pointing to:
http://www.alistapart.com/articles/aria-and-progressive-enhancement/
Comments
Comment #1
mvcComment #2
mvci think this was resolved already: #1174938: Natively support the HTML5 required and aria-required FAPI properties