Re:The <output> Tag
by sefrost on Saturday October 11, 2025 @12:59PM
(#45550701)
Reader mode seems to still work if you have a div with article text in it. I would be interested to see a comparison of what works and what doesn’t if such a reference exists though!
[ Parent
| on HN ]
Re:The <output> Tag
by TheFlyingFish on Saturday October 11, 2025 @09:26PM
(#45554292)
Reader mode is based on a whole slew of heuristics including tag names, class names, things like link-to-text-content ratio, and other stuff I can't recall. IIRC it considers semantic tag names a stronger signal than e.g. class names, so having <article> in your page isn't necessary but helps a lot.