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

Validation messages aren't read out #149

Open
ChrisBrettCA opened this issue Jan 22, 2019 · 3 comments
Open

Validation messages aren't read out #149

ChrisBrettCA opened this issue Jan 22, 2019 · 3 comments
Labels
docs Changes to documentation

Comments

@ChrisBrettCA
Copy link

  • Add role="alert" to validation components in order to get them read out by VoiceOver.
  • Check out ARIA invalid for this purpose too.
  • Use ARIA describedBy to link to a form element.
@btomy
Copy link
Contributor

btomy commented Jan 24, 2019

This has been fixed in the Benifits checker prototype - https://github.com/ChrisBrettCA/benefits-checker-poc/pull/9

@btomy
Copy link
Contributor

btomy commented Jan 24, 2019

Need to update the Validation Docs to add aria-describy. Also add icon svg for validation message

@manalishi79
Copy link
Contributor

manalishi79 commented Feb 12, 2019

We need to resolve the two types of form validation;
a) single error on a single page (following "one thing per page" pattern)
b) when there are multiple errors on a page

For A, focus for validation goes to the next relevant selectable area (e.g. a container surrounding the form labelled with "next question")

For B, a banner is displayed at the top of the page announcing and explain errors. User then tabs through form to discover errors.

@chic-geek chic-geek added the docs Changes to documentation label May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Changes to documentation
Projects
None yet
Development

No branches or pull requests

4 participants