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

Encourage use of icons with form validation states for the sake of colorblind users? #15928

Closed
cvrebert opened this issue Feb 26, 2015 · 4 comments · Fixed by #15929
Closed

Comments

@cvrebert
Copy link
Collaborator

Refs #14744. Perhaps we should add a note to the form field validation state docs warning about their accessibility to colorblind users, and recommending the additional use of the indicator icons for the sake of such users? What do you think @patrickhlauke?

@kkirsche
Copy link
Contributor

I'm very much for this.

Normal:
screen shot 2015-02-25 at 7 50 10 pm

Protanopia / Dueteranopia (Red / Green Color Blindness):
screen shot 2015-02-25 at 7 51 15 pm

Image generated using Adobe Photoshop Color Blind Preview

@patrickhlauke
Copy link
Member

Commented on #15929 but in principle, even inputs/checkboxes/etc with an explicit bit of text (e.g. a bit of text saying "error"/"invalid"/etc or something as part of the label) would be nominally accessible to colorblind users (i.e. icons are not the only way to help this user group). In principle, I'm all for expanding the note, as per #15929, as long as we don't give the impression that only icons are the way to go.

@cvrebert
Copy link
Collaborator Author

even inputs/checkboxes/etc with an explicit bit of text (e.g. a bit of text saying "error"/"invalid"/etc or something as part of the label) would be nominally accessible to colorblind users

Ah, true. However, none of the existing examples clearly do that.
Also I think a lot of folks prefer to put that text in the help text (a la formvalidation.io) rather than the <label>.

@patrickhlauke
Copy link
Member

the help text approach is also valid for colorblind users, mind (and because of the aria-describedby for AT users too). but yes, i think #15929 is on the right track, just needs a tiny bit of tweaking of the wording

kkirsche added a commit to kkirsche/bootstrap that referenced this issue Feb 28, 2015
… for colorblind users

[Fixes twbs#15928] Encourage use of icons with form validation states for colorblind users

Update text per @patrickhlauke's feedback

Update text per @patrickhlauke's feedback.

Fix stupid grammar mistake
patrickhlauke added a commit that referenced this issue Feb 28, 2015
[Fixes #15928] Encourage use of icons with form validation states for co...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants