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

ConfirmationDialog: Remove header landmark #2490

Merged
merged 3 commits into from
Oct 27, 2022

Conversation

colebemis
Copy link
Contributor

@colebemis colebemis commented Oct 27, 2022

As requested by @jscholes in the TreeView a11y sign-off review, this PR removes the banner/header landmark region from ConfirmationDialog.

Not directly related to tree view, but the dialog displayed when async loading fails has a banner/header landmark region wrapping the "Error" h1 and "Close" button. This should be removed; landmarks are very rarely needed in modal dialogs.

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Tested in Chrome
  • Tested in Firefox
  • Tested in Safari
  • Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

@colebemis colebemis requested review from a team and josepmartins October 27, 2022 16:49
@changeset-bot
Copy link

changeset-bot bot commented Oct 27, 2022

🦋 Changeset detected

Latest commit: 5b3d530

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

This PR includes changesets to release 1 package
Name Type
@primer/react 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

@github-actions
Copy link
Contributor

github-actions bot commented Oct 27, 2022

size-limit report 📦

Path Size
dist/browser.esm.js 78.14 KB (-0.01% 🔽)
dist/browser.umd.js 78.79 KB (-0.01% 🔽)

@colebemis colebemis temporarily deployed to github-pages October 27, 2022 16:59 Inactive
Copy link
Contributor

@ericwbailey ericwbailey left a comment

Choose a reason for hiding this comment

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

Does what it says!

@colebemis colebemis merged commit 776fb95 into main Oct 27, 2022
@colebemis colebemis deleted the confirmation-dialog-remove-landmark branch October 27, 2022 17:08
@primer-css primer-css mentioned this pull request Oct 27, 2022
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.

None yet

2 participants