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

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>

What breaks

Every problem Kana demonstrates comes from one fact: moving something visually with CSS does not change its position in the DOM.

  1. Text selection and copy: if you drag from "serif fonts" to "Tufte CSS", the note body in between is copied along with the text.
  2. 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".
  3. Screen readers: TalkBack reads the note, including its label and link, in the middle of the sentence.
  4. 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