Skip to content
Clairos Learn

Links and media · Lesson 2 of 8 · 7 minutes

Links and media: Descriptive link text

A link should communicate its destination without requiring the reader to guess from nearby sentences.

Mastery 0/3Run itExplain itApply it
Web workshopInert preview · code inspection

Current edit

PreviewNo external resources

Understand the pattern

A link should communicate its destination without requiring the reader to guess from nearby sentences.

A link should communicate its destination without requiring the reader to guess from nearby sentences.

Misconceptions to reject

  • A visual appearance alone guarantees the intended HTML meaning.
  • Replacing semantic elements with generic divs automatically improves accessibility.

The preview is a sanitized subset, not a full browser compatibility test.

Worked example and expected result
<a href="/web/">Explore Web foundations</a>
<a href="/unix/">Practice the UNIX terminal</a>
<p>Choose the track that fits your next task.</p>

A link should communicate its destination without requiring the reader to guess from nearby sentences.

Try a variation

Adapt the final example to a different project name while retaining its structure and relationships. A different context still needs a real browser and accessibility check.

Explain it

Which statement correctly explains descriptive link text?

Apply it elsewhere

You reuse descriptive link text in a different project. What must still be verified?

Keep the momentum.

Complete the lab, then explain and apply the pattern.

Next: Links and media: Current-page navigationTry an incident drill

Anonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.

Keep learning

  1. 01Links and media: Relative navigation linksA root-relative href resolves from the site root; a fragment targets an element in the same document.Practice
  2. 02Links and media: Current-page navigationaria-current="page" identifies the active page within navigation without making the link disappear.Practice
  3. 03Links and media: Images with useful alt textAlternative text communicates the relevant content of an informative image. Purely decorative images use empty alt text.Practice