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

Accessibility: Home page call-to-action "Learn More" could be improved #368

Open
aduth opened this issue Jul 1, 2020 · 1 comment
Open

Comments

@aduth
Copy link

aduth commented Jul 1, 2020

The link text "Learn More" in the initial call-to-action on the Centers of Excellence home page could be improved, because it only makes sense in context of the containing hero callout, which is notably also not part of a single continuous paragraph or sentence.

Note that this may not be a violation of WCAG Level AA (Link Purpose (In Context)), but would be a failure of WCAG Level AAA (Link Purpose (Link Only)). For the purpose of Section 508 compliance, the latter does not strictly apply (refer to Revised 508 Standards, E205 Electronic Content). However, as noted in the failure linked below, the fact that the preceding text "Accelerating modernization across government" is not part of the same paragraph may make it difficult for the user to easily discover to what the link will relate.

WCAG Success Criteria (AAA): 2.4.9: Link Purpose (Link Only)

Relevant Guidance:

https://webaim.org/techniques/hypertext/link_text

Links are more useful when they make sense out of context. Authors should avoid non-informative link phrases such as: [...] read more

https://www.nngroup.com/articles/learn-more-links/

the lack of descriptive keywords is a serious problem for accessibility. People who are visually impaired and using a screen reader or magnifier aren’t able to quickly glance back to the preceding-paragraph text to see what the Learn More link may refer to.

Relevant failure (AA): F63: Failure of Success Criterion 2.4.4 due to providing link context only in content that is not related to the link

If the context for the link is not provided in one of the following ways: [...] in the same sentence, paragraph, list item, or table cell as the link [...] via a suitable ARIA property such as aria-label or aria-labelledby [...] then the user will not be able to find out where the link is going with any ease.

Relevant failure (AAA): F84: Failure of Success Criterion 2.4.9 due to using a non-specific link such as "click here" or "more" without a mechanism to change the link text to specific text.

This failure describes a common condition where links such as "click here" or "more" are used as anchor elements where you need to have the surrounding text to understand their purpose and where there isn't any mechanism to make the destination clear by itself, such as a button to expand the link text.

Remediation Guidance:

The link text (or equivalent ARIA labelling) should describe where the link will navigate.

@iamjolly
Copy link
Member

iamjolly commented Sep 4, 2020

Suggest changing the homepage hero CTA text to "Learn more about COEs" @daniellegallant

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

2 participants