Skip to content
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

Update error summary markup to improve screen reader announcements #1036

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

edwardhorsford
Copy link
Contributor

@edwardhorsford edwardhorsford commented Sep 27, 2024

Description

Fixes #1035.

This replicates this GOV.UK Frontend pr.

The issue I was having was 'There is a problem' getting read out twice. That's not mentioned in the GDS pr, but does seem to be fixed in making these improvements.

I don't think this is a breaking change (GDS didn't release it as one), but it does update the markup.

Checklist

@mcheung-nhs
Copy link
Collaborator

I've had a look and the update does fix the issue of VoiceOver on Mac Safari not reading out the error summary title twice.

However, on NVDA, the summary title ("This is a problem" in the examples below) is not initially read our when compared to the current version.

Tested on NVDA v2024.3.1 on Windows 10.

Current:
https://github.com/user-attachments/assets/09f29c96-e414-4a22-b674-7eb179c457e5

With update:
https://github.com/user-attachments/assets/7b3212c1-5a9c-45b9-83c1-82f44276ed5c

@edwardhorsford - could you confirm this is the case and also whether this is a problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error summary markup needs to be updated to follow GOV.UK
2 participants