-
Notifications
You must be signed in to change notification settings - Fork 2
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
Asking for at least one thing #214
Comments
I like the checkboxes option @joelanman but as an alternative pattern where the user has to fill out at least one field you could put those fields in a group like this: |
@MalcolmVonMoJ what's the wider context to these two questions? Is there more content above them, or a previous page? |
Our latest design thinking is to move the error message above both questions like this: Regarding screen readers, we don't want the error to be read out and then the question, as this might confuse things when someone doesn't have the benefit of the red line. So we have made the visible error Clicking on the error summary links will jump to the error message at the top so it remains visible, whilst focussing on the input box corresponding with the selected link. |
Sounds good, but worth considering that hiding the visible text may be unpredictable to people that have vision and are also using a screen reader. By unpredictable I mean that the visual experience is different from the hearing/ screen reading experience. |
That is true, but we are only moving two lines around so hopefully anyone who is using the screen reader as an aide, who still has the benefit of the red line, will not be confused. The risk of someone relying on the screen reader for all information hearing "enter A or B", followed by "enter A" might think the choice has been made for them. |
What
Sometimes you need to ask the user for at least one thing - most commonly at least one form of contact (email, phone number)
For example:
Why
This is used in Register to vote
The text was updated successfully, but these errors were encountered: