Skip to content

Commit

Permalink
feat: add Touch Target Minimum section to Links page
Browse files Browse the repository at this point in the history
  • Loading branch information
CBID2 committed Jan 12, 2024
1 parent e764585 commit 244d0d9
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
27 changes: 27 additions & 0 deletions components/ContentTemplates/LinksTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,33 @@ other places on the web */`}
</a>
</li>
</ul>
<TemplateSection
sectionName="Touch Target Minimum"
title="Touch Target Minimum">
<p>
When it comes to creating accessible links, it's important that they
are easy to activate. To achieve this goal, WCAG suggests the
following:
</p>
<ul className="list">
<li>
Spacing: Ensure that the link's text has enough space so that
users can understand its context. Doing this would also make it
easier for users who have motor dexterity issues.
</li>
</ul>
<p>
{" "}
If you're interested in learning more about this new standard, check
it out at{" "}
<a
href="https://www.w3.org/TR/WCAG22/#target-size-minimum"
className="blockLink">
{" "}
W3's website
</a>{" "}
</p>
</TemplateSection>
</TemplateSection>
<PageUpdated date="5th January 2024" />
</>
Expand Down
1 change: 1 addition & 0 deletions data/pageNavigationLists.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export const linkPageNavigation: IPageNavigationItem[] = [
{ linkName: "Link State and Style", href: "#linkStates" },
{ linkName: "Image and Icon Links", href: "#linkImage" },
{ linkName: "WCAG Criteria", href: "#WCAGCriteria" },
{ linkName: "Touch Target Minimum", href: "#touchTargetMinimum" },
{ linkName: "Other Resources", href: "#otherResources" },
]

Expand Down

0 comments on commit 244d0d9

Please sign in to comment.