WCAG AA级的对比度要求 [英] Contrast ratio requirements for WCAG level AA

查看:603
本文介绍了WCAG AA级的对比度要求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究一个需要满足WCAG 2.0 AA要求的网站设计-我不确定如何解释对比度要求:

I'm working on a website design that needs to meet WCAG 2.0 AA requirements - and I'm not sure how to interpret the contrast ratio requirements:

1.4.3对比度(最低):文本和文本图像的视觉呈现方式的对比度至少为4.5:1,以下各项除外

(参考: https://www.w3.org/WAI/WCAG21/quickref/?versions=2.0#qr-visual-audio-contrast-contrast )。

鉴于当今大多数(如果不是全部)操作系统以及浏览器都内置了对比度增强功能,那么此要求的依据是什么?

Given that most (if not all) operating systems as well as browsers nowadays have contrast enhancement features built-in, what's the rationale for this requirement?

推荐答案

对于需要增强的辅助功能的用户来说,安装插件或更改设置以使其使用您的网站/服务,该用户没有必要。通过满足WCAG关于对比度(及其他方面)的准则,您可以改善原始浏览器和操作系统中这些用户的体验。

It should not be necessary for a user who requires enhanced accessibility features to install plugins or alter settings for them to use your website/service. By meeting the WCAG guidelines on contrast (and other things) you can improve the experience for those users in a vanilla browser and operating system.

在线上有很多对比度检查器对此有帮助,我使用这个这个问题解释了

There are many contrast checkers online which help with this, I use this one. This SO question explains what the different ratings mean very well.

我想认为当涉及到可访问性时,值得投入时间正确地进行操作,以便更多的人可以使用您的网站或服务。在相对容易的情况下,不让您的站点/服务可访问将这些用户拒之门外。他们会在其他地方购物,而不是与浏览器/操作系统设置竞争,以使您的网站对他们有用。

I like to think that when it comes to accessibility it is worth investing time in doing it properly so that more people can use your site or service. Not making your site/service accessible when it is relatively easy to do so is locking these users out. They will shop elsewhere rather than battle with browser/OS settings in order to get your website usable for them.

如果它需要用户对您的网站进行自定义以使其可用

If it requires user customization of your site just to make it usable, that is a fail on your part.

另一个好处是,对于名义上有眼位的人来说,长期阅读和查看您的位点都比较容易。时间,如果前景项目与背景形成鲜明对比。您可能想要哪个,对吗?

A side benefit is that for people with nominal eye site, your site will be easier to read and look at for long periods of time if foreground items contrast well with the background. Which is something you probably want, right?

这篇关于WCAG AA级的对比度要求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆