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

<input class="give-text-input" name="give-amount"> doesn't have a label #328

Closed
mathetos opened this issue Oct 14, 2015 · 2 comments
Closed
Assignees

Comments

@mathetos
Copy link
Member

A11Y Report Notes

http://b8d.3e8.myftpupload.com/donations/basic-form-with-custom-amount-enabled/
Basic Form with Custom Amount Enabled

  • Error / priority 89%
  • Form element has no label
  • (line: 130, 5)

<input class="give-text-input" id="give-amount" name="give-amount" type="tel" placeholder="" value="20.00" required="" autocomplete="off">

Provide a label for all controls. This allows all users to understand the type of information expected in the field.

Possible Solutions

  • Can we add a hidden label?
  • Are there other methods for labelling the input without having the actual text spit out above the field that also suits the WCAG 2.0 Requirements?

Need Jordan's input on this one.

@mathetos mathetos mentioned this issue Oct 14, 2015
7 tasks
@mathetos mathetos self-assigned this Oct 15, 2015
@mathetos
Copy link
Member Author

@TheGeniusWM We REALLY don't want a visible label on this input. Would this input be accessible if we added a hidden label?

@TheGeniusWM
Copy link

A hidden label for any input is a valid fix, as long as each label is unique. As long as the assisstive technology device can recognize it, the label does not actually need to be visible.
It is recommended that every form input have a unique label.

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

3 participants