CSS media query with @media speech
Screen reader compatibility
Expected Result: causes problems in some screen readers
Actual Result: causes problems in 66 screen reader / browser combinations
For expected failures, the results show which AT combos the failures affect. Results are recorded from the user's viewpoint, so describe the user impact of authoring errors.
@media speech
is deprecated in CSS Media Queries Level 4 and not supported by any screen reader.
There has been conflicting information in various CSS specifications on the 'speech' and 'aural' media types.
- CSS 2.0 - Recommendation - May 1998 introduced the 'aural' media type for speech devices including screen readers
- CSS 2.1 - Recommendation - June 2011 deprecated the 'aural' media type and introduced the reserved 'speech' media type (but didn't specify its behavior)
- Media Queries - Recommendation - June 2012 no change to the CSS 2.1 'aural' (deprecated) and 'speech' (reserved) media types
- Media Queries Level 4 - Candidate Recommendation - September 2017 says 'aural' never matches and 'speech' matches screen readers
- Media Queries Level 4 - Candidate Recommendation - July 2020 says 'screen' matches screen readers, 'speech' and 'aural' never match
Code used for this test:
<style>
div.speech-query-fail
{
display: block;
color: black;
background-color: red;
}
div.speech-query-pass
{
display: none;
color: black;
background-color: green;
}
/* change display state using aural media type */
@media speech
{
div.speech-query-fail { display: none; }
div.speech-query-pass { display: block; }
}
</style>
<div class='speech-query-fail'>
Speech Media Query - Fail
</div>
<div class='speech-query-pass'>
Speech Media Query - Pass
</div>
Change History
Last updated: November 26, 2024
NVDA with Chrome Causes problems from NVDA 2017.3 to NVDA 2024.4
NVDA with IE Causes problems from NVDA 2017.3 to NVDA 2019.2
NVDA with FF Causes problems from NVDA 2017.3 to NVDA 2024.4
JAWS with Chrome Causes problems from JAWS 2018.1811.2 to JAWS 2024.2409.2
JAWS with IE Causes problems from JAWS 17.0.2619 to JAWS 2019.1912.1
JAWS with FF Causes problems from JAWS 17.0.2619 to JAWS 2024.2409.2
VoiceOver macOS Causes problems from VoiceOver macOS 10.13 to VoiceOver macOS 14.6
VoiceOver iOS Causes problems from VoiceOver iOS 11.4 to VoiceOver iOS 17.7
WindowEyes with IE Causes problems in WindowEyes 8.4
Dolphin with IE Causes problems in Dolphin SR 16.06
SaToGo with IE Causes problems in SaToGo 3.4.96.0
Screen reader | Browser | Mode | Notes | What the user hears |
---|---|---|---|---|
![]() | Chrome 131 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | FF 128 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Edge 131 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Chrome 120 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | FF 115 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Edge 120 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Chrome 105 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | FF 102 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Edge 105 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Chrome 94 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | FF 91 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Edge 94 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Chrome 86 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | FF 78 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Edge 92 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Chrome 79 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | FF 68 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | IE11 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Chrome 73 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | FF 60 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | IE11 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Chrome 66 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | FF 49 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | IE11 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Chrome 131 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | FF 128 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Edge 131 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Chrome 120 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | FF 115 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Edge 120 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Chrome 105 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | FF 102 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Edge 105 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Chrome 94 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | FF 91 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Edge 94 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Chrome 86 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | FF 78 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Edge 92 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Chrome 79 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | FF 68 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | IE11 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Chrome 73 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | FF 60 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | IE11 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | FF 52 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | IE11 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | FF 49 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | IE11 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | IE11 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Safari 17.6 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Safari 16.6 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Safari 15.6 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Safari 15.0 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Safari 14.1 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Safari 13.0 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Safari 11.1 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Safari iOS 17.7 | Touch | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Safari iOS 16.6 | Touch | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Safari iOS 15.6 | Touch | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Safari iOS 14.7 | Touch | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Safari iOS 13.3 | Touch | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Safari iOS 12.4 | Touch | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | Safari iOS 11.4 | Touch | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | IE11 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
![]() | IE11 | Reading | Does not match 'speech' media type. | Speech Media Query - Fail. |
Test notes
All tests were carried out with screen reader factory settings. JAWS in particular has a wide variety of settings controlling exactly what gets spoken.
Screen readers allow users to interact in different modes, and can produce very different results in each mode. The modes used in these tests are:
- Reading Content read using the “read next” command in a screen reader
- Tabbing Content read using the “tab” key in a screen reader
- Heading Content read using the “next heading” key in a screen reader
- Touch Content read when touching an area of screen on a mobile device
In the “What the user hears” column:
- Commas represent short pauses in screen reader voicing
- Full Stops represent places where voicing stops, and the “read next” or “tab” or “next heading” command is pressed again
- Ellipsis … represent a long pause in voicing
- (Brackets) represent voicing that requires a keystroke to hear