When we talk about the website design, it usually concerns how these websites appear to us visually — how colors and typography work together, how page elements are placed and spaced, and whether navigation links are placed in the right locations. However, not everyone interacts with websites this way, so we need to consider non-visual aspects of design as well.
It’s been estimated that, in the U.S., over有700万人经历视觉残疾这需要“替代方法来从事正常视力的人会使用眼睛进行任何活动。”这些人中的许多人都依靠辅助技术screen readersto experience websites and other digital content. As a designer, developer, and/or website owner, it’s on you to make your website accessible to this portion of your audience.
在本指南中,您将了解屏幕读取器是什么以及它们的工作方式。然后,我将解释一些最佳实践making your website more accessible对于那些使用屏幕阅读器的人来说,以确保您的内容可为每个人提供可用和愉快。
什么是屏幕阅读器?
A screen reader is a piece of computer software that converts digital text into audible and/or tactile form. Screen readers enable users to interact with their devices in a non-visual manner, and are used primarily by people who are blind or have low vision, as well as those with cognitive limitations that prevent them from viewing onscreen text and media. Many screen readers have additional features to help users navigate web pages, computer applications, and operating system interfaces.
Screen readers are an important and popular assistive technology. They enable the independent use of digital devices by those who otherwise would not be able, or who would face significant difficulty.
While most commonly utilized by people who are blind or who have low vision, screen readers also help those who:
- experience cognitive difficulties or learning disabilities like dyslexia.
- experience difficulties reading print.
- 正在学习一种语言。
- prefer consuming content auditorily to reading.
有些人也可能会使用屏幕读取器以及他们的视野有限。例如,在依靠屏幕读取器以获取基于文本的内容时,可以在视觉页面上观看网页上的图像和媒体。
How do screen readers work?
屏幕读取器是安装在设备上的软件应用程序(或bob电竞官方下载在某些情况下作为浏览器扩展程序),并与该设备上的其他应用程序一起使用。Windows,MacOS,Linux,iOS和Android都有各种免费和付费屏幕读取器。
用户使用键盘控制其屏幕读取器。屏幕读取器附带一个键盘命令库,该命令告诉屏幕读取器进行诸如开始/停止阅读,跳回去阅读一部分文本,拼写单词,跳过页面的不同部分,移动光标,请移动光标/集中精力,播放媒体文件,或单击链接,按钮或其他交互式元素。
Screen readers can translate text information into two forms, speech and braille. Most commonly, screen readers use text-to-Speech (TTS) technology to read text content aloud in a synthesized human voice. Proficient users of TTS screen readers often increase the reading speed far past what the average person is capable of reading visually.
In addition to TTS, some screen readers can convert onscreen text into braille. For this function, users connect an external device, called a refreshable braille display, which generates braille characters on a pad as the screen reader scans the text. Here’s what a typical refreshable braille display looks like:
一些用户还喜欢一起使用TTS和刷新的盲文显示器。
屏幕读取器也可用于移动设备。由于大多数智能手机和平板电脑都没有物理键盘,因此这些设备的屏幕读取器依赖于触摸屏交互 - 刷卡,敲击和敲击和敲击 - 以控制播放和导航页面内容。
如何为屏幕阅读器设计您的网站
Given the popularity and importance of screen readers today, website owners and developers need to consider screen reader accessibility when building and maintaining their online properties. This ensures that all visitors have access to the same content and an optimal experience.
Screen readers translate web pages by reading HTML files directly, so everything the reader needs should be included in this file. Here are some basic steps you can take to help screen readers process your pages and make your website easy to navigate for screen reader users. To get the most from this section, we recommend刷在您的HTML上如果你需要。
Structure your HTML with the appropriate tags.
Screen readers use HTML tags to understand the content and regions of the page, and what elements are available for the user to select. For this reason, the most effective way to make your web pages accessible is to structure your HTML code with semantically rich tags.
When we say a tag is “semantically rich,” we mean that the name of the tag itself conveys its purpose to the screen reader. Tags like,,, 以几种原因,以这种方式编写HTML很重要。首先,屏幕读取器允许用户在同一类型的标签之间跳跃。这个常见的用途是标题,这是屏幕读取器用户的重要导航方法。当屏幕阅读器检测到使用, for example, it allows users to jump between H2s, similar to how sighted users might scan a page by reading the headings. 第二,一些HTML元素,例如 Finally, a A screen reader needs to be told which language a web page is written in, so it knows how to pronounce words to the user with TTS. Screen readers will first look for thelangattribute inside thetag for page-wide language information. For example, if a page is written in English, its openingtag would read: In cases when foreign words appear on the page, thelangattribute can be placed inside any other tag, commonlyor, to denote a temporary language change: I’m a paragraph in English. “Hello” in Spanish is hola. Je suis un paragraphe en Français. ARIA rolesare values that indicate the function of a page element or region for screen readers. They may be placed inside 例如,如果您想指出链接列表是导航菜单,则可以放置ARIA地标这样的地标: Here,角色=“导航”is the landmark. Also note that ARIA landmarks should only be used in While not all screen readers detect ARIA landmarks, it’s good practice to use them in any page region for which the function is unclear from the tag names alone. Similar to how sighted users skim page content visually, screen reader users can preview headings and paragraphs to see if the content is relevant to them. Therefore, it’s good practice to make your headings as descriptive as you can, and to begin paragraphs in a way that gives readers an understanding of the content to come. While it’s certainly a benefit, the main purpose of alternative text isn’t SEO — it’s to give screen readers a captioned alternative for media content. When it encounters an image, video, or other piece of media, a screen reader will default to reading alt text if it is provided. If alt text is not provided, screen readers will ignore the image or read the image file name. 要使您的页面访问,请始终在每个非文本内容,即图像,视频,图标, and embeds. For instance, suitable alt text for this image... ...might be: For more tips on how to optimize your alt text for screen readers and search ranking, see ourguide to image alt text. Here’s another tip that assists all page visitors, screen-reader-assisted and not. To simulate speech, screen reader TTS pauses for instances of periods, commas, new paragraphs, and other punctuation. For the best experience, make sure you’re implementing punctuation in the proper ways. After implementing the measures above, test your web pages with a screen reader to ensure your accessibility measures work properly. You can conduct this testing yourself or recruit an accessibility tester to evaluate your website. You may also try a网络可访问性测试工具支持您的努力。 If you decide to test your own website, choose a free text editor for your operating system.NV访问是Windows用户的流行选择,而MacOS设备具有VoiceOver屏幕阅读器内置。 然后,熟悉你的屏幕阅读器and learn all of its basic functions. If you foresee conducting more accessibility testing, commit to developing enough proficiency on your screen reader to navigate websites with the monitor turned off. We also recommend observing experienced screen reader users to understand how these visitors actually interact with your site. By coding and designing your web pages in accordance withaccessibility principles, not only do you make your website enjoyable for folks using screen readers — you also show that you care about your user base, and strive to deliver the best experience possible for everyone. In other words, it’s simply doing the right thing for those who matter most to your business. Originally published Feb 27, 2021 7:00:00 AM, updated March 04 2021 Topics: 扩展优惠 注册HubSpot的CMS软件bob电竞官方下载,
, and
在语义上都是丰富的,因为这很明显它们从标签名称本身中是什么 -is a paragraph,是一个图像,也是一个。另一方面,and
, activate specific screen reader commands. When a screen reader sees the
tag, it knows to let the user navigate horizontally and vertically through the table with their keyboard. This is why you should avoid making elements that看喜欢表,列表或按钮,但使用无与伦比的标签(例如
Indicate language in the tag.
Use ARIA roles.
Write descriptive headings and first sentences.
Use alt text.
alt="professional baseball player Hank Aaron of the Atlanta Braves swinging a baseball bat in a baseball stadium”Use punctuation correctly.
Conduct screen reader accessibility testing.
Designing Accessible Websites for Screen Readers
别忘了分享这篇文章!
相关文章
下载以后