UKHomeOfficeForms / hof-template-partials

DEPRECATED, this is built into hof v19 (ノ◕ヮ◕)ノ*:・゚✧
0 stars 3 forks source link

Issue 166: Update error summary content #40

Closed sulthan-ahmed closed 5 years ago

sulthan-ahmed commented 5 years ago

As per GDS guidelines

https://github.com/UKHomeOfficeForms/hof/issues/167

jjrobothamho commented 5 years ago

I don't have access to approve but this looks good to me.

sulthan-ahmed commented 5 years ago

😆 nice one @zuzak

RobinKnipe commented 5 years ago

@sulthan-ahmed - just my .02€ worth, but that title seems a bit generic, i.e. it doesn't give an indication that the problem is with user input as opposed to a server problem.

sulthan-ahmed commented 5 years ago

you make a good point and I agree with you @RobinKnipe The previous summary makes it a bit more obvious. One to take up in X-gov

zuzak commented 5 years ago

I think the intent is that usually the user doesn't care if it's a server problem or a user input problem. If it's a server error, chances are you aren't using the red box error summary pattern anyway.

"There's a problem" message is now acting as a signpost that something is wrong, and that it needs to be fixed: it's meant to be generic. The actual error messages below the header should give clear, precise instructions as to how to do it regardless.

There's user research somewhere (HMRC, I think) that the old text tended to be read as blaming the user for making problems, when it's usually actually our fault for not making the correct thing to do clear enough -- which tends to raise anxiety/etc and make it more likely they'll quit the service.

GDS guidance: https://design-system.service.gov.uk/components/error-summary/

zuzak commented 5 years ago

Ah, here we go: https://github.com/alphagov/govuk-design-system-backlog/issues/128

sulthan-ahmed commented 5 years ago

thanks for the explanation @zuzak