Skip to content

Commit

Permalink
Update content/components/blankslate.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Patrick H. Lauke <[email protected]>
  • Loading branch information
francinelucca and patrickhlauke authored Nov 5, 2024
1 parent 6255266 commit b52b255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/components/blankslate.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The blankslate component is made up of several elements that work together to in

The graphic can bring delight, preview an interface element, or represent the goal of the feature. Graphics should be placed intentionally and with thought about the intention of the content. Graphics also differ in meaning and appeal to the user, which is why the Blankslate component has multiple variations. These variations are outlined later on this page.

Please note that when a graphic is used to convey meaning or purpose other than purely for decoration, it should be accompanied by a text description for screen readers. For the case of [Octicons](#octicons), this is done by adding an `aria-label` attribute to the element. For example, `<Octicon icon={RepoIcon} aria-label="Repository icon" />`. For other graphics, this implementation is at the consumer's discretion.
Please note that when a graphic is used to convey meaning or purpose, rather than purely for decoration, this information must also be conveyed to users that may not be able to see it, such as screen reader users. Either make sure that the meaning or purpose is also conveyed in the actual text used inside the component, or add a text alternative to the image itself. In the case of [Octicons](#octicons), this is done by adding an `aria-label` attribute to the element - for example, `<Octicon icon={RepoIcon} aria-label="Repository" />`. For other graphics, this implementation is at the consumer's discretion.

### Primary Text

Expand Down

0 comments on commit b52b255

Please sign in to comment.