Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement aria-required for mandetory fields #19

Open
Sanghapal opened this issue Jan 16, 2015 · 3 comments
Open

Implement aria-required for mandetory fields #19

Sanghapal opened this issue Jan 16, 2015 · 3 comments

Comments

@Sanghapal
Copy link
Contributor

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.

@jmuheim
Copy link

jmuheim commented Mar 18, 2015

Take a look at SimpleForm's HTML5 features:

https://github.com/plataformatec/simple_form#html-5-notice

@sidnc86
Copy link
Contributor

sidnc86 commented Apr 16, 2015

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.

@shan9101
Copy link
Contributor

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants