govuk-design-system-backlog icon indicating copy to clipboard operation
govuk-design-system-backlog copied to clipboard

Check answers

Open govuk-design-system opened this issue 7 years ago • 37 comments

Use this issue to discuss this pattern in the GOV.UK Design System.

govuk-design-system avatar Jan 12 '18 13:01 govuk-design-system

We tested Prototype Kit's Check your answers page on NVDA + Firefox + Windows 10). If NVDA is set to read all content from top of page, it reads out "List of 12 items" on encountering the definition list ("Personal items"). As 12 items here includes both the dt tags ("Name") and the Change links, this might not be helpful to the user. NVDA reads out List of x items with both ul and dl lists so it could be it's not clear to the user how many actual "items" there are in a definition list from NVDA's description.

hannalaakso avatar Apr 12 '18 15:04 hannalaakso

Posting here for visibility

AXe will report an accessibility issue with the Description List that is used in the pattern, with "<dl> is immediately followed by a <div> and not a <dt>"

This is a bug in aXe and a pull request has been opened to address it.

More details on allowed markup in the Description List element: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl under Permitted content section.

kr8n3r avatar Aug 21 '18 12:08 kr8n3r

I've been testing an alternative version to this pattern within the Apply for Direct Rent Payments service. There is no user need to have a change link at each section, as some of the questions are on the same page and grouped to one thing per page e.g Tenant Details. It's tested really well and I wonder if it's worth having something like this as an alternative, depending on what the needs are?

screen shot 2018-09-06 at 13 53 13

Ash-Wilson avatar Sep 06 '18 12:09 Ash-Wilson

We have also been looking at a similar pattern at the DVSA - what are the thoughts on this pattern where each section has a change?

screen shot 2018-09-26 at 21 48 46

sdh100shaun avatar Sep 26 '18 20:09 sdh100shaun

@Ash-Wilson @sdh100shaun The official guidance is to start with One thing per page, in which case most answers would need their own 'Change' link. However if you find in research that grouping some questions on a page works better for your users, then you should do that.

Be really careful though - one advantage of One thing per page is it makes understanding and interaction simpler for everyone. People who have problems reading and understanding, or interacting with digital services can really benefit from One thing per page. This is normally more important than grouping questions to make it a bit quicker for other people.

joelanman avatar Oct 03 '18 10:10 joelanman

thanks @joelanman , our UX person is going to test, especially as this fits into an established application.

sdh100shaun avatar Oct 03 '18 16:10 sdh100shaun

We've tested alternative layout of the page - with values in bold and keys/labels in normal font weight. The alternative version performed better for users with sight issues. It was easier for them to read values that were bold.

This might be a case of a few values on a page, where it is not needed to scan a lot. screen shot 2018-10-18 at 16 08 56

drewno-design avatar Oct 18 '18 15:10 drewno-design

Every now and then we'll get feedback from users indicating they think "Check your answers" means they've made an error, as in they're interpreting the purpose of the page as 'You've made a mistake, check your answers, and correct accordingly". So a title change might be something to consider?

jfranciswebdesign avatar Nov 23 '18 07:11 jfranciswebdesign

Am I right in saying that 'Check your answers' pattern is not part of the new Design System and is not in the govuk-frontend npm package? https://govuk-prototype-kit.herokuapp.com/docs/templates/check-your-answers

Is it more a case of copying over the styles from Elements, in order to use the markup in the example? Just wanted to check it's not directly import-able before copying it over/re-implementing. Thank you :)

MartinDM avatar Dec 14 '18 11:12 MartinDM

Dropbox Paper audit

On 16 January 2019 the Design System team reviewed and removed a Dropbox Paper document discussing the Check answers pattern.

The aim was to reduce the number of places containing guidance and code by:

  • migrating relevant, useful content into the Design System itself
  • recording important research findings in the community backlog
  • removing the original Dropbox Paper page

Below is a record of the outcomes of that review.

If you need to, you can see the original Dropbox Paper content in the internet archive.

Review outcomes

Updates to the Design System

The Design System team will carry out the following updates to ensure that relevant, useful content from the Dropbox Paper file is added to the Design System.

amyhupe avatar Jan 16 '19 09:01 amyhupe

I was wondering how people handle the navigation between this Check Answers page and Question pages, and are there any examples that people can point me in the direction of?

Question Pages are seen as a complete flow navigating through them in order until they are all completed. 1 -> 2 -> 3 -> 4 -> 5 -> Check Answers. When a user decides to change an answer they are directed to the Question Page, when the user completes the question and clicks Continue are they then returned to the Check Answers page or forced to go through the remaining Questions? Would it be better to change the copy to be more explicit?

ChazUK avatar Mar 11 '19 16:03 ChazUK

@ChazUK When user clicks "Change" on "Check answers" page we direct them to the page with the question. When on that page they click "Continue" we direct them straight to "Check answers" page. No need to go through entire flow again. Does that answer your question?

Example: Get MOT reminder: https://www.gov.uk/mot-reminder

drewno-design avatar Mar 11 '19 17:03 drewno-design

Thanks @rafaldrewnowski, that definitely helps.

I like the use of "Save and return to review" as the Submit button, but I have noticed that you have used Back and Cancel and return. Attaching screenshots for anyone looking at this in the future.

What is your mobile number? What is the vehicle's registration number?

ChazUK avatar Mar 12 '19 10:03 ChazUK

That's a good call out. Thank you!

drewno-design avatar Mar 12 '19 13:03 drewno-design

Every now and then we'll get feedback from users indicating they think "Check your answers" means they've made an error, as in they're interpreting the purpose of the page as 'You've made a mistake, check your answers, and correct accordingly". So a title change might be something to consider?

We've come across this too IIRC. Maybe 'Confirm your answers' would be better?

jonathaninch avatar Sep 25 '19 07:09 jonathaninch

Yes. I think 'Summary' fits well. See: https://design-system.service.gov.uk/components/summary-list/

terrysimpson99 avatar Sep 25 '19 07:09 terrysimpson99

When we first worked on this pattern on Register to vote we originally had something like 'Confirm your answers' but some users misread it as a confirmation that they had submitted the details on that page - like a receipt. This meant they wouldn't actually complete the process. I would guess 'Summary' might have the same issue. So we changed it to be more active - a step they need to do, and it seemed to solve that problem.

Having said that, people thinking theres an error is a problem too - do you know how common and severe it was? Would people get stuck looking for an error that wasn't there?

joelanman avatar Sep 25 '19 08:09 joelanman

When we first worked on this pattern on Register to vote we originally had something like 'Confirm your answers' but some users misread it as a confirmation that they had submitted the details on that page - like a receipt. This meant they wouldn't actually complete the process. I would guess 'Summary' might have the same issue. So we changed it to be more active - a step they need to do, and it seemed to solve that problem.

Having said that, people thinking theres an error is a problem too - do you know how common and severe it was? Would people get stuck looking for an error that wasn't there?

It wasn't that common, or severe - it just happens occassionally. I distinctly remember one person spending ages going back and forth between screens looking for a (non-existent) error. We did try "Check before you submit" which seemed to solve the problem.

jfranciswebdesign avatar Sep 30 '19 08:09 jfranciswebdesign

We currently use 'Check your answers before submitting' but we'd like to use the same code in three places (pre-submit web page, pre-submit printed copy, and post-submit printed copy). We either change the title to something that applies in all three places (e.g. 'Summary') or we have different titles. We haven't decided yet so we're interested in this discussion.

terrysimpson99 avatar Sep 30 '19 08:09 terrysimpson99

We have been looking at a slight variation of the 'Check your answers' pattern where our users could potentially add a high amount of goods to their application (e.g. 60 for example).

Originally we had each item (x60) displayed as per this cropped screenshot: 0-cya-change

But the page was very long and difficult to scan. We also observed that with this layout our users were unable to check incorrectly added items, duplicates, see missing goods, etc.

For our next iteration of the prototype, we tried using a 'Manage' link where the user would be taken to another page to then check and/or change their response, before returning back to the main 'Check your answers' page. 1-cya-manage

2-cya-change

So far testing has come back with positive feedback with this implementation for our users.

And kudos to GOV.UK Notify team as I got my design inspiration from their service.

enoranidi avatar Dec 05 '19 12:12 enoranidi

Please can somebody fix the broken link at the top of the page where it says "Use this issue to discuss this pattern in the GOV.UK Design System." This is the second one I spotted, so perhaps it's worth checking similar links for all components/patterns.

terrysimpson99 avatar Dec 09 '19 14:12 terrysimpson99

@terrysimpson99 I'll look into that thanks for letting us know.

NickColley avatar Dec 09 '19 14:12 NickColley

Not sure 'Change' is always the best word to use on CYA pages.

We have examples of UR where a user needs to check the input of another user before it's submitted to HMRC (pension scheme administrators). In those cases, the user doesn't want to change the input but to view / check / review it. Of course, if they find an error they will want to change it in that instance.

Difficult finding the right word to cover 'reviewing but also potentially changing'...

jonathaninch avatar Dec 24 '19 10:12 jonathaninch

Please consider adding something about why this page is two-thirds and indicate an option to go full width. We have at least one, possibly more, services where we believe full width would suit users better.

After asking on slack comments included: "It reduces line lengths which makes them easier to read. It means the action links arent so far to the right, so people using screen magnifiers are less likely to miss them."

"In many services, the user's answers will tend to be shorter - which is more suited towards 2/3 layout. I don't think the layout is ideal for displaying paragraph like answers though"

"sure, you can go full width if you need to"

Those answers were very helpful. Please can the information in those comments be considered for inclusion?

terrysimpson99 avatar Apr 24 '20 17:04 terrysimpson99

I'd like to query the use of a 'govuk-visually-hidden' class mid-sentence. e.g.

<a class="govuk-link" href="#">
  Change<span class="govuk-visually-hidden"> name</span>
</a>

We have a project that are localising content to different languages, and we had to be sure not to assume English grammar can be re-used in a different language when coding it up. To localise the code above, we might assume we can simply translate 'Change' and 'name' separately and put them together in the same order as English grammar. I don't think we should make that assumption.

Could we consider having more complete sentences as visible and accessible labels? e.g.

<a class="govuk-link" href="#">
  <span class="govuk-visually-hidden">Change your name</span>
  <span aria-hidden="true">Change</span>
</a>

Is anyone looking at making the localisation of toolkit templates easier btw?

yantantether avatar Sep 17 '20 11:09 yantantether

Depending on your chosen translation approach you should be able to include HTML in your translatable fields, which is how I've used it in the past.

Although I do like your approach.

ChazUK avatar Sep 17 '20 16:09 ChazUK

There is an accessibility argument for having distinct text of link/buttons visible, rather than hidden. Non-keyboard and mouse users with Dragon voice control software currently have to say 'Click Change' or 'Click button' then specify which one of the highlighted matching elements they want. If the text is unique they can say 'Click change name' and avoid the extra step. It doesn't do the aesthetic any good though.

jbuller avatar Sep 17 '20 17:09 jbuller

We tested the Check your answers pattern with a series of GP's who have a lot of text-heavy detailed content to review.

We tweaked the Check your answers template by instead of having a govuk-grid-column-two-thirds layout, to a full govuk-grid-column-full layout. The users responded very well to this layout. I would suggested offering an expanded version in the Design System for text-heavy answers.

Check your answers feedback

DavDoh avatar Feb 12 '21 14:02 DavDoh

@DavDoh Apologies for the delay in replying and thanks for sharing your research 🙌

Your proposal sounds similar to what has been suggested in https://github.com/alphagov/govuk-design-system/issues/1290. I've added a comment to that issue signpost it to your findings here. Feel free to add any further comments to that issue.

hannalaakso avatar Apr 12 '21 14:04 hannalaakso