-
Notifications
You must be signed in to change notification settings - Fork 328
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 development update: Tag || Target size (minimum) #4062
Comments
Does this still apply if the tags aren't links? We don't officially support using tags as links, or having links inserted into the tag text, so the component (as we ship it) could be considered compliant already. However, we know that using them as links is something that folks do sometimes, so it might be worth making that functionality official, or increasing the tag's height preemptive to services using them as links. |
Hey @querkmachine! Ahh yes, you've noted the other assumption made. Yes, this is more of a better-safe-than-inaccessible thing, in the event that a service team chooses (against our guidance) to make a tag into a link 👍 I'll add that tidbit to the issue description! |
Had a light chat about this with @querkmachine and we've agreed that we'll keep an eye on this as part of alphagov/govuk-design-system#2299 and see if there's an opportunity to tie this into the review of the tag component specifically. |
Some of the proposed designs in #3502 also increase the height of the tag component, also through increasing the text size, so this issue may be resolved as part of that work too. |
Just hopping in to add that from auditing the components against the new typography scale as part of alphagov/govuk-design-system#2299, I can confirm that this will be solved as part of that update. |
Ah excellent! I thought that might be the case. Sounds like this specific one will either be solved by the tag updates from the task-list working group, or from the new typography scale. A race to the finish 🏃 |
Closing this issue, as it's going to be covered off by other issues: |
What
Check whether the target area of tags needs to be adjusted so that the target area has a height of at least 24px.
Note: the typography work may affect this, as it is changing how font size is handled for small, mobile-size screens.
Resources
Why
Currently tags on small, mobile-size viewport widths are rendered with a target area height of 23px. On large, desktop and tablet-size viewport widths, the height of the target area is 25px.
It would be better if we just bump small-screen up to be at least 24px height.
Notes on the scenario where this applies:
The relevant part of the criteria is:
Technically our current tag should be fine from a 'passes WCAG 2.2 AA' sense, in 99% of situations. However, the current form could fail AA on mobile-size screen widths, if a bunch of tags are stacked vertically without spacing between them.
Who needs to work on this
Developer
Who needs to review this
Accessibility specialist
Done when
The text was updated successfully, but these errors were encountered: