Fix #136: Add aria-labels
This commit is contained in:
parent
1828df9bc0
commit
159203a7bc
7 changed files with 15 additions and 15 deletions
|
@ -2,8 +2,8 @@
|
|||
Log in
|
||||
|
||||
= simple_form_for(resource, as: resource_name, url: session_path(resource_name)) do |f|
|
||||
= f.input :email, autofocus: true, placeholder: 'E-mail address', required: true
|
||||
= f.input :password, placeholder: 'Password', required: true
|
||||
= f.input :email, autofocus: true, placeholder: 'E-mail address', required: true, input_html: { 'aria-label' => 'E-mail address' }
|
||||
= f.input :password, placeholder: 'Password', required: true, input_html: { 'aria-label' => 'Password' }
|
||||
|
||||
.actions
|
||||
= f.button :button, "Log in", type: :submit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue