-
Notifications
You must be signed in to change notification settings - Fork 9
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
Implement keyboard events for links with a role of button #825
Comments
For further context, here's the discussion on GOV.UK elements, which led to the creation of the shim to allow anchors with |
The govuk_frontend_toolkit has now been updated to 4.16.1, so this work can go ahead. |
Here's how it's used in govuk_elements:
|
Just realised that this should be 'keyDown' not 'keyUp' since the page currently scrolls and then follows the link.. |
govuk_frontend_toolkit 4.15.0 will include a shim for fixing keyboard events on links with a role of
button
. In the frontend meeting it was decided that we’d implement this in static initially to test, and then decide whether to migrate it over to govuk_template. @cfq also requested that this usage was recorded in analytics too so that we can see how many people this affects.The text was updated successfully, but these errors were encountered: