Description
One or more A elements, without an ARIA-assigned role, not intentionally hidden in the DOM and available to assistive technologies, does not have a mechanism that allows an accessible name value to be calculated.Why it matters
When a link’s purpose cannot be determined, users may be required to follow the link to determine its purpose. Returning to a previous location can often be more difficult for users with disabilities using assistive technology. Thus, authors must ensure that a link’s purpose is clear within context.What to do
Ensure the accessible name of each link accurately reflects the target and purpose of the link when the link and its surrounding text is taken into context. This can be done by changing text that is used to calculate a link’s accessible name, or by modifying text before the link, such as in the same sentence, paragraph, list item, etc. Even when combined with text in context, it may still be helpful to users of screen readers to provide an accessible link name that makes the link’s purpose clear out of context.
If the accessible name of the link cannot be updated, authors should ensure that the content surrounding the link aids in identifying the links purpose.