我无法理解WCAG 2.0条标准1.4.8。

从我理解它基本上说,如果我有一个世代odicetagcode,我将定义背景和文本颜色,我将不得不:

  • 为该DIV提供一种彩色拣选工具,以便用户可以更改这些颜色
  • “g156:使用具有可用的技术可以改变文本块的前景和背景”

    提供一种颜色拾取器,声音非常远,所以我在“G156”上掌握了我的希望。是否是常规的Web浏览器(即,Firefox,Opera等)有资格作为这样的用户代理?

    另一个令人困惑的部分是“F24:成功标准失败的常见失败”1.4.3,1.4.6和1.4.8由于指定前景颜色,而无需指定背景颜色,反之亦然“,我排序解释为“只要您为该DIV指定背景和文本颜色,您的安全”。

    关于如何解释此WCAG标准的任何想法?

有帮助吗?

解决方案

Does a regular web browser (ie,firefox,opera etc.) qualify as such an user agent?

According to http://www.w3.org/TR/2010/NOTE-WCAG20-TECHS-20101014/G156, it seems so. It says:

Tests

Procedure

  • Open the Web page in a browser that allows users to change colors of HTML content.

  • Change the foreground and background colors in the browser settings so they are different than those specified in the content.

  • Return to the page and check that that the new specified foreground text and background colors in the browser override the colors specified in the content.

Expected Results

  • Check #3 is true.

"as long as you specify both background and text color for that div, you're safe"

I think so. It means don't just assume the background is white, because if you don't explicitly specify it, it might not be.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top