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

Attachment link maybe fails 2.5.8 Target Size (Minimum) #3444

Open
selfthinker opened this issue Jun 9, 2023 · 0 comments
Open

Attachment link maybe fails 2.5.8 Target Size (Minimum) #3444

selfthinker opened this issue Jun 9, 2023 · 0 comments
Labels
accessibility Accessibility issues identified acknowledged This issue has been triaged. WCAG 2.2

Comments

@selfthinker
Copy link
Contributor

The Attachment link component maybe fails 2.5.8 Target Size (Minimum).

Note: 2.5.8 is part of the new draft WCAG 2.2 criteria. The latest standard is WCAG 2.1. WCAG 2.2 isn't published yet, so this is potentially subject to change.

The Attachment link component has two cases in the component guide where the link is not big enough: with target blank and with data attributes.

The link plus its spacing needs to be at least 24x24px. But those links are only 20px high.
This is fine in other examples in the guide (like in 'Embedded in govspeak') because those are used inline with text.

Although this fails within the component guide, it might not fail when used within context on GOV.UK. As the component misses its context, I cannot fully evaluated it.

If the component is used with other text around it, it’s a pass.
If the component is used within another element which gives enough spacing before and/or after it (so that it’s together at least 24 pixels), it’s a pass.
Otherwise it’s a fail.

@andysellick andysellick added accessibility Accessibility issues identified acknowledged This issue has been triaged. WCAG 2.2 labels Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Accessibility issues identified acknowledged This issue has been triaged. WCAG 2.2
Projects
None yet
Development

No branches or pull requests

2 participants