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

Associate title with dialog #1891

Merged
merged 2 commits into from
Mar 21, 2023
Merged

Associate title with dialog #1891

merged 2 commits into from
Mar 21, 2023

Conversation

camertron
Copy link
Contributor

Description

Today @neall and I encountered an Axe violation saying our Primer::Alpha::Dialog didn't have any text describing it. Digging into the code we discovered that, while the subtitle's ID is added to aria-describedby, the title's ID is not.

Integration

Does this change require any updates to code in production?

No

Merge checklist

  • Added/updated tests
  • Added/updated documentation
    - [ ] Added/updated previews

@camertron camertron requested review from jonrohan and keithamus March 20, 2023 21:45
@changeset-bot
Copy link

changeset-bot bot commented Mar 20, 2023

🦋 Changeset detected

Latest commit: 15b9b92

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

@camertron camertron merged commit 5f48d6f into main Mar 21, 2023
@camertron camertron deleted the fix_dialog_title branch March 21, 2023 17:03
@primer-css primer-css mentioned this pull request Mar 21, 2023
@keithamus keithamus mentioned this pull request May 10, 2023
3 tasks
@keithamus keithamus mentioned this pull request Feb 8, 2024
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch release ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants