In one line: Tufte CSS–style sidenotes, which embed the note inside the paragraph and push it into the margin with CSS, look great but break DOM order, which is the order text selection, reader modes, and screen readers follow. The alternative people are discussing now is to put the note after the paragraph as an ordinary block and, only on wide screens, lift it next to its reference mark with CSS anchor positioning. The paradigm is to deliberately decouple DOM order from visual order.
Why now
- On 2026-11-29, Kana's post "Would you reconsider your Tufte CSS sidenotes?" (published 2026-10-31, updated 11-05) drew a lively Lobsters discussion (around 50 points, 13 comments). The claim: inline-embedded sidenotes break the main text under copy-and-paste, reader mode, and TalkBack.
- Dave Liepmann, the creator of Tufte CSS, showed up in the thread. He agreed that "the selection and copy/paste issues are legit and significant," but argued that what matters about sidenotes is locality: they are qualitatively different from footnotes or endnotes.
- In the same thread, Vincent Bernat said CSS anchor positioning "is now supported by all browsers" and degrades to the mobile layout when unsupported, solving all the issues in the post. He pointed to his September 2026 article "Sidenotes with CSS anchor positioning". Eric Meyer's 2023 "Nuclear Anchored Sidenotes" was cited as the origin of the technique.
- So a generational switch is happening among people who actually run blogs: from the Tufte CSS checkbox hack (the standard JS-free sidenote) to anchor positioning plus typed
attr() (features that came together in 2025–2026). Both sides are now well documented, so this is a good moment to compare them.
The problem
How Tufte CSS sidenotes are written
This is the markup from the official Tufte CSS page:
<p>In print, Tufte has used the proprietary Monotype Bembo<label for="sn-proprietary-monotype-bembo" class="margin-toggle sidenote-number"></label><input type="checkbox" id="sn-proprietary-monotype-bembo" class="margin-toggle"/><span class="sidenote">See Tufte’s comment in the <a href="...">Tufte book fonts</a> thread.</span> font. ...</p>
- The note body,
<span class="sidenote">, sits in the middle of a sentence (between "Bembo" and "font.").
- On wide screens, CSS floats it into the right margin. On narrow screens it is hidden, and a
<label> plus a hidden <input type="checkbox"> (the "checkbox hack") expands it on tap. No JavaScript is needed.
What breaks
Every problem Kana demonstrates comes from one fact: moving something visually with CSS does not change its position in the DOM.
- Text selection and copy: if you drag from "serif fonts" to "Tufte CSS", the note body in between is copied along with the text.
- Reader mode and text browsers: Firefox Reader View and EWW ignore the CSS and lay text out in DOM order. You get the sentence interrupted, as in
...Monotype Bembo See Tufte’s comment in the Tufte book fonts thread. font., without even a space between "Bembo" and "See".
- Screen readers: TalkBack reads the note, including its label and link, in the middle of the sentence.
- The mobile "⊕" button: a collapsed note goes against Tufte's idea of "no need to move your eyes". Instead it makes readers move their fingers. Because the content is hidden, FOMO tempts readers to open every one.
There is also a structural limit. HTML does not allow flow (block) content inside <p>, so inline-embedded notes cannot hold multiple paragraphs, code blocks, or lists. jez's pandoc-sidenote docs say that non-block elements are silently dropped from inline side notes, because Pandoc's internal representation does not allow block elements inside inline elements.
What we want