我们应该考虑屏幕和打印以外的CSS媒体吗?

时间:2010-01-04 20:54:10

标签: css accessibility obsolete

我们应该考虑屏幕和打印以外的CSS媒体吗? 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). 

其他媒体项目有什么实际好处吗?或所有其他(除了屏幕和打印“)

使用其他媒体类型有什么好处?

5 个答案:

答案 0 :(得分:3)

好吧,如果您支持辅助功能设备,语音盲文可以非常快速地发挥作用。大多数网站不支持这些;例如,通过制作一个可以在lynx中很好地显示的替代纯文本网站,你可能会得到更好的服务。

答案 1 :(得分:2)

这取决于您定位的受众群体。 一般来说,screenprint就足够了。

答案 2 :(得分:2)

使用CSS3媒体查询和“掌上电脑”的移动设备:)

我喜欢能够为移动用户提供可行的替代方案;智能手机用户(与屏幕尺寸相关的媒体查询过滤这些)通常值得关注。

关注信息结构和内容设计随着不同表征之间的差异变得更加重要。

我想知道“打印”在多大程度上是一个好主意:我们应该鼓励人们从网上打印内容吗?我可以在少数情况下看到这种情况的有效性,但不是一般规则。

答案 3 :(得分:2)

对于普通的Web开发人员来说,屏幕和打印可能是唯一需要担心的问题。

即便是iPhone也会忽略手持媒体类型:

  

iPhone OS忽略了打印和手持媒体查询,因为这些类型不提供高端Web内容。因此,请使用iPhone OS的屏幕媒体类型查询。

来源: Optimizing for Safari on iPhone

大多数其他媒体类型都针对残障用户。这些用户通常会为他们的计算机(如屏幕阅读器或放大镜)使用某种辅助技术,而且很难知道他们可能正在使用哪些技术,以及他们是否也支持备用样式表。除非您专门针对这些用户(并了解他们使用的是哪种技术),否则最好坚持使用事实上的标准。

答案 4 :(得分:1)

如果您正在尝试构建高度可访问的网站,则可能值得实施不常用的媒体类型,以便可能支持未来的设备。

如果得到支持,演示媒体会很酷。 tv应该由Boxee或PS3等设备支持,但是我听过的唯一支持它的是Wii。

对于99%的案例,不要浪费你的时间。