-
Notifications
You must be signed in to change notification settings - Fork 5
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
Conditional Radios & Checkboxes #173
Comments
Submit your electronic declaration service Conditional radios and checkboxes are used in the Submit your electronic declaration service. Example of conditional radios: Example of conditional checkboxes: Why I used them: However using them was a compromise as stakeholders did not want me to add another page where the user would give us that content if they chose 'Other' for example. So for example if a user selected Other, what I intended to do was send users to a new page where we would ask them 'What other..' and give them free text to answer. User testing: |
In a recent project for a new coronavirus service, we required this component. Due to tight deadlines we decided to use another approach but this would have been good to use. So a +1 for another service requiring it. |
The Coronavirus Status Checker used conditional reveals when asking users for their ethnicity Note: this did not go live as a decision was made not to collect this data within this service. |
It always feel better on a basic level to expose content rather than to conceal it, but volume and cognitive load matter. Too much of both and users 'lose the feather'. Once a feather wafts away, it's hard to catch it back and can get harder the more you try. Similarly, once people are thrown by not being able to do the next natural thing, it's hard to win them back. Something opening to offer the next step, as a condition of the first step, feels right. All too often users are presented with an 'other' option but no next step to state what the other is. Or, like Sam notes, users get taken somewhere else to expand on that other, changing the flow of where they were and they might not get back to it. Far better, where that next step can be small, to offer it cleanly in situ, to answer it neatly in the existing page narrative. In this sense, a conditionally-revealed checkbox makes ideal sense. Its UX just needs to be tight, in design and content design, to feel natural to the user and not throw them. "You've asked me something, let me tell you." |
Closing issue as conditional revealing is a variant of the radios and checkboxes |
What
A conditionally revealing radio and checkbox component. When the radio or checkbox is checked it would reveal some additional content. See GOV.UK example: https://design-system.service.gov.uk/components/radios/conditional-reveal/index.html
Why
I find these components useful for adding a small amount of additional information. Contact preferences being a good use case. We'd need to be mindful of advising when to use the component though. I'd imagine it could be open to misuse and the addition of a lot of content and additional interaction.
Honestly, none. I am not advocating the inclusion of this component merely adding here so others can feed into it.
None
Yes, checked with @AdamChrimes via Slack
The text was updated successfully, but these errors were encountered: