<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/visited-links-are-purple-j2v5w7b8k" -->

---
title: Visited links are purple | daily.dev
description: David Bushell decided to style visited links on his blog, turning them purple within the main body copy. He applied this to most links but left big headings on...
canonical: https://daily.dev/posts/visited-links-are-purple-j2v5w7b8k
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Visited links are purple | daily.dev
og:description: David Bushell decided to style visited links on his blog, turning them purple within the main body copy. He applied this to most links but left big headings on...
og:url: https://daily.dev/posts/visited-links-are-purple-j2v5w7b8k
og:image: https://api.daily.dev/og/posts/J2V5W7B8k.png
og:image:alt: Visited links are purple
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Visited links are purple

**[dbushell](https://daily.dev/sources/dbushell)** · 3 min read · 2 upvotes · 0 comments

## Summary

David Bushell decided to style visited links on his blog, turning them purple within the main body copy. He applied this to most links but left big headings on his blog index unstyled. Wikipedia and MDN style visited links, and the GOV.UK design system has a class to opt out of the visited style, while BBC News turns black links grey. WCAG 2.2 has no requirement to differentiate visited links, and a specific exception allows low-contrast color-only distinctions due to browser privacy constraints on the :visited selector. Bryce Wray commented that Chromium browsers introduced :visited link partitioning in 2025.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://dbushell.com/2026/11/16/visited-links>

## Questions this post answers

### Does WCAG 2.2 require visited links to look different from unvisited links?

No, WCAG 2.2 guidelines have no requirement to differentiate visited from unvisited links. There is a specific exception stating that where color alone distinguishes visited from unvisited links, it does not fail the relevant success criterion, even if the contrast between the two colors is below 3:1. This exception exists because browsers impose strict style limitations on the :visited selector due to privacy concerns.

_Weighing link styling against accessibility rules is easier with practical write-ups like this on daily.dev._

### Why can't CSS :visited selectors style links freely like other pseudo-classes?

Browsers restrict what CSS properties the :visited selector can change because of privacy concerns: without limits, a site could detect which links a visitor has clicked elsewhere, leaking browsing history. Chromium browsers went further in 2025, introducing :visited link partitioning so visited state is tracked per site context rather than globally.

_Developers tracking browser privacy changes to CSS selectors can follow updates like this on daily.dev._

## Similar posts on daily.dev

- [Do you use :visited on links?](https://daily.dev/posts/do-you-use-visited-on-links--vibgyaxuc) · Lobsters · 17 upvotes · 15 comments
- [Underlining Links With CSS](https://daily.dev/posts/underlining-links-with-css-ixynlxegm) · Always Twisted · 16 upvotes · 0 comments
- [Hidden Web Accessibility Issues Most Designers Miss in 2026](https://daily.dev/posts/hidden-web-accessibility-issues-most-designers-miss-in-2026-gm6w0zamx) · Netguru · 0 upvotes · 0 comments

---

Tags: [#css](https://daily.dev/tags/css), [#privacy](https://daily.dev/tags/privacy), [#ui-design](https://daily.dev/tags/ui-design), [#accessibility](https://daily.dev/tags/accessibility)

[View this post on daily.dev](https://daily.dev/posts/visited-links-are-purple-j2v5w7b8k)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Visited links are purple","url":"https://daily.dev/posts/visited-links-are-purple-j2v5w7b8k","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/visited-links-are-purple-j2v5w7b8k"},"datePublished":"2026-11-15T15:04:54.461Z","dateModified":"2026-11-15T15:15:45.986Z","description":"David Bushell decided to style visited links on his blog, turning them purple within the main body copy. He applied this to most links but left big headings on...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/4ad59d6a0ba832edc0bbfe6e7b969f56?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/4ad59d6a0ba832edc0bbfe6e7b969f56?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"dbushell","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"dbushell","logo":"https://media.daily.dev/image/upload/s--o8r11ve8--/f_auto,q_auto/v1776585822/logos/dbushell","url":"https://daily.dev/sources/dbushell"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/visited-links-are-purple-j2v5w7b8k","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"css,privacy,ui-design,accessibility","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"dbushell","item":"https://daily.dev/sources/dbushell"},{"@type":"ListItem","position":3,"name":"Visited links are purple"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/visited-links-are-purple-j2v5w7b8k#faq","mainEntity":[{"@type":"Question","name":"Does WCAG 2.2 require visited links to look different from unvisited links?","acceptedAnswer":{"@type":"Answer","text":"No, WCAG 2.2 guidelines have no requirement to differentiate visited from unvisited links. There is a specific exception stating that where color alone distinguishes visited from unvisited links, it does not fail the relevant success criterion, even if the contrast between the two colors is below 3:1. This exception exists because browsers impose strict style limitations on the :visited selector due to privacy concerns. Weighing link styling against accessibility rules is easier with practical write-ups like this on daily.dev."}},{"@type":"Question","name":"Why can't CSS :visited selectors style links freely like other pseudo-classes?","acceptedAnswer":{"@type":"Answer","text":"Browsers restrict what CSS properties the :visited selector can change because of privacy concerns: without limits, a site could detect which links a visitor has clicked elsewhere, leaking browsing history. Chromium browsers went further in 2025, introducing :visited link partitioning so visited state is tracked per site context rather than globally. Developers tracking browser privacy changes to CSS selectors can follow updates like this on daily.dev."}}]}
```

