-
Notifications
You must be signed in to change notification settings - Fork 541
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PageLayout.Content should not use main landmark by default. (#3154)
* PageLayout.Content should not use main landmark by default. * Create eleven-humans-sneeze.md * Revert unrelated snapshots. * Use explicit main tag in PageLayout test instead of passing as prop. * Update generated/components.json * PageLayout.Content should not have as prop. * Update generated/components.json * Update .changeset/eleven-humans-sneeze.md Co-authored-by: Tyler Jones <tylerjdev@github.com> * Don't add role to PageLayout.Content. --------- Co-authored-by: radglob <radglob@users.noreply.github.com> Co-authored-by: Tyler Jones <tylerjdev@github.com>
- Loading branch information
1 parent
7f2ddce
commit fed1c57
Showing
5 changed files
with
19 additions
and
13 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,5 @@ | ||
--- | ||
"@primer/react": patch | ||
--- | ||
|
||
PageLayout.Content no longer renders as `main` by default. Instead, developers may add a `main` landmark within `Pagelayout.Content` themselves. |
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
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
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
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