-
Notifications
You must be signed in to change notification settings - Fork 231
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
Add example of summary list with missing information #1668
Add example of summary list with missing information #1668
Conversation
✅ You can preview this change here:Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
Here’s another pattern we're trying, using a blue border and some bold text with the full question, followed by the a link starting in a verb ("Select..." or "Enter..."). In this context, it’s someone editing some existing information where we have since added some extra questions, and so need to draw attention to these. |
We’ve got a similar use case - needing to highlight answers that need to be changed / reviewed - but aren't missing. We have data coming from another system, and it doesn't always match our data requirements. An example is us needing subjects to be selected from a long list of subjects - but the source data has a few occurrences of free text entry (which our system can’t support). Where possible, we will automatically map / translate as much as we can. But in some cases we’ll need our users to fix the data. In this case we want to highlight these ‘invalid’ answers to our users to manually correct them. But also don’t want to imply that the person who originally entered the data did anything wrong. The pattern we've come up with (influenced by some other work at DfE that @frankieroberto shared above):
Initial page stateNotification bannerInset content within summary listError stateShown if a user checks Error summaryInset contentForm pageHere we need to include the original data submitted in the message so our users know what to search for In an earlier version of this design, we pre-filled the fields with the original answers - but this really confused our participant as they could see nothing wrong with the text - better to have field be blank. How it's testedWe've taken this through one round of testing with 9 users, and so far it's tested well. For our first participant we were dynamically hiding the We later restored the checkbox so it would always be visible, and we give clear errors if you try to submit it - this has tested very well. Some users still had banner blindness initially, but for them the error styling and approach was clear and they were able to fix the issues. Importantly, our users were clear that they were essentially being asked to 'massage' the data or make it fit - they understood this was a data quality issue and that the source of the data hadn't made a mistake. |
@christopherthomasdesign @owenatgov I'm going through old PRs and trying to tidy them up. Forgot about this one! Is this change something you'd consider adding? Working out how to represent "missing" information in summary lists seems like quite a common issue that’s come up a few times. |
This shows how you can use the summary list when there is some missing information.
0a67d27
to
fdd5ec4
Compare
This shows how you can use the summary list when there is some missing information. There’s a few scenarios when this can occur:
One option for tackling this is to leave the
value
column blank, or with some placeholder text such as "Not entered", whilst keeping a "Change" link in theactions
column. However "Change" makes sense sense when there’s no existing value to change. The link could be renamed to "Add" or similar, but the wording is a bit awkward. Having a "Not entered" placeholder text can be harder to spot when scanning, or be mis-interpreted as words literally entered by a user. The placeholder text could be a different colour such as a dark grey, but this is quite subtle and relying upon colour should be avoided. A blank space is arguably easier to spot, but might be mis-interpreted as being an optional question.To solve these issues, a more apparent way to make missing (and required) information apparent is to put a link in the
value
column, instead of a "Change" link. The link text could be a question, or the information required preceded by a verb such as "Enter" or "Select" (depending on context).This pattern/component is being tested by different teams at the Department for Education. Feedback from other teams using similar patterns is welcome.
Screenshot
Alternatives
It may make sense to add further highlighting using a blue border, either left of the key or the link text: