Links

Provides styles for the different types of links. Note that in order to reduce user confusion, we use different link colors for visited and new destinations.

Provides styles for default links using the .link class. These links are meant to be used in long-form text in a paragraph or the body section of a web page. The punctuation should not be linked.

It benefits the entire community when kids learn to be responsible digital citizens.
It benefits the entire community when kids learn <a href="https://commonsensemedia.org?1" class="link">to be responsible digital citizens</a>.

Provides styles for title links adding the .link--title class to a link. Primarily used to direct users to an existing resource by clicking on media titles or articles. Always preserve source punctuation (Title Case) when using title links.

My Berkeley Externship Experience with the Common Sense Privacy Program

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sollicitudin orci eu rhoncus lobortis. Proin fringilla magna vitae purus congue vestibulum. Mauris nec diam neque. Sed faucibus egestas risus, ut eleifend neque iaculis eget. Sed ac erat tincidunt, rhoncus mauris id, pharetra mauris.

<h2><a href="https://commonsensemedia.org?3" class="link link--title">My Berkeley Externship Experience with the Common Sense Privacy Program</a></h2> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sollicitudin orci eu rhoncus lobortis. Proin fringilla magna vitae purus congue vestibulum. Mauris nec diam neque. Sed faucibus egestas risus, ut eleifend neque iaculis eget. Sed ac erat tincidunt, rhoncus mauris id, pharetra mauris.</p>

Provides styles for short and independent text links adding the .link--cta class to a link. Can be used to invite a direct response and commitment from the user: Join, Get started, Support Common Sense (primary use case). Offer less risky option for staying engaged: Learn more, Continue reading, Get the free guide (secondary use case). This gives users the choice to learn more, continue reading etc. Free of any punctuation (except, occasionally, question marks). Written in sentence case (capitalize only the first word and any proper nouns).

<a href="https://commonsensemedia.org?5" class="link link--cta">Read more</a>

Provides styles for reversed links adding the .link--reverse class to a link. Used on dark background (same style as default link, modified with different color for visibility).

<a href="https://commonsensemedia.org?6" class="link link--reverse">This is a reverse link</a>

Reverse title link.

<h2><a href="https://commonsensemedia.org?3" class="link link--title link--reverse">My Berkeley Externship Experience with the Common Sense Privacy Program</a></h2>

Provides support to use links along with inline icons. Icons are not ready yet, so using a symbol instead. We can update and use the icon when ready.

<a href="https://commonsensemedia.org?7" class="link link--cta"><i class="icon-add-rating-outline"></i>Rate this movie</a>

Accessibility

  • Text links should be descriptive, actionable, clear and concise.

  • Linked text should be unique within a page, should be meaningful when read out of context, and should help users to know something about their destination if they click on it. (“Click here” and “More” fail to meet these criteria.) This is important because screen reader users can create a list of links to navigate or select a link with a voice command, so redundant or vague CTAs are not helpful in this case.

Download

Get a bundle with all form control styles.

Download
<p>Get a bundle with all form control styles.</p> <a href="/styles/atoms/link.css" download="cs-link.css" target="_blank" class="btn btn--primary">Download</a>

results matching ""

    No results matching ""