Skip to content

Commit

Permalink
docs(PageHeader): a11y guidance correction
Browse files Browse the repository at this point in the history
  • Loading branch information
francinelucca committed Sep 13, 2024
1 parent ab15780 commit d6b17d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/components/page-header.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ The title bar can include a static page title, actions, and leading and trailing
Pageheader allows usage of different HTML landmarks to create a more accessible UI.
The usage of `header` and `nav` regions are allowed within PageHeader, both with different use cases.

If no landmarks are used within the `PageHeader`, consider using the `role` prop to indicate one and provide it with an accessible name (perhaps the same as `PageHeader.Title`) via `aria-label`.
If the `PageHeader` is not contained within or contains a landmark, consider using the `role` prop to indicate one and provide it with an accessible name (perhaps the same as `PageHeader.Title`) via `aria-label`.

#### PageHeader with `header` landmark

Expand Down

0 comments on commit d6b17d1

Please sign in to comment.