From d6b17d1debe48982d912b2294190563288fb9373 Mon Sep 17 00:00:00 2001 From: Marie Lucca Date: Fri, 13 Sep 2024 16:14:05 -0400 Subject: [PATCH] docs(PageHeader): a11y guidance correction --- content/components/page-header.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/components/page-header.mdx b/content/components/page-header.mdx index 5527f701b..0cf7185d5 100644 --- a/content/components/page-header.mdx +++ b/content/components/page-header.mdx @@ -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