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

PLATUI-847: Fix accessibility issue with hmrcHeader #111

Merged
merged 3 commits into from
Dec 4, 2020

Conversation

matthewmascord
Copy link
Contributor

Resolves accessibility issue with hmrcHeader when displayHmrcBanner is set to true.

Previously this component defined two top-level 'banner' landmarks failing automated Axe accessibility tests. On advice from the HMRC accessibility team, the HMRC banner has been moved inside HEADER so that screen-reader users read the banner as part of the overall header and can skip to the main content more easily.

Related unresolved GDS issues:
alphagov/govuk-frontend#1604
alphagov/govuk-frontend#1679

This change has been tested on the following devices/browsers:
https://www.gov.uk/service-manual/technology/designing-for-different-browsers-and-devices
June 2020

Windows 10, IE11
Windows 10, Edge 87
Windows 10, Firefox 83
Mac OS Catalina Safari 14
Mac OS Catalina Safari 14 with Voiceover
Mac OS Catalina Firefox 81
Mac OS Catalina Chrome 87
iPhone 8 Chrome
iPhone 8 Safari
Android 9, Samsung Galaxy S10, Chrome
Android 9, Samsung Galaxy S10, Samsung Internet

src/components/header/template.njk Outdated Show resolved Hide resolved
src/components/header/template.njk Outdated Show resolved Hide resolved
src/components/header/template.njk Outdated Show resolved Hide resolved
src/components/header/template.njk Outdated Show resolved Hide resolved
@matthewmascord matthewmascord merged commit 159f60b into master Dec 4, 2020
@matthewmascord matthewmascord deleted the PLATUI-847_hmrc_banner_a11y_fix branch December 4, 2020 09:31
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