conv.

All stories
TechQuiet 41h · day 3

Kev Quirk's post on styling :visited links sparks small dev debate

A blogger's decision to color visited links purple prompts discussion on Lobsters and Hacker News about whether custom CSS or browser defaults handle link history best.

What to know

  • The story centers on a short blog post by Kev Quirk about styling the CSS :visited pseudo-class, not a major tech announcement.
  • Quirk changed his own site to color visited links purple after noticing the behavior in his RSS reader Miniflux.
  • Discussion on Lobsters splits between using custom CSS to style visited links and relying on (or fixing) browsers' native default link-color handling.

The dispute Whether developers should style :visited links themselves or trust (and push browsers to improve) native default link coloring. · positions read across 36 posts and comments

most voices

Custom :visited styling is genuinely useful for tracking which links/pages have already been visited.

  • “:visited is very useful when clicking around to research things, to avoid opening the same page five times because I've forgotten what I've looked at and not.”

    m_eiman · Lobsters ↗
some voices

Sites shouldn't override link colors at all; leave it to the browser's own defaults, which already differentiate visited links.

  • “Or just don't use CSS to change colors and use the browser's defaults :) (That gives you different colors for visited links.)”

    koala · Lobsters ↗
some voices

Browser default color schemes for links are themselves poorly designed, undermining the case for relying on them.

  • “Last I looked, the default dork mode colour scheme on some browsers has rancid colour choices with unreadably poor contrast.”

    fanf · Lobsters ↗

Kev Quirk Blogger, author of the original post

How it unfolded 3 developments, newest first · click a bar or a number to jump postscomments

Peak 5 pieces in one hour at Sep 21, 7 AM; 40 pieces over 3 days (1 article · 5 posts · 34 comments) Sep 21, 4 AM — 1 piece · 1 post — Mastodon 1Sep 21, 5 AM — quietSep 21, 6 AM — 2 pieces · 2 posts — Lobsters 1, Mastodon 1Sep 21, 7 AM — 5 pieces · 1 post · 4 comments — Lobsters 4, Hacker News 1Sep 21, 8 AM — 4 pieces · 4 comments — Lobsters 4Sep 21, 9 AM — 1 piece · 1 comment — Lobsters 1Sep 21, 10 AM — 3 pieces · 3 comments — Lobsters 3Sep 21, 11 AM — 3 pieces · 3 comments — Lobsters 3Sep 21, 12 PM — 2 pieces · 2 comments — Lobsters 2Sep 21, 1 PM — 4 pieces · 4 comments — Lobsters 4Sep 21, 2 PM — quietSep 21, 3 PM — quietSep 21, 4 PM — quietSep 21, 5 PM — 2 pieces · 2 comments — Lobsters 2Sep 21, 6 PM — quietSep 21, 7 PM — quietSep 21, 8 PM — 1 piece · 1 comment — Lobsters 1Sep 21, 9 PM — quietSep 21, 10 PM — quietSep 21, 11 PM — 3 pieces · 3 comments — Lobsters 3Sep 22, 12 AM — quietSep 22, 1 AM — quietSep 22, 2 AM — quietSep 22, 3 AM — 2 pieces · 2 comments — Lobsters 2Sep 22, 4 AM — 1 piece · 1 comment — Lobsters 1Sep 22, 5 AM — 1 piece · 1 comment — Lobsters 1Sep 22, 6 AM — quietSep 22, 7 AM — 1 piece · 1 article — Mastodon 1Sep 22, 8 AM — quietSep 22, 9 AM — quietSep 22, 10 AM — 2 pieces · 2 comments — Lobsters 2Sep 22, 11 AM — quietSep 22, 12 PM — quietSep 22, 1 PM — quietSep 22, 2 PM — quietSep 22, 3 PM — 2 pieces · 1 post · 1 comment — Hacker News 1, Lobsters 1Sep 22, 4 PM — quietSep 22, 5 PM — quietSep 22, 6 PM — quietSep 22, 7 PM — quietSep 22, 8 PM — quietSep 22, 9 PM — quietSep 22, 10 PM — quietSep 22, 11 PM — quietYesterday, 12 AM — quietYesterday, 1 AM — quietYesterday, 2 AM — quietYesterday, 3 AM — quietYesterday, 4 AM — quietYesterday, 5 AM — quietYesterday, 6 AM — quietYesterday, 7 AM — quietYesterday, 8 AM — quietYesterday, 9 AM — quietYesterday, 10 AM — quietYesterday, 11 AM — quietYesterday, 12 PM — quietYesterday, 1 PM — quietYesterday, 2 PM — quietYesterday, 3 PM — quietYesterday, 4 PM — quietYesterday, 5 PM — quietYesterday, 6 PM — quietYesterday, 7 PM — quietYesterday, 8 PM — quietYesterday, 9 PM — quietYesterday, 10 PM — quietYesterday, 11 PM — quietToday, 12 AM — quietToday, 1 AM — quietToday, 2 AM — quietToday, 3 AM — quietToday, 4 AM — quietToday, 5 AM — quietToday, 6 AM — quietToday, 7 AM — quietToday, 8 AM — quiet 1–3
Sep 22yesterdaynow · 9:44 AM ET
  1. 3

    Post reaches Lobsters and Hacker News, spawning CSS debate

    The post is submitted to Lobsters and later Hacker News; commenters on Lobsters debate whether custom :visited styling or relying on/fixing browser default link colors is the better approach.

    “Or just don't use CSS to change colors and use the browser's defaults :) (That gives you different colors for visited links.)…”
    — koala
    • This just seems untrue? It’s a tiny micro hostility against your users > I've always made the :visited attribute for hyperlinks look the same as links that haven't been visited, and it seems that it's the default behaviour across the web.

      Studenta11y,web3d ago60▲view on Lobsters ↗
    2 more of the top 3 · 34 posts in this stretch
    • General and longstanding consensus is to treat nav bar links differently from content links. Content links should always be coloured (ideally blue but purple when visited; but brand accent colour and no visited is also common) and underlined at least on hover (I think we got past the no-underlines-at-all stage? I’m actually a little uncertain…

      chrismorgana11y,web2d ago24▲view on Lobsters ↗
    • :visited is very useful when clicking around to research things, to avoid opening the same page five times because I've forgotten what I've looked at and not. And to follow my own footsteps when I'm looking for the same thing a few days later.

      m_eimana11y,web3d ago20▲view on Lobsters ↗
    all of them →
  2. 2

    Mastodon user calls the post reason to style :visited links

    A fediverse user reshares the post, describing it as interesting and saying he might adopt the same styling on his own site.

    “A really interesting post on the merits of styling :visited links in webpages. Might have to do that myself.”
    — chris@fedi.freebooters.uk
    • chris@fedi.freebooters.uk

      A really interesting post on the merits of styling :visited links in webpages. Might have to do that myself.

      chris@fedi.freebooters.ukMastodon3d agoview on Mastodon ↗
  3. 1

    Kev Quirk publishes post questioning :visited link styling

    Quirk writes that he has always made visited links look identical to unvisited ones, but after seeing his RSS reader Miniflux color visited links purple, he changes the CSS on his own blog to do the same.

    “I've always made the :visited attribute for hyperlinks look the same as links that haven't been visited... until I actually used :visited in anger.”
    — Kev Quirk
    1. first by Mastodon, 2d ago

    • kev

      I always made the :visited attribute for hyperlinks look the same as links that haven't been visited, but now I'm questioning that behaviour. https:// kevquirk.com/do-you-use-visite d-on-links

      kevMastodon3d ago8▲view on Mastodon ↗

What people are saying 18 voices from 1 site · best of 36 · verbatim

Still unanswered
  • Why don't browsers provide better UI for users to customize link/visited colors themselves?