speak-asLimited availability
The speak-as CSS property sets how any element's content is spoken. Not to be confused with the speak-as descriptor of @counter-style at-rules.
Not yet supported in all major browsers — check the table and provide a fallback.
Browser support
DesktopChrome
✕Not supportedup to 155
Current: 155Edge
✕Not supportedup to 154
Current: 154Firefox
✕Not supportedup to 157
Current: 157Safari
1–11Not supported
11.1+Supportedsince Apr 12, 2018
Current: 27MobileChrome Android
✕Not supportedup to 155
Current: 155Firefox Android
✕Not supportedup to 157
Current: 157Safari iOS
1–11Not supported
11.3+Supportedsince Mar 29, 2018
Current: 27How to use
Not supported in Chrome, Edge, Firefox, Chrome Android, Firefox Android. Use feature detection below and provide a fallback (or a polyfill) for those browsers.
Example
Full syntax and examples are on MDN: speak-as.
Feature detection
CSS · check before using
@supports (speak-as: initial) {
/* styles that rely on speak-as */
}
/* or in JavaScript */
if (CSS.supports("speak-as", "initial")) {
// use it
}Documentation (MDN)
Specification
Sub-features
Support for each part of the feature (6). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| speak-as | ✕ | ✕ | ✕ | 11.1 | ✕ | ✕ | 11.3 |
| speak-as.digits | ✕ | ✕ | ✕ | 11.1 | ✕ | ✕ | 11.3 |
| speak-as.literal-punctuation | ✕ | ✕ | ✕ | 11.1 | ✕ | ✕ | 11.3 |
| speak-as.no-punctuation | ✕ | ✕ | ✕ | 11.1 | ✕ | ✕ | 11.3 |
| speak-as.normal | ✕ | ✕ | ✕ | 11.1 | ✕ | ✕ | 11.3 |
| speak-as.spell-out | ✕ | ✕ | ✕ | 11.1 | ✕ | ✕ | 11.3 |