speak-as

Controls how a screen reader or speech synthesizer should pronounce certain content. For example, it can force the browser to 'spell out' every letter or read out punctuation marks.

It is documented as part of the CSS Speech specification. This is an experimental technology. The syntax and behavior are still subject to change.

/* Usage Example */
.acronym {
  /* Forces screen readers to say 'H-T-M-L' instead of trying to pronounce it */
  speak-as: spell-out;
}

/* Syntax */
speak-as: normal;
speak-as: spell-out;
speak-as: digits;
speak-as: literal-punctuation;
speak-as: no-punctuation;

/* Global values */
speak-as: inherit;
speak-as: initial;
speak-as: revert;
speak-as: revert-layer;
speak-as: unset;
Limited availability Since 2020 14% global usage

This feature is not Baseline because it does not work in some of the most widely-used browsers.

11.1+
Kinsta

Your first month is free

Managed WordPress hosting for faster sites.

Learn more

New CSS drops.

Join 600+ readers who've survived clearfix hacks.

ESC