Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change header to div on dialog #1412

Merged
merged 2 commits into from
Sep 27, 2022
Merged

Conversation

owenniblock
Copy link
Contributor

Motivation

When the dialog appears outside of a sectioning element (like <main>) it looks like some browser add the banner role to the element. This behaviour is undesired so we're changing the header to a div.

Looks like the <footer> has already been removed.

@owenniblock owenniblock requested review from a team and jonrohan September 27, 2022 13:47
@changeset-bot
Copy link

changeset-bot bot commented Sep 27, 2022

🦋 Changeset detected

Latest commit: 7bc7677

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/view-components Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@keithamus keithamus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jonrohan jonrohan enabled auto-merge (squash) September 27, 2022 16:13
@jonrohan jonrohan temporarily deployed to github-pages September 27, 2022 16:18 Inactive
@jonrohan jonrohan merged commit cf54842 into main Sep 27, 2022
@jonrohan jonrohan deleted the remove-header-footer-from-dialog branch September 27, 2022 16:19
@primer-css primer-css mentioned this pull request Sep 27, 2022
keithamus pushed a commit that referenced this pull request Sep 27, 2022
* Change header to div on dialog

* Create sharp-camels-push.md

Co-authored-by: Jon Rohan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants