Forum Moderators: not2easy
I have searched the W3C site and it looks like I won't be able to do it - I was hoping that I trigger the sound on a:hover just like you can change the text color or background image.
Does anyone know how to do this? Much appreciated.
Ellen
As DrDoc says, aural stylesheets (which are a terrible idea and aren't supported anywhere anyway) are for when a web page is read by a screen reader rather than displayed on a screen.
the aural styles include the feature of background sounds or music
...still not intended for the normal user.
[w3.org...]
speech
Intended for speech synthesizers. Note: CSS2 had a similar media type called 'aural' for this purpose. See the appendix on aural style sheets for details....
Media types are mutually exclusive in the sense that a user agent can only support one media type when rendering a document. However, user agents may have different modes which support different media types.
So, a browser cannot support both the speech (aural) and screen media type at the same time. Several browsers have this problem today with print style sheets, but that's not the way it is supposed to be.
Aural styles will be deprecated in CSS 2.1
Aural styles are not deprecated... The media type is, and replaced by speech. But that's merely a matter of name change.
Ellen
Aural styles are not deprecated... The media type is, and replaced by speech. But that's merely a matter of name change.
Thanks DrDoc. I guess a better word for aural styles will be “undefined” when CSS 2.1 becomes a formal recommendation.
Therefore CSS 2.1 reserves the 'speech' media type (see chapter 7, "Media types"), but does not yet define which properties do or do not apply to it.
The W3C has reserved the media type speech, but the properties and values for this new media type are completely undefined. Aural styles will still be valid in CSS 2.1, but they will have no defined meaning.
HTH,
CK