Lorem ipsumLorem ipsum
Action Link | | default | hover/active | active |
Link with Icon | | default | hover/active | active |

- Icon Button/ Icon
- Link Text
- Icon
ContentWe recommend links be three words or fewer. Because links take users to a new location, it is important that their labels accurately reflect the content users will find at the link destination. Use meaningful labels for links and avoid terms like “click here” or the web address itself. Links need to be clear enough to be understood by the user, but should not be so long that the text wraps unless used inline. BehaviorsMouseUsers can open a link by clicking anywhere along the link text or on the associated icon. KeyboardUsers can open a link by pressing Enter while the link has focus. For additional keyboard interactions, see the Accessibility tab. Screen readersVoiceOver: Users can open a link by pressing Control-Option-Space or Enter. JAWS: Users can open a link by pressing Enter. NVDA: Users can open a link by pressing Enter. Standalone links are used on their own directly following content. They should not be used within sentences or paragraphs. Standalone links are the default link style for Carbon and only have an underline in the hover state. The standalone link component can be paired with an icon. Use 16px icons and place them to the right of the link. Icons should always be the same color as the link text. !!!insert picture here Inline links are used in sentences or paragraphs of text. The inline link behaves the same as the standalone link but it is styled with an underline. This helps differentiate them from the text they are placed next to and makes it clear users can interact with them. Inline links should not be used on their own and should not be paired with icons. By default, the link component does not use a visited style. Visited links indicate that a user has already opened the link so they can be a helpful indicator during task completion. Visited styles should be used sparingly because they often clutter the the page and add further visual noise as users are trying to navigate a product. They can be used if it is important that a user knows they have already clicked on a link. Some links trigger actions to aid task completion in addition to navigation. These links should still serve a navigation purpose. A common example is linking phone numbers so clicking the website automatically opens and calls the phone number when clicked. The label and any accompanying icons should make it clear what action will be triggered and where the user will be directed. ID5 Button |