What is accessibility? - Learn web development 编辑

This article introduces the basic concepts behind web accessibility.

Prerequisites:None.
Objective:Learn what accessibility is and why it matters.

Summary

Because of physical or technical limitations, maybe your visitors can't experience your website the way you hoped. In this article we give general accessibility principles and explain a few rules.

Active learning

There is no active learning available yet. Please, consider contributing.

Dig deeper

Accessibility: general principles

We might associate accessibility at first with negative limitations. This building has to be accessible, so it must follow these regulations for door width and toilet size and elevator placement.

That's a narrow way to think of accessibility. Think of it as a wonderful way to empower people and serve more customers. What can the people in Brazil do with your English website? Can the people with smartphones browse a heavy, cluttered website designed for a large desktop monitor and unlimited bandwidth? They'll go somewhere else. In general, we must think about our product from the viewpoints of all our target customers, and adapt accordingly. Hence accessibility.

Web accessibility

In the specific context of the web, accessibility means that anyone can benefit from your content, regardless of disability, location, technical limitations, or other circumstances.

Let's consider video:

Hearing impairment
How does a hearing-impaired person benefit from a video? You have to provide subtitles —or even better, a full text transcript.
Also, make sure people can adjust the volume to accommodate their unique needs.
Visual impairment
Again, provide a text transcript that a user can consult without needing to play the video, and an audio-description (an off-screen voice that describes what is happening in the video).
Pausing capacity
Users may have trouble understanding someone in a video. Let them pause the video to read the subtitles or process the information.
Keyboard capacity
Let the user tab into/out of a video, play it, and pause it without being trapped in it.

The basics of Web accessibility

A few necessities for basic Web accessibility include:

  • Whenever your site needs an image to convey meaning, include text as an alternative for visually-challenged users or those with slow connections.
  • Make sure all users can operate graphical interfaces (like unfolding menus) solely with a keyboard (e.g., with Tab and the Return key).
  • Provide an attribute explicitly specifying your content's language, so that screen readers read your text properly.
  • Make sure that a user can navigate to all widgets on a page solely with the keyboard, without getting trapped. (At least let them Tab in and out.)

And that's just the beginning.

Accessibility champions

Since 1999, the W3C has operated a working group called the Web Accessibility Initiative (WAI) promoting accessibility through guidelines, support material, and international resources.

More details

Please refer to:

Next steps

Accessibility can impact both a website's design and technical structure.

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

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

发布评论

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

词条统计

浏览:98 次

字数:5053

最后编辑:7年前

编辑次数:0 次

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