link-name
Ensures that every link has an accessible name.
Description
Link elements, such as <a>
or those defined with role="link"
, should have an accessible name to ensure screen readers accurately convey their purpose and destination, enabling users to predict where the link will take them.
Why is it important?
Assistive technologies rely on the accessible name to label, announce, and interact with UI elements such as links. When these elements lack a valid accessible name, assistive technologies are unable to accurately parse and convey the content, leading to a loss of functionality for users.
How to fix?
Use one of the following methods to provide an accessible name:
-
aria-label
attribute -
aria-labelledby
attribute - Link text availale to assistive technologies
References
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!