charLength in SpeechSynthesisEvent

Adds the charLength attribute to the SpeechSynthesisEvent in the Web Speech API, which is fired every time a word is spoken in text to speech applications. The charLength length allows developers to get the length, in characters, of the word that is about to be spoken.

Currently, developers resort to third-party libraries or error-prone, self-rolled code for getting word length in text to speech applications. OS text to speech engines already expose this functionality, so this feature will reduce code bloat and complexity for web developers if we expose this functionality to them.



Established standard

Status in Chromium


In development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.


Last updated on 2019-05-24