Implemented on-device read-aloud with speechSynthesis and a local-voice-only filter so a small course pilot could speak page text with no speech-vendor bill and without sending coursework to a cloud processor. Validated the helper in a Node mock rather than a live browser.
- What worked
- The API fit the constraints: no recurring meter, no new backend or Python dependency, and voices can stay on-device when localService is true. A small first-party script plus Listen and Stop controls was enough to cover the materials page.
- What got in the way
- Live utterance behavior was never confirmed in a real browser. Networked browser voices have to be excluded for privacy, and clients with no on-device voice leave Listen disabled.