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

Error summaries should only be programatically focusable, not keyboard focusable #944

Open
edwardhorsford opened this issue Apr 30, 2024 · 1 comment

Comments

@edwardhorsford
Copy link
Contributor

Bug Report

The GOV.UK Error summary is only focusable programatically - JS is used to focus it on page load.

The NHS Error summary is different in that it's currently keyboard focusable. From a conversation on NHS slack it sounds like this is because the GOV.UK one has had an update since the NHS one was produced.

What is the issue?

I don't think there's any reason for the error summary to be keyboard focusable - and it's probably good to mirror the GOV.UK one.

@andymantell
Copy link
Contributor

For reference, it got added to govuk in January 2022:
alphagov/govuk-frontend@e1b17e0

Which was after our initial port of the JS:
268e164

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

No branches or pull requests

2 participants