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

Prevent navigation events from being tracked on tab controls #9711

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

ryanb-gds
Copy link
Contributor

It would be preferable to use the role ARIA attribute to do this, but it's not present yet when this module is initialised. This is because component modules are initialised after analytics and the tabs component is responsible for adding the role via javascript during its initialisation. Analytics modules are initialised before components by GOV.UK Publishing components.

Trello: https://trello.com/c/mVJGdWsZ

It would be preferable to use the role ARIA attribute to do this, but it's not present yet when this module is initialised.
This is because component modules are initialised after analytics and the tabs component is responsible for adding the role via javascript during its initialisation.
Analytics modules are initialised before components by GOV.UK Publishing components.
@ryanb-gds ryanb-gds merged commit 4bba1ed into main Dec 10, 2024
20 checks passed
@ryanb-gds ryanb-gds deleted the fix-tab-navigation-events branch December 10, 2024 10:39
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.

2 participants