Link
Links are used to navigate around a single page, or between separate pages.
A link is different to a button, which is used for triggering an action, such as submitting a form.
Example
Link contentAccessibility
- Ensure correct semantic use of links vs buttons.
- Make sure there is descriptive text in all links.
- Icons shown alongside a descriptive link should be hidden to avoid content being read twice. Add
to hide the icon from assistive technologies.aria-hidden="true" - Make sure that links have a minimum hit area. The minimum hit area in Tangram is 48 pixels, except for compact forms where it’s 38 pixels.
Grey links
Coming soon
Design pattern coming soon! In the meantime, the #tangram Slack channel is always available for support.
Design pattern
Design pattern coming soon! In the meantime, the #tangram Slack channel is always available for support.