Fix #136: Add aria-labels

This commit is contained in:
Eugen Rochko
2016-11-03 19:19:39 +01:00
parent 1828df9bc0
commit 159203a7bc
7 changed files with 15 additions and 15 deletions

View File

@ -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