Here is the content. Provide your analysis.
Table of Contents:
Table of Contents: 2
Web Accessibility Handbook for Content Author 3
About this Handbook 3
Overview of WCAG (Web Content Accessibility Guidelines) 2.1 Principles 4
- Perceivable 4
- Operable 4
- Understandable 4
- Robust 4
Disclaimer 4
- Images 5
Decorative Images 5
Informative Images 5
Functional Images 6
Complex Images 7
- Links 9
Descriptive Link Texts 9
Links with Advanced Warnings 9
Links opens non-HTML Resources: 10
- Buttons 10
Descriptive Button Labels 11
- Headings 11
Descriptive Headings: 11
Heading Hierarchy: 12
- Forms 13
Content Strategy for Forms: 13
Error Suggestions: 15
Required Fields Indication: 16
- Table 17
Table Headers: 17
Table Captions: 18
- Lists 18
Ordered Lists: 18
Unordered Lists: 19
- Logical Reading Order 19
- Sensory Characteristics 20
- Page/Browser Title 21
- Web Page Language 21
- Multimedia 22
Pre-recorded Audio only Content 23
Pre-recorded Video only Content 23
Pre-recorded Audio and Video Content 24
Live Multimedia 26
Web Accessibility Handbook for Content Author
About this Handbook
This handbook provides a comprehensive tutorial for learning web accessibility, as well as a quick reference for “Content Authors” with simple examples, effective recommendations and guidance on how to develop websites with accessibility in mind. This handbook covers WCAG 2.1 A, AA guidelines from the World Wide Web Consortium (W3C), the organization that creates standards for web technologies and languages such as HTML and CSS. In general, WCAG (Web Content Accessibility Guidelines) provides recommendations for making web content accessible to people with a wide range of disabilities, including visual, auditory, physical, speech, cognitive, language, learning, and neurological disabilities.
The checklists provide clear guidance to create accessible web components that meets WCAG 2.1 AA accessibility standards. The component list includes menus, images, tables, forms, and much more. Each check point plays a vital role in giving a better understanding of web accessibility success criteria.
These checklists are a combination of industry best practices and insights from our dedicated team of web accessibility experts. They have tailored to our Telekom ecosystem, ensuring relevance and effectiveness for our products and services. These are primarily designed for teaching writers, editors, content creators and content publishers.
Overview of WCAG (Web Content Accessibility Guidelines) 2.1 Principles
-
Perceivable
Information and user interface components must be presented in ways that users can perceive. This means that users must be able to take in the information being presented. This includes providing text alternatives for non-text content, captions for videos, and ensuring that content can be presented in different ways without losing information.
-
Operable
User interface components and navigation must be operable. Users should be able to operate the interface (the interface cannot require interaction that a user cannot perform). This includes making all functionality available from a keyboard, giving users enough time to read and use content, not designing content in a way that is known to cause seizures, and providing ways to help users navigate, find content, and determine where they are.
-
Understandable
Information and the operation of the user interface must be understandable. This means that users must be able to understand the information as well as the operation of the user interface (the content or operation cannot be beyond their understanding). This involves making text content readable and predictable, and ensuring that web pages operate in predictable ways. Also, it involves helping users avoid and correct mistakes.
-
Robust
Content must be robust enough that it can be interpreted reliably by a wide variety of user agents, including assistive technologies. As technologies and user agents evolve, the content should remain accessible. This means ensuring compatibility with current and future user tools. Essentially, the content should be able to be interpreted by a broad range of technologies, including screen readers and other assistive devices.
Disclaimer
This handbook is created based on maximum coverage for Content Accessibility. The feasibility of fixing the defect depends on the Content Authoring Tool used by the Client/Project Team.
Note: Some Content Authoring tools in the market have the option to hand code and some don't have access to basic scripts. This handbook do not cover specifics on authoring tools accessibility.
To know more about apart from Content Accessibility please connect with your respective POC’s to get Design and Developer Handbooks.
- Images
Images on the web serve various purposes, from enhancing aesthetic appeal to conveying complex information. Based on their purpose, images can be categorized into four main types: decorative, informative, functional and complex. Making images accessible involves ensuring that their information or function is perceivable to all users, including those who rely on assistive technologies. Here is how you can author content to meet these needs:
Decorative Images
These images have no informational value and are used solely for design or visual enhancement. Their presence does not add to the content’s meaning and can be ignored by assistive technologies.
Example for Decorative Images:
In the below example, the image present in the left section is purely used for decorative purpose only, which does not require descriptive alternate(alt) text however it should be provided with an empty alt attribute (alt="") to signal assistive technologies to skip them.
Sample Code:
Screenshot:
Informative Images
These are used to visually represent concepts and information. Informative images complement the surrounding content and can include photographs, illustrations, icons, and simple diagrams. Provide appropriate alternative (alt) text for informative images that succinctly describes the image’s content or function. Ensure all text in images (used when the text is crucial to understanding the content) is also provided in the body text or as part of the alt text, so it’s accessible to screen readers and search engines.
Example for Informative Images:
In the below example, the logo image is part of an informative image, which should be provided with descriptive alternative text about the image.
Sample Code:
Screenshot:
Functional Images
A functional image includes icons (like a magnifying glass for search), buttons with text or icons indicating action (such as a “play” button for videos). Ensuring these images are provided with descriptive alternative text (alt-text) and accessible labels.
Example for Functional Images:
- In the below example, the W3C logo is used to supplement text within a link that leads to the W3C home page. The image does not represent different functionality or convey the other information than that already provided in the link text, so a null (empty) value is applied, (alt=""), to avoid redundancy and repetition.
Sample Code:
W3C Home
Screenshot:
- In the below example, “Search” has been provided as an icon/image. To make it accessible, provide descriptive alternative text for the image.
Sample Code:
Screenshot:
Complex Images
These include detailed diagrams, charts, maps, infographics, or any visual representation conveying complex information requiring more extensive description than what alt text can provide. Use Long Descriptions for complex images like charts, graphs, or infographics, provide a long description that explains the essential information conveyed by the image.
Accessible Options: Consider using an adjacent text description, a hyperlink to a detailed description or in a data table, for more complex descriptions.
Example for Complex Images:
In the below example, a bar chart of website visitor statistics has the short description “Bar chart showing monthly and total visitors for the first quarter 2014 for sites 1 to 3”, provided through the alt attribute of the image. The long description has been provided using the link “Image Description” underneath the image with detailed information, including scales, values, relationships, and trends that are represented visually. For example, the long description can point out the declining values for site 1, consistent values for site 2, and increasing values for site 3 that are encoded in the bar chart.
Note: Alternate method could also be used by adding “accordion” component instead of link. Feasibility of adding accordion functionality depends on the content authoring tool used.
Sample Code:
Image Description
Screenshot:
On activating the “Image description” link the below table opens in new window which will be made accessible using proper semantic table markups.
Table contains bar graph values:
- Links
Links (Hyperlinks) are primarily used for navigation, guiding the user from one page or section to another within or across websites.
Descriptive Link Texts
Use descriptive text clear, descriptive text for links that explain their function or destination. Avoid vague phrases like “click here” or “more”.
Example for Descriptive Link Text:
In the below example, “Click here” link is used under “No information” section which is non-informative instead provide the link text which describes its purpose. Avoid using ambiguous link text, such as ‘click here’ or ‘read more’. Indicate relevant information about the link target.
• Bad Example:
Under “No information” as per in the below screenshot, avoid using ambiguous link text, such as ‘click here’ or ‘read more’. Indicate relevant information about the link target.
Good Example:
Under “Meaningful information” as per in the below screenshot, Provide link text which describes about its purpose.
Screenshot:
Links with Advanced Warnings
Advanced warnings give users control over their own experience and enable them to make informed decisions about whether to proceed with consuming the content. Additionally, it’s helpful to provide a brief description of the contents about the resource, either as part of the link text or in adjacent text.
Example for Links with Advanced Warnings:
In the below sample codes, the links “About Us” opens in a new window, “Terms and Conditions” opens a PDF in new window and “Feedback” downloads a word document which has been conveyed by providing respective screen reader only(sr-only) text within the links. Also, provide iconic representation for the links which opens/downloads a non-HTML resource to make it better accessible for the users.
Note: Screen reader only(sr-only) means, that content will not be present visually in the screen however will be present in the html code and will be read out by screen reader software
Sample Code:
About Us Opens in a new window </ a>
Terms and Conditions Opens a PDF in a new window
Screenshot:
Links opens non-HTML Resources
Opening non-HTML resources refers to accessing and interacting with files or data that are not in the standard HTML format typically used for web pages. Non-HTML resources can include a wide range of file types, such as images, videos, audio files, PDF documents, text files, and more.
Example for Links opens non-HTML Resources:
In the below sample codes, the link “View Complete Report” downloads an excel file which has been conveyed by providing respective screen reader only text within the links. Also, provide iconic representation for the links which opens/downloads a non-HTML resource to make it better accessible for the users.
Sample Code:
View Complete Report Downloads an Excel </ a>
Screenshot:
- Buttons
Buttons are interactive components that facilitate user actions on the web and applications. They are typically used for actions, such as submitting a form, opening a modal window, or any other action that triggers a process or event.
Descriptive Button Labels
Buttons should have clear, descriptive labels that convey the action they perform, utilizing the element when possible. Whenever possible, use the standard HTML ; element for buttons to automatically inherit many accessibility features.
Example for Descriptive Button Labels:
- In the below sample code, “X”(Close) has been provided as an icon. To make it accessible, provide descriptive button label text using either of the below mentioned methods such as “using screen reader only text (which will not be visually available) or “using aria-label” for the button element.
Sample Code:
Method 1: Close
Method 2:
Screenshot:
- Headings
Headings are used to organize and structure content on web pages, making it easier for readers to navigate and understand the content hierarchy. They are pivotal in accessibility, providing a means for screen reader users to efficiently skim through a page by listening to the list of headings and selecting a section of interest to read in detail.
Descriptive Headings
Descriptive headings are succinct titles that provide a clear and concise summary of the content that follows. They serve as signposts for readers, guiding them through the text and helping them to easily understand the structure and main points of a document or webpage. In the context of web accessibility and usability, descriptive headings are especially important because they allow all users, including those using assistive technologies like screen readers, to navigate and comprehend content more effectively.
Example for Descriptive Headings:
In the below screenshot, the headings under “Accessible” section are descriptive about the purpose and the headings under “Not Accessible” section are not descriptive about the content purpose.
Screenshot:
Heading Hierarchy
Heading hierarchy, utilizing H1 through H6 tags in web content, is essential for organizing information logically and aiding readability. It enhances web accessibility, allowing screen readers to navigate effectively, and improves user experience by clearly defining sections and subsections. Proper heading hierarchy ensures information is accessible and navigable for all users.
Example for Heading Hierarchy:
In the below screenshot, the main heading is not the site name but the content heading, which is rank 1. The subheadings in the content are rank 2 as are all the other structural headings. It is not necessary H1 should be the top-level heading but there should be one H1 for overall page. But the other heading levels should be organised as per hierarchy. Not only headings should be organized structurally they should also be organized visually.
Screenshot:
- Forms
Forms are crucial components on websites and applications, allowing users to input data, make choices, and interact with various functionalities. From registration pages to search fields, forms facilitate a critical part of user interaction online. For content authors, creating forms that are both effective and accessible is essential to ensure that all users, regardless of their abilities, can use them without barriers.
Key components of an accessible form include clear and descriptive labels, logical tab orders, meaningful error messages, and compatibility with assistive technologies like screen readers. Properly implemented, these elements allow users to navigate, understand, and interact with forms regardless of how they access the web.
Content Strategy for Forms
Form labels are textual descriptions assigned to input fields in web forms, providing users with clear instructions on what information is expected in each field. They are critical for accessibility, as screen readers rely on them to communicate the purpose of the input fields to users. Descriptive form labels ensure that all users, regardless of how they are accessing the form, understand what input is required. This should be taken into consideration during content writing phase itself.
Example for descriptive Form labels/instructions:
- Descriptive Labels: In the below screenshot, under “To” section all the input field labels are marked as “Input X” and group label as “To” which are not descriptive about the purpose of each field and I ts section. Under “Shipping Address” section all the input field labels are provided as descriptive about the purpose of each field and the group label too defines its purpose.
Screenshot:
- Providing instructions within labels: In the example below, the required format for the “Expiration Date” is indicated by “MM/YYYY” within the same label. For simple use cases, providing instructions within labels may be sufficient. This approach is reliable across different web browsers and assistive technologies, although it may require some additional thought to support some styling needs.
Sample Code:
Expiration date (MM/YYYY):
Screenshot:
Note: Providing instructions outside of labels allows more flexible positioning and design, but sometimes it can be missed. It is also not supported by some web browsers (typically older versions) and assistive technologies that don’t implement WAI-ARIA via aria-labelledby or aria-describedby.
- Radio and Checkboxes grouping with label: In the below screenshot, both radio and checkboxes group are provided with descriptive label along with respective checkbox/radio option field. Grouping needs to be carried out visually and in the code accordingly.
Screenshot:
Error Suggestions
When users encounter errors in form submission (e.g., incomplete fields, invalid formats), error suggestions provide specific guidance on how to correct the mistakes. These messages are crucial for improving the usability of forms, especially for users who might not immediately understand what went wrong. Descriptive error suggestions help users resolve issues quickly and successfully complete the form.
Example for descriptive Error Suggestions:
In the below screenshots, The “Feedback” section are not provided with descriptive error suggestion which makes users more difficult to understand it and the “Create issue” section error suggestions are provided descriptively about the purpose for the user to make it mor understandable.
Required Fields Indication
Indicating which fields in a form are required is a user-centric design principle that informs users which inputs are mandatory for form submission. This can be signaled through visual cues (like asterisks) or explicitly stated in the labels. Clearly marking required fields helps prevent user errors and improves the form completion rate by directing users’ attention to essential inputs.
Example for Required Field Indication:
There are multiple ways to indicate the required fields, In the below screenshot the “First Name:” field has been provided with “” indication and global text provided as “An asterisk (*) indicates a required field. For “Username (required):” field the required indication has been provided along with the label text.
Screenshot:
- Table
A table in the context of web design and data presentation is a structured set of data made up of rows and columns that systematically arranges information for easy reference and analysis. Tables are used to organize and display detailed information in a compact and logical format, facilitating comparison, understanding relationships, and identifying patterns in data. In HTML, tables are created using the element, with rows defined by tags, columns by (table header) or (table data) tags, and can include captions provided by the element for added context. Caption functions like a heading for a table and provide information that can help users find, navigate, and understand tables.
Table Headers
In the below example, The table headers are provided in a descriptive way which provides a proper relationship between the data cells and headers.
Screenshot:
Table Captions
In the below example, “Students currently enrolled in Computer Science for the coming semester” has been used as caption text which tells users what information is in the table. T The table caption should be a short heading for the table content.
Screenshot:
- Lists
A list in web content and document formatting is a collection of items presented sequentially or thematically. It serves to organize information in an easily consumable manner, making content easier to scan and understand for readers. Lists are fundamental in web development and document design, providing a structure for grouping related pieces of information together.
Ordered Lists
An ordered list is a list where each item in the list is numbered, indicating a specific sequence or hierarchy. Ordered lists are used when the order of the listed items is important, such as steps in instructions, rankings, or a series of related events. In HTML, an ordered list is created with the ; element, and each item within the list is marked up with the ; (list item) element. The default behavior is for items to be numbered sequentially, but the styling can be modified with CSS or list attributes to display different numeral styles such as alphabetical (a, b, c), Roman numerals (i, ii, iii), and so on.
Example:
- Wake up.
- Brush teeth.
- Have breakfast.
Ordered List in HTML:
Unordered Lists
An unordered list, on the other hand, is a list in which the sequence of items is not important. The items in an unordered list are typically marked with bullets. This type of list is suitable for presenting a collection of items without inherent order, such as ingredients in a recipe, features of a product, or general categories of topics. In HTML, an unordered list is created using the ; element, with ; elements nested inside to represent each item.
Example:
Apples
Bananas
Oranges
Unordered List in HTML:
- Logical Reading Order
Reading order refers to the sequence in which text, images, and other elements are intended to be viewed or read on a page. For individuals using assistive technologies, such as screen readers, the reading order is determined by the underlying code structure rather than the visual layout. Ensuring a logical reading order is essential for accessibility.
Example Scenarios:
Bad Example for Reading Order:
In the below screenshot, the informative video is not provided with descriptive heading before the video section which is not a correct way of reading order to be followed.
Screenshot:
Good Example for Reading Order:
In the below screenshot, descriptive heading has been provided before the informative video which is the recommended reading order to be followed.
Screenshot:
- Sensory Characteristics
Sensory characteristics refer to attributes that can be perceived through the senses, such as sight, hearing, smell, taste, and touch. In the context of web accessibility and the design of digital content and interfaces, the term often pertains to how information is presented and how it relies on sensory characteristics for its comprehension.
Example Scenarios:
Bad Example on usage of Sensory Characteristics:
In the below screenshot, the button does not have descriptive text and provided with instructions using position/location which is not the recommended way.
Screenshot:
Good Example on usage of Sensory Characteristics:
In the below screenshot, A round button is provided on a form to submit the form and move onto the next step in a progression. The button is labeled with the text "go." The instructions state, "to submit the form press the round button labeled go ". This includes both shape and textual information to locate the button which is descriptive enough to identify it by the users.
Screenshot:
- Page/Browser Title
The “Page/Browser” component refers to the broader environment in which web content is accessed and interacted with by users. This encompasses the full page that a user interacts with within a web browser, along with the browser’s functionalities that support or enhance user interaction with the content. Understanding how content behaves across different pages and browsers is crucial for ensuring a consistent and accessible user experience.
Example for Page Title:
-
Dynamically changing Page Titles: A banking application which allows their users to view bank accounts, past statements, and perform transactions. The Web application dynamically generates titles for each Web page, e.g., "Bank XYZ, accounts for John Smith" "Bank XYZ, December 2005 statement for Account 1234-5678".
-
Following table provides how better the bank application page title can be provided in a descriptive way:
Page Titles Descriptiveness Description
Contact Us Good This title doesn't identify the site or tell who "Us" is.
Cognizant - Contact Us Better A likely unique title, but it does not begin with the most specific information.
Contact Us | Cognizant Best This title is concise, descriptive, likely unique, and identifies the site. It also lists the most specific information first.
-
Web Page Language
The “Language and Language of Parts” guideline is an essential aspect of web content accessibility, focusing on correctly specifying the primary language of a webpage as well as the language of any parts of the page that are in a different language. This practice is crucial for creating content that is accessible to a global audience, including those who rely on assistive technologies such as screen readers to access web content. Properly marked-up language ensures that these technologies can accurately interpret and pronounce content in the intended language.
Example for Page Language:
In the below example, the default language of the webpage is French and the lang attribute in HTML should be provided with respective language code.
If a web page produced in French and written in HTML includes content in both French and English, but most of the content is in French. The default human language is identified as French (fr) by the lang attribute on the html element.
Sample Code:
Example for Parts of Page:
Choose your language web page includes links to versions of the page in other languages (e.g., Deutsch, Français, Nederlands, Catalan, etc.). The text of each link is the name of the language, in that language. The language of each link is indicated via a lang attribute.
Sample Code:
- Multimedia
Multimedia refers to content that uses a combination of different content forms such as text, audio, images, animations, video, and interactive content. Multimedia contrasts with traditional media that use only rudimentary computer displays such as text-only or traditional forms of printed or hand-produced material. For content authors, multimedia presents a dynamic method to engage users by appealing to multiple senses, often leading to a more effective and immersive communication experience.
Pre-recorded Audio only Content
This type of content consists of sound recordings that are available for users to play back at their convenience. Pre-recorded audio only content does not include visual components and is typically used for podcasts, music, informational recordings, or narrated content. The key characteristic is that the audio is created, edited, and finalized before it is published and made available to listeners.
Example for Pre-recorded Audio only Content:
In the below screenshot, Audio only content is present along with descriptive transcript.
Screenshot:
Pre-recorded Video only Content
Pre-recorded video only content refers to visual recordings without an accompanying audio track. This type of content relies on visual elements such as motion, changes in scenery, text overlays, and visual effects to convey information or tell a story. It is particularly useful for audiences in sound-sensitive environments or where the visual narrative is sufficient to convey the message, such as silent animations or instructional sign language videos.
Example for Bad Transcript for Pre-recorded Video only Content:
In the below screenshot, the video only content appears in the multimedia and the right section shows the transcript which does not describing the entire video content only music is conveyed. The transcript should be provided for the entire video narration.
Screenshot:
Pre-recorded Audio and Video Content
This category combines both sound and visual elements that have been recorded and edited prior to being made available. Pre-recorded audio and video content is used widely across digital platforms for entertainment, education, marketing, and information dissemination. The synchronized combination of audio and visual elements enables content authors to provide a rich, immersive user experience.
Example for Captions in Pre-recorded Audio and Video Content:
In the below screenshot, closed captions are provided describing the video content clearly.
Example for Transcripts in Pre-recorded Audio/Video:
In the below screenshot, transcript is provided in a separate component next to the video with detailed description about the video narration.
Screenshot:
Example for Bad Automatic Captions in Pre-recorded Audio/Video:
Spoken audio:
"Broil on high for 4 to 5 minutes. You should not preheat the oven."
Automatic caption:
"Broil on high for 45 minutes. You should know to preheat the oven."
Automatically generated captions do not meet user needs or accessibility requirements unless they are confirmed to be fully accurate by Content Author. Usually, they need significant editing.
Live Multimedia
Live multimedia refers to content that is broadcast or shared in real-time with an audience. It includes live audio streams, live video broadcasts, or a combination of both, along with interactive elements that may allow for audience participation. Webinars, live-streamed events, and real-time video chats are examples of live multimedia. This type of content allows content authors to engage directly with an audience, providing immediate interaction and feedback.
Example for Live Multimedia:
In the below screenshot, For live multimedia captions are streamed during live stream which describes about the audio.
Screenshot: