Scroll-Scrubbed Word Reveal Make reading progress visible without replacing real text, breaking inline markup, or depending on a fixed line count. Prepare the text 1. Keep one untouched accessible text source in the DOM. 2. Walk text nodes with ; do not flatten the container with or . 3. Skip , , form controls, and elements marked with . 4. Replace only non-whitespace tokens with spans and preserve whitespace nodes exactly. 5. Mark generated spans only when an equivalent unsplit accessible copy remains available. Preferred structure: Avoid line-based splitting. Browser line wraps must remain…