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

Use h2 for dialog titles #17483

Merged
merged 5 commits into from
Oct 5, 2023
Merged

Use h2 for dialog titles #17483

merged 5 commits into from
Oct 5, 2023

Conversation

sergiou87
Copy link
Member

xref. https://github.com/github/accessibility-audits/issues/4927

Description

In order to keep a better clarity of the structure of the dialog and its presentation, the title h1 element has been replaced with a h2.

While testing this, I noticed some CSS files refer to dialogs that don't exist anymore (or, more specifically, that have been replaced by a more generic one), so I removed those files and referenced the commit in which the dialogs were removed in the commit description.

Release notes

Notes: [Improved] Improved clarity of the structure of dialogs by using h2 elements for their titles

@sergiou87 sergiou87 merged commit eab913a into development Oct 5, 2023
8 checks passed
@sergiou87 sergiou87 deleted the dialog-h1-to-h2 branch October 5, 2023 06:43
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