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

WCAG 2.2 Error with class .hmrc-sign-out-nav__link #337

Open
thirlz95 opened this issue Jan 10, 2024 · 2 comments
Open

WCAG 2.2 Error with class .hmrc-sign-out-nav__link #337

thirlz95 opened this issue Jan 10, 2024 · 2 comments

Comments

@thirlz95
Copy link

I'm using the header component within my project and I've come across the following serious warning from accessibility testing with the new WCAG 2.2 guidelines.

Screenshot 2024-01-10 at 13 59 02

I believe this could be fixed by increasing the font-size from 1rem to 1.2rem. I'd happily create a PR for this if you wish.

@YashuMishra
Copy link

YashuMishra commented Jan 10, 2024

Yeah it can be fixed but you can do one more thing increase the padding around the target element to effectively increase its clickable area.

@ellamdav
Copy link
Contributor

ellamdav commented Mar 15, 2024

Thanks for reporting this, and apologies for the delay in getting to it 🙌

Are you able to confirm that this is still an issue with the latest version? If so, could you possibly include a screenshot of the problem page and/or a link to your repo, or just the relevant HTML fragment?

It looks like maybe your Service Name is a clickable link and is coming up against the sign-out link, but I've been unable to reproduce this locally.

Can you also confirm which accessibility tool(s) are showing the violation?

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

3 participants