Skip to content

Commit

Permalink
Update attachment link accessibility guidance
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-kirwan committed Oct 3, 2024
1 parent 983d83b commit 269359d
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ body: |
It is expected to be embedded inside an element that provides text styles
(such as `.govuk-body`) so does not provide its own text styling.
accessibility_criteria: |
All touch targets must be 24px large, or leave sufficient space (target-size). See [Understanding Success Criterion 2.5.8: Target Size (Minimum))](https://www.w3.org/WAI/WCAG22/Understanding/target-size-minimum.html)
To achieve this, you can embed the link within another element that maintains sufficient distance between links. For instance, you can place individual links inside a paragraph element styled with a `.govuk-body` class, or as list items in the [list component](https://components.publishing.service.gov.uk/component-guide/list).
Links within paragraphs of text do not need to meet the 24 by 24 CSS pixels requirements, so the Success Criterion passes.
shared_accessibility_criteria:
- link
examples:
Expand Down

0 comments on commit 269359d

Please sign in to comment.