<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/would-you-reconsider-your-tufte-css-sidenotes--bg8n1ahlq" -->

---
title: Would you reconsider your Tufte CSS sidenotes? | daily.dev
description: Tufte CSS sidenotes are written inline inside paragraphs, and that breaks text selection, reader modes and screen readers. The author tested Firefox and...
canonical: https://daily.dev/posts/would-you-reconsider-your-tufte-css-sidenotes--bg8n1ahlq
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Would you reconsider your Tufte CSS sidenotes? | daily.dev
og:description: Tufte CSS sidenotes are written inline inside paragraphs, and that breaks text selection, reader modes and screen readers. The author tested Firefox and...
og:url: https://daily.dev/posts/would-you-reconsider-your-tufte-css-sidenotes--bg8n1ahlq
og:image: https://api.daily.dev/og/posts/bG8N1aHlq.png
og:image:alt: Would you reconsider your Tufte CSS sidenotes?
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.

# Would you reconsider your Tufte CSS sidenotes?

**[Lobsters](https://daily.dev/sources/lobsters)** · 11 min read · 0 upvotes · 0 comments

## Summary

Tufte CSS sidenotes are written inline inside paragraphs, and that breaks text selection, reader modes and screen readers. The author tested Firefox and Chromium. Copying a selection drags the sidenote text into the middle of the sentence, and Firefox Reader View runs the note into the main text with no space. EWW and TalkBack also read it out of order. The collapsible checkbox button is tempting to click and works against Tufte's goal of notes that never need interaction. The fix is to write sidenotes as footnotes placed right below their paragraph, then style them to the side with CSS and keep them as blocks on mobile.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://kyo.iroiro.party/en/posts/why-not-tufte-css>

## Questions this post answers

### Why do Tufte CSS sidenotes break Firefox Reader View and text selection?

Tufte CSS puts each sidenote inline inside its paragraph, and reader modes, text selection and screen readers follow DOM order and ignore CSS layout. Copying a selection pulls the sidenote text into the middle of the sentence. Firefox Reader View also joins the note to the main text with no space, as in "Bembo" and "See".

_Developers who care about accessible markup follow web-standards discussions like this on daily.dev._

### How can I implement sidenotes in a semantically correct way instead of inline Tufte CSS sidenotes?

Write the sidenotes as real footnotes placed right below the paragraph that references them, so the DOM stays semantically correct. Then use CSS to position those footnotes to the side on wide screens. On mobile, use media queries to keep them as non-float blocks. This preserves reader mode and text-mode browser behavior.

_Anyone choosing between footnotes and sidenotes for a blog can keep up with CSS patterns on daily.dev._

## Community take

How the wider developer community reacted, aggregated from 2 discussions and 8 comments across lobsters, hackernews (as of 2026-11-30).

**TL;DR:** Commenters largely agree inline Tufte-style sidenotes have real accessibility and selection problems, but opinions diverge on the fix — some favor CSS anchor positioning, others prefer block-based sidenotes, plain footnotes, or blockquote-style asides.

**Sentiment:** 20% positive · 55% mixed · 25% skeptical

**The case for**

- CSS anchor positioning is now supported across browsers and can degrade gracefully to a mobile layout, solving most of the issues raised.
- Sidenotes let a hurried reader skip past them while a curious reader can glance at them without disrupting flow.
- Block-based sidenotes (as peer elements to paragraphs) avoid corrupting text selection while keeping most of the simplicity of Tufte-style notes.
- Plain HTML footnote links already work well with screen readers and give back-navigation for free.

**The pushback**

- Keeping sidenote and main text referenceable 'at once' is harder with separate footnote links than with true sidenotes.
- On mobile, most sidenote implementations fall back to the same problems as footnotes, so sidenotes aren't a complete solution.
- Reader mode itself can be buggy, with one commenter reporting it breaking entirely on Android Firefox for this very post.
- Block-based sidenotes still leave some original complaints unresolved, like notes collapsing by default on mobile and relying on a small symbol as a click target.

**By community**

- lobsters (mixed): People broadly validate the post's critique but split between several competing technical fixes (CSS anchor positioning, block-based sidenotes, asides, or simple footnote links).
- hackernews (mixed): No substantive comments were available to characterize the discussion.

**Hottest debate:** Whether true side-by-side sidenotes (now feasible via CSS anchor positioning) are worth the complexity versus simpler footnotes or paragraph-level asides.

**Open questions**

- Will CSS anchor positioning become reliable enough to fully replace inline-hack sidenote techniques?
- How should sidenotes degrade on mobile without reintroducing footnote-style problems?

**Highlights**

> It is now supported by all browsers, and you can still degrade to the mobile version when the browser does not support CSS anchors. See my [own take](https://vincent.bernat.ch/en/blog/2026-css-sidenotes). I think it solves all the issues mentioned by the article. Also about sidenotes vs footnotes, sidenotes make it easy to not disrupt the reading flow. A reader in a hurry is not bothered by them, while a curious reader can glance at them quickly.
> — [vbernat on lobsters · 3 points](https://lobste.rs/s/i4igjb/would_you_reconsider_your_tufte_css#c_6yqujl)

> Thanks, this is a great elaboration of [the previous discussion](https://lobste.rs/s/rwdufq/anti_patterns_software_blogging). Some time after posting my comment in that thread I realised that I should have been more specific about what I meant by an “aside”, because it could be misread as “sidenote”. Sidenotes deal with my complaints about footnotes except for the lack of space on mobile, which in most implementations of sidenotes brings back all the problems of footnotes. So sidenotes are not a complete solution. > Aside: To be honest I hadn’t properly considered the issue of nonlinear text order that the current article tackles, perhaps because I dislike reader mode because it cannot be configured to my liking, bah. I like the way an aside doesn’t interrupt the reader in the middle of a sentence: instead it’s more like a paragraph-level parenthetical. In fact, the example above actually started off as a shorter inline (parenthetical) but then I realised that its sentence was too long and complicated and also I needed an example. The disadvantage is that an aside usually needs some more verbiage to make the context clear because there isn’t an explicit marker tying it to a specific word or sentence. On the gripping hand, the ergonomics (of things like text order and markup or typographical scaffolding) of asides for the writer and reader are a lot more similar to each other, compared to most of the footnote markup I’ve seen. I usually format asides in a similar style as a blockquote, but they can nicely turn into sidenotes when space permits.
> — [fanf on lobsters · 2 points](https://lobste.rs/s/i4igjb/would_you_reconsider_your_tufte_css#c_zvi4rn)

> My pandoc-sidenote program supports an alternative to Tufte CSS sidenotes which I called “block-based sidenotes.” They solve some of the problems the author points out, especially the point about text selection: these block-based sidenotes are peer elements to the paragraph nodes they anchor to, so the side note contents only show up in the selection when crossing a paragraph boundary. It also solves some problems attempting to use Tufte CSS sidenotes with Pandoc specifically, because Pandoc’s internal representation doesn’t allow block elements to reside inside inline elements. I don’t think it’s perfect but for me it achieves a lot of the simplicity of Tufte CSS style sidenotes without most of the downsides. Many of the other problems the author points out remain, like the fact that side notes are collapsed by default on mobile screen sizes, or using the ⊕ symbol as a click target. https://jez.io/pandoc-markdown-css-theme/features/#block-based-side-notes
> — [jez on lobsters · 1 points](https://lobste.rs/s/i4igjb/would_you_reconsider_your_tufte_css#c_jwjkat)

> But that makes it harder for the reader to refer to both sidenote and main content "at once". (More realistically: in brief cycles.)
> — [kqr on lobsters · 2 points](https://lobste.rs/s/i4igjb/would_you_reconsider_your_tufte_css#c_ajqfak)

> >  So if you are reading on a mobile device, I would recommend scrolling through the post for a feeling of sidenotes, and then turning on Reading Mode (if your browser has one). Ironically, turning on reader mode breaks for me in Android Firefox. I see a flash of the reader mode UI and then something happens to the URL bar and it goes back to the original mobile design. I didn't even know this was possible! A clue: It seems to interact with the history API. I tried enabling reader mode a few times, and then hit the back button the same number of times (I assume) and finally ended up back here on lobster.rs.
> — [coby on lobsters · 2 points](https://lobste.rs/s/i4igjb/would_you_reconsider_your_tufte_css#c_tagvmm)

**Source threads**

- [lobsters](https://lobste.rs/s/i4igjb/would_you_reconsider_your_tufte_css) · 37 points · 8 comments
- [hackernews](https://news.ycombinator.com/item?id=50689735) · 2 points · 0 comments

## Similar posts on daily.dev

- [Chris’ Corner: Type](https://daily.dev/posts/chris-corner-type-k8fst8gqg) · CodePen · 0 upvotes · 0 comments
- [Highlighting Footnotes](https://daily.dev/posts/highlighting-footnotes-bsvcukacs) · Kitty says hi. · 1 upvotes · 0 comments
- [Small, native web tricks worth remembering](https://daily.dev/posts/small-native-web-tricks-worth-remembering-wqidwzz7l) · Lobsters · 3 upvotes · 1 comments
- [Sidenotes in Goldmark](https://daily.dev/posts/sidenotes-in-goldmark-pyf0xnpdg) · scottstuff.net · 0 upvotes · 0 comments

---

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

[View this post on daily.dev](https://daily.dev/posts/would-you-reconsider-your-tufte-css-sidenotes--bg8n1ahlq)

```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":"Would you reconsider your Tufte CSS sidenotes?","url":"https://daily.dev/posts/would-you-reconsider-your-tufte-css-sidenotes--bg8n1ahlq","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/would-you-reconsider-your-tufte-css-sidenotes--bg8n1ahlq"},"datePublished":"2026-11-29T20:52:45.862Z","dateModified":"2026-11-30T06:53:20.454Z","description":"Tufte CSS sidenotes are written inline inside paragraphs, and that breaks text selection, reader modes and screen readers. The author tested Firefox and...","image":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","thumbnailUrl":"https://media.daily.dev/image/upload/s--OHB84bZF--/f_auto/v1722860399/public/Placeholder%2010","isAccessibleForFree":true,"articleSection":"Lobsters","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":"Lobsters","logo":"https://media.daily.dev/image/upload/s--tl8v_Fku--/f_auto,t_logo/v1698841318/logos/lobste.jpg","url":"https://daily.dev/sources/lobsters"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/would-you-reconsider-your-tufte-css-sidenotes--bg8n1ahlq","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"css,accessibility","timeRequired":"PT11M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Lobsters","item":"https://daily.dev/sources/lobsters"},{"@type":"ListItem","position":3,"name":"Would you reconsider your Tufte CSS sidenotes?"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/would-you-reconsider-your-tufte-css-sidenotes--bg8n1ahlq#faq","mainEntity":[{"@type":"Question","name":"Why do Tufte CSS sidenotes break Firefox Reader View and text selection?","acceptedAnswer":{"@type":"Answer","text":"Tufte CSS puts each sidenote inline inside its paragraph, and reader modes, text selection and screen readers follow DOM order and ignore CSS layout. Copying a selection pulls the sidenote text into the middle of the sentence. Firefox Reader View also joins the note to the main text with no space, as in \"Bembo\" and \"See\". Developers who care about accessible markup follow web-standards discussions like this on daily.dev."}},{"@type":"Question","name":"How can I implement sidenotes in a semantically correct way instead of inline Tufte CSS sidenotes?","acceptedAnswer":{"@type":"Answer","text":"Write the sidenotes as real footnotes placed right below the paragraph that references them, so the DOM stays semantically correct. Then use CSS to position those footnotes to the side on wide screens. On mobile, use media queries to keep them as non-float blocks. This preserves reader mode and text-mode browser behavior. Anyone choosing between footnotes and sidenotes for a blog can keep up with CSS patterns on daily.dev."}}]}
```

