More use of "media" attribute for providing device dependent CSS

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Frank Ralf's picture

By using CSS's "media" attribute we could provide customized CSS for different end user devices (browsers, screen readers, Braille devices, etc.) without interfering with other devices' style sheets.

media=
" { all | aural | braille | embossed | handheld | print | projection | screen | tty | tv } "

(see http://reference.sitepoint.com/html/style/media for details)

Comments

Joe Clark on the subject

Frank Ralf's picture

It appears, then, that your job as Web author need not include worrying about media stylesheets for accessibility. They’re poorly thought out and are effectively unsupported in the real world.

http://joeclark.org/book/sashay/serialization/Chapter11.html

You'll find some more links at http://drupal.org/node/448292#comment-2565764

Thanks for following up!

mgifford's picture

Thanks for posting these links. And indeed for asking the questions!