Fix #136: Add aria-labels
This commit is contained in:
parent
1828df9bc0
commit
159203a7bc
7 changed files with 15 additions and 15 deletions
|
@ -4,7 +4,7 @@
|
|||
= simple_form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f|
|
||||
= render 'shared/error_messages', object: resource
|
||||
|
||||
= f.input :email, autofocus: true, required: true, placeholder: 'E-mail address'
|
||||
= f.input :email, autofocus: true, required: true, placeholder: 'E-mail address', input_html: { 'aria-label' => 'E-mail address' }
|
||||
|
||||
.actions
|
||||
= f.button :button, "Resend confirmation instructions", type: :submit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue