Bugzilla – Bug 659
"speech" is flagged as an invalid value for @media, contrary to what MQ says
Last modified: 2009-10-02 06:15:31 CEST
If you use media="speech" on a <link>, the validator flags it as an incorrect value. But HTML5 references MQ for valid @media values, and MQ says that "aural" was deprecated for "speech" by CSS2.
so this is another case where we'd really want to be able to emit a warning message if we could (Warning: The "aural" media type is deprecated; use "speech" instead). For now, I've just added "speech" to the datatype code and left "aural" in the list of valid media types, FIXME comment. If/when we get the datatypes-warning mechanism added, we can go back and consider adding code to emit a warning for "aural".
I added the following description for media-query to the MicrosyntaxDescriptions page:
"One or more media queries, combined in a comma-separated list. Each media query consists of a media type and zero or more expressions that check for the presence or absence of particular media features. A media type is one of the following: braille, embossed, handheld, print, projection, screen, speech, tty, tv. Note: The aural media type is deprecated. For information about valid media features and about the exact syntax of media queries, see the Media Queries specification."