WebAIM: Microsoft Word Creating Accessible Documents
To give a link an ARIA description, first give the descriptive text an id attribute. Developers can use CSS to hide the extra text visually but still expose it to screen readers. When styling for hover and focus, CSS can target elements within the focus.
These tools are easy to use, even if you do not have a tech background. They built tools that make it part of the normal work flow. You will learn the legal rules and the simple steps to take.
For example, a news listing may present an image, heading, and “more” text each as links to the same story. Such styles may include a background color, glow, outline, or brief animation. As a general rule, designers should design custom focus styles. Browser defaults are often imperceptible, especially around image links or on blue backgrounds.
When providing hover styles, it is also best to provide them on keyboard focus. Many designers provide hover styles to give extra cues when a mouse is over a link. Avoid using vague phrases like “click here,” “read more,” or “this.” These phrases do not provide enough context for users to understand the purpose of the link.
Since October is National Disability Employment Awareness Month, learn more on the US Census Bureau’s website. Although I may not be certified in this specialty field, I try to attend workshops to learn and pick up tips, strategies, and best practices to improve accessibility on social media and LinkedIn posts. By default, the hover mouse cursor style is set to a pointer, instead of the default arrow. Then, give the link an aria-label equal to that other text’s id attribute. To use the aria-label attribute on a link, set the aria-label equal to the label directly.
It’s most important for link text to make sense without the surrounding sentences or content. Typically, pages present links as a different color than their surrounding text. They use a keyboard’s tab button to navigate through a page’s links, buttons, and form inputs. Speech recognition software allows a user to avoid using a mouse.
Keyboard-only users press the tab key to navigate through interactive elements like links. Even then, such designs provide a worse experience for colorblind or cognitively impaired users. Some designers prefer not the original reference to have a non-color indicator be present only on hover. The underline should always be persistent, not solely on hover. The easiest way to provide non-color link indicators is by underlining links. Giving links a different color from the surrounding text is common on the web.
They can be especially important for people with cognitive disabilities who may need additional context to help them understand what action to take. Links that convey their purpose or function are easier for users to understand and navigate. Additionally, adopting accessible link text can contribute to improved search engine optimization (SEO) for your site, because it communicates the context of a link to search engines. In this post, we’ll explore the benefits of creating accessible hyperlink text for both website owners and users, and provide practical tips for writing it effectively. It’s also inaccessible to people who use assistive technologies, making it difficult, if not impossible, for many individuals to find the information they’re seeking.