-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(brand): add a11y documentation (#2778)
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
id: Brand | ||
section: components | ||
--- | ||
|
||
A **brand** is used to place a product logotype on a screen. | ||
|
||
**Keyboard users** should not be able to focus on the brand, as it is not interactive. | ||
|
||
**Screen reader users** should be able to navigate to the brand and have a screen reader read the brand’s descriptive text. | ||
|
||
The following props/attributes have been added for you or are customizable in PatternFly: | ||
|
||
| React prop | React component it should be applied to | Which HTML element it appears on in markup | Reason used | | ||
| -- | -- | -- | -- | | ||
| alt | Brand | `.pf-c-brand` | Descriptive alternative text for the image of the Brand | |