Search code examples
cssaccessibilityobsolete

Should we think about CSS media other than screen and print?


Should we think about CSS media other than screen and print? http://www.w3.org/TR/CSS2/media.html#media-types

all
    Suitable for all devices. 
braille
    Intended for braille tactile feedback devices. 
embossed
    Intended for paged braille printers. 
handheld
    Intended for handheld devices (typically small screen, limited bandwidth). 
print
    Intended for paged material and for documents viewed on screen in print preview mode. Please consult the section on paged media for information about formatting issues that are specific to paged media. 
projection
    Intended for projected presentations, for example projectors. Please consult the section on paged media for information about formatting issues that are specific to paged media. 
screen
    Intended primarily for color computer screens. 
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. 
tty
    Intended for media using a fixed-pitch character grid (such as teletypes, terminals, or portable devices with limited display capabilities). Authors should not use pixel units with the "tty" media type. 
tv
    Intended for television-type devices (low resolution, color, limited-scrollability screens, sound available). 

is there any practical benefit for other media items? or all others ( other than Screen and Print")

what are benefits to use other media types?


Solution

  • For the average web developer, screen and print are probably the only ones to worry about.

    Even the iPhone ignores the handheld media type:

    iPhone OS ignores print and handheld media queries because these types do not supply high-end web content. Therefore, use the screen media type query for iPhone OS.

    Source: Optimizing for Safari on iPhone

    Most of the other media types target users with disabilities. Those users typically will have some kind of assistive technology for their computers (like a screen reader or magnifier), and it's really hard to know which ones they might be using and if they would also support the alternate stylesheets. Unless you're targeting these users specifically (and know what kinds of technologies they are using), it's probably better to stick with the de-facto standards.