Open adamliptrot-oc opened 4 years ago
Page: Do you live in the UK? - Apply for a passport - GOV.UK Test: With VoiceOver on, submit an empty form to force an error state. Result: VoiceOver announces:
“There’s a problem. There’s a problem. Please tell us if you live in the UK.”
Pattern: Error summary GitHub: https://github.com/alphagov/govuk-design-system-backlog/issues/46
The duplication may well be caused by the error summary parent container having role="alert"
, which triggers a screen reader announcement on a change in content, but then the design pattern additionally recommends moving keyboard focus to the summary, which would also result in a screen reader announcement. Shouldn't it be either one or the other techniques, but not both?
Issue tested with Jaws and VO - issue no longer occurs.
Using the published patterns we are seeing error summaries being repeated on page load several times. Noticed on