Robust - Accessibility 编辑

This article provides practical advice on how to write your web content so that it conforms to the success criteria outlined in the Robust principle of the Web Content Accessibility Guidelines (WCAG) 2.0 and 2.1. Robust states that content must be robust enough that it can be interpreted reliably by a wide variety of user agents, including assistive technologies. This can generally be achieved by following web standards and testing rigorously.

Note: To read the W3C definitions for Robust and its guidelines and success criteria, see Principle 4: Robust — Content must be robust enough that it can be interpreted reliably by a wide variety of user agents, including assistive technologies.

Guideline 4.1 — Compatible: Maximize compatibility with current and future user agents, including assistive technologies

This guideline focuses on making content as compatible as possible, not only with current user agents (e.g. browsers), but also with future ones too.

Success criteriaHow to conform to the criteriaPractical resource
4.1.1 Parsing (A)

Content should be well-formed so it can be parsed successfully by browsers and other user agents such as screenreaders.

To pass this criterion, make sure that your HTML is as valid as possible. Use the W3C validator to validate your markup.

See Debugging HTML for a practical guide.
4.1.2 Name, Role, Value (A)

The name and role of user interface components (e.g. form inputs, buttons, links, etc.) should be programmatically determinable.

When using semantic elements correctly for their intended purpose, this criterion should be passed automatically. When scripting custom components, you will need to use WAI-ARIA roles and other features to make sure your controls will be interpreted and are able to be used as intended, e.g. not only by sighted mouse users, but also by screenreader users, keyboard-only users, etc.

See HTML: A good basis for accessibility and WAI-ARIA basics.
4.1.3 Status Messages (AA) added in 2.1

Assistive technology users are made aware of new status messages added to the page. 

Understanding Status Messages

Note: Also see the WCAG description for Guideline 4.1: Compatible: Maximize compatibility with current and future user agents, including assistive technologies.

See Also

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:81 次

字数:4437

最后编辑:7年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文