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:
- Wikipedia article about accessibility
- WAI (W3C's Web Accessibility Initiative)
Next steps
Accessibility can impact both a website's design and technical structure.
- From a design point of view, we suggest learning about designing for all types of users.
- If the technical side interests you more, you could learn how to embed images in webpages.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论