Vivid API

Brand

Displays a brand icon in multi-color or mono variant.

Implementation

Informative vs Decorative Brand Icons

  • Informative brand icons
    • Convey information not otherwise present in the page’s text.
    • Must set the label attribute to provide an accessible name.
  • Decorative brand icons
    • Duplicate information already present in the text, or are purely aesthetic.
    • Do not require a label.
    • When no label is provided, aria-hidden="true" is automatically applied.

Best Practices

Brand Icons Are Non-Interactive

  • Do not use brand icons as interactive controls.
  • If you need an interactive brand icon, use a component designed for interaction (for example a Button with a brand icon in the icon slot) and include accessible text.

Resources