CivicActions / nebula

Other
3 stars 5 forks source link

Drug entry text field missing label #70

Closed grugnog closed 9 years ago

grugnog commented 9 years ago

This has placeholder text, but not all assistive technology will make that text accessible to users. We should add a label associated with the field that indicates what should be entered (e.g. http://webaim.org/techniques/forms/controls#input).

We have a couple of options:

I think the latter is slightly preferable from an accessibility perspective (since there is less cognitive demand due to the placeholder label disappearing once you click on the text box), however given that it is a very simple single field form I don't think there is a major difference.

rakanowicz commented 9 years ago

I like the hidden label and adding an "example" drug.