简体   繁体   English

高对比度,低视力样式表的例子?

[英]Examples of high-contrast, low-vision stylesheets?

Could you recommend some links to live sites which provide an alternate stylesheet for visually impaired users, eg short-sighted, daltonism, protanopia etc. 你能否推荐一些现场网站链接,为视障用户提供备用样式表,例如近视,daltonism,protanopia等。

Any good practices presented in real life? 在现实生活中提出的任何好的做法?

Although I can't give you one off hand for visually impaired here is some useful items: 虽然我不能给你一个视障人士,但这里有一些有用的东西:

  • Here is a sample site with alternate style sheets . 这是一个包含备用样式表的示例站点
  • Here is great tutorial on getting started with alternating style sheets 这是开始使用交替样式表的好教程
  • When developing your site use 'em' when specifying widths and heights. 在开发站点时,在指定宽度和高度时使用'em'。 This is more so when visually impaired users use the zoom feature of their browser. 当视障用户使用浏览器的缩放功能时更是如此。 It will help keep the site looking as it should instead of using 'px' measurements which don't flow/resize as well. 它将有助于保持网站的外观,而不是使用不会流动/调整大小的“px”测量。
  • Use the 'alt' attribute for images as screen readers will read them to users so they can understand what the image is. 使用图像的“alt”属性,因为屏幕阅读器会将其读取给用户,以便他们了解图像的内容。
  • Name your links accordingly. 相应地命名您的链接。 'Click here' hyperlinked text does not tell someone what the link goes to. “点击此处”超链接文字并未告诉某人链接的内容。 'More information on visually impaired design processes' as hyperlinked text however does. 然而,关于视觉障碍设计过程的更多信息如同超链接文本那样。
  • Contrasting text. 对比文字。 Dark text on a light or white background is best for legibility. 浅色或白色背景上的深色文字最易读。

As an alternative you can also use javascript as well. 作为替代方案,您也可以使用javascript。 Here is a joomla site with a plugin for adjusting font sizes . 这是一个joomla网站,带有一个用于调整字体大小的插件

For good practices you should read: 对于良好实践,您应该阅读:

So you need to cover not just how the site looks, but also how screen readers will read your content 因此,您不仅要了解网站的外观,还要了解屏幕阅读器如何阅读您的内容

Here's an online tool that can help you test how any color combination is friendly towards visually impaired: 这是一个在线工具,可以帮助您测试任何颜色组合对视障人士的友好性:

http://gmazzocato.altervista.org/colorwheel/wheel.php http://gmazzocato.altervista.org/colorwheel/wheel.php

It covers a few "topias" and is also aligned with WCAG recommendations. 它涵盖了一些“topias”,并与WCAG的建议保持一致。

Also a nice list of other similar tools: 另外一个很好的其他类似工具列表:

http://www.456bereastreet.com/archive/200709/10_colour_contrast_checking_tools_to_improve_the_accessibility_of_your_design/ http://www.456bereastreet.com/archive/200709/10_colour_contrast_checking_tools_to_improve_the_accessibility_of_your_design/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM