Skip to content
This repository was archived by the owner on Feb 3, 2023. It is now read-only.
This repository was archived by the owner on Feb 3, 2023. It is now read-only.

read more links on news/events pattern fail WCAG 2.0 2.2.4 #2

@spiritcapsule

Description

@spiritcapsule

WCAG 2.0 Guideline 2.2.4 requires that, "The purpose of each link can be determined from the link text alone or from the link text together with its programmatically determined link context, except where the purpose of the link would be ambiguous to users in general. (Level A)"

One way of accomplishing this is to add a title attribute to the <a> element. An even better solution is to put the text that describes the purpose of the link in a accessible portion of the text of the link.

    <article>
        <h6><a href="link/to/article">News Title or Event Name</a></h6>
        <p>A brief snippet about the article or event.</p>
        <footer>
            <p><a href="link/to/article" class="to-more">Read More<span class="hide-accessible">about News Title or Event Name</span></a></p>
        </footer>
    </article>

http://ucla.github.io/WebBlocks-kit/_examples/pattern_news_events_set.html

cc// @lnicks

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions