The link Carbon component is primarily a native HTML hyperlink navigational element. The Enter key activates the link and causes the user agent to move focus to the link destination. When you use the disabled link component the ARIA state is set to aria-disabled="true", which changes the appearance and the tabindex="-1" which removes the link for the tab order. When the link becomes active the ARIA state changes to aria-disabled="false" and the link is present in the tab order. This component has been validated to meet the WCAG 2.0 AA and Section 508 accessibility guidelines, however changes made by the content owner can affect accessibility compliance. Be sure to review and follow the guidance in this section when updating or adding new content to this component. - Link text is the visible label for the native HTML link and is used to provide the purpose of the link which is clear and easy to understand for all users.
- The alt attribute for the img element is used to describe the purpose of a graphical link with an image inside the link.
- The title attribute can be used to supplement the link text with any additional useful description.
|