bootstrap-sass-extras icon indicating copy to clipboard operation
bootstrap-sass-extras copied to clipboard

Add role: 'form' to all form_for calls

Open AlexVPopov opened this issue 9 years ago • 1 comments

As per w3schools:

Always use <form role="form"> (helps improve accessibility for people using screen readers)

I would like to make a pull request, where all form_for calls get from:

= form_for @<%= resource_name %>, :html => { :class => "form-horizontal" } do |f|

to

= form_for @<%= resource_name %>, :html => { :class => "form-horizontal", :role => 'form' } do |f|

Will such a PR be accepted?

AlexVPopov avatar Jul 27 '15 17:07 AlexVPopov

Welcome PR.

doabit avatar Aug 10 '15 10:08 doabit