我正在开发一个网站,该网站将在一定程度上供视障人士使用。我的客户请求用户可以使用按钮来更改字体大小,如下所示:
我的问题是,考虑到更改浏览器中字体大小的可能性(ctrl++),您是否认为确实有必要提供此类按钮?我应该说服他这没有必要吗?
最佳答案
WCAG 2.0,guideline 1.4.4 "Resize text"" ,AA级:
Except for captions and images of text, text can be resized without assistive technology up to 200 percent without loss of content or functionality.
满足此准则的一种方法是使用屏幕截图中的小部件(如果放大到 200%):G178: Providing controls on the Web page that allow users to incrementally change the size of all text on the page up to 200 percent :
The purpose of this technique is to provide a mechanism on the Web page to incrementally increase the size of text. Many people with low vision do not use magnifying software, and they may not be familiar with browsers text size adjustments. This may be particularly true of older people who are learning about computers later in life and who may be experiencing age related vision loss. It may also be true of some people with cognitive disabilities who also require increased font size.
但是,还有其他方法可以满足此准则。例如。如果您的访问者使用提供此功能的用户代理,您不必自己提供该功能:G142: Using a technology that has commonly-available user agents that support zoom
参见:
关于accessibility - 用户应该能够更改字体大小吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17853322/