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 back-to-top SVG arrow attributes #2048

Merged
merged 1 commit into from
Mar 17, 2021
Merged

Conversation

danacotoran
Copy link
Contributor

It was recommended on GOVUK Accounts team's DAC report that focusable="false" and aria-hidden="true" are added to the "up arrow" SVG on our Privacy notice and Accessibility statement page:
Screenshot 2021-03-12 at 16 43 25

SVGs are in tab sequence in IE, which means that focus disappears as it sequences over them. Adding focusable="false" ensures the SVG is not in tab sequence, while aria-hidden="true" ensures that it is hidden from screen readers.

https://trello.com/c/lNkwruEi/647-fix-accessibility-issues-raised-by-dac

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

It was recommended on GOVUK Accounts team's DAC report that
focusable="false" and aria-hidden="true" are added to the "up arrow" SVG
on our Privacy notice and Accessibility statement page.
This is because SVGs are in tab sequence in IE, which means that focus
disappears as it sequences over them. Adding focusable="false" ensures
the SVG is not in tab sequence, while aria-hidden="true" ensures that it
is hidden from screen readers.
@bevanloon bevanloon temporarily deployed to government-f-back-to-to-0ihqtx March 12, 2021 16:45 Inactive
@AlanGabbianelli AlanGabbianelli merged commit bd1e85a into master Mar 17, 2021
@AlanGabbianelli AlanGabbianelli deleted the back-to-top-fixes branch March 17, 2021 09:59
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.

4 participants