"No, websites should not play sounds, it is annoying" I have a somewhat different response to that. They are correct sounds can already be played. Supporting control in CSS (although I am not sure how) would allow the end user's CSS to override it, as well as for alternate style sheets provided by the author to override it, so it is still useful. CSS media queries may also be available, such as mono/stereo/surround, which may also be useful.<p>My own ideas of a new web browser include meta-CSS that the end user can use (I have not yet defined the syntax of meta-CSS), as well as some new CSS commands, such as !priority; only values in a narrow range are allowed for !priority for document authors, while the end users may use values above and below that range too. If you simply want to mute all audio, maybe you can write:<p><pre><code> * { audio-volume: 0% !important !priority(255); }
</code></pre>
More complex preferences could also be defined using user CSS and meta-CSS.<p>So, yes, CSS for audio seems like it might be a good idea. However, the web browser will need to be designed with better user control of these things than many existing implementations tend to do.