Open Sanghapal opened 9 years ago
Take a look at SimpleForm's HTML5 features:
Hey thanks for sharing that! We had refered simple_form for knowing how they had implemented required="required" for the aria-required implementation. Now we have got that one fixed.
From: Joshua Muheim Sent: Wednesday, March 18, 2015 8:05 PM To: techvision/waiable Subject: Re: [waiable] Implement aria-required for mandetory fields (#19)
Take a look at SimpleForm's HTML5 features:
https://github.com/plataformatec/simple_form#html-5-notice
— Reply to this email directly or view it on GitHub.
Implemented aria-required property for Text field and all other sub-classes of TextField class (like email, password, File field, Datetime field, Tel field, Number field)
When a model in Rails has validates_presence implemented for certain fields, aria-required="true" must be generated for the corresponding input element generated for that implement.