-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Removed <header> <main> and <footer> elements from Font Library Modal #58221
Removed <header> <main> and <footer> elements from Font Library Modal #58221
Conversation
…v> elements and assigned new class names to leverage existing styles
Size Change: -1 B (0%) Total Size: 1.7 MB
ℹ️ View Unchanged
|
Flaky tests detected in cbd40bc. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7646170199
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This tests well for me and satisfies the requirements noted in #58065. I think this is good to bring in.
…v> elements and assigned new class names to leverage existing styles (#58221) Co-authored-by: Sarah Norris <[email protected]>
I just cherry-picked this PR to the release/17.6 branch to get it included in the next release: 1a220b5 |
…v> elements and assigned new class names to leverage existing styles (#58221) Co-authored-by: Sarah Norris <[email protected]>
What?
Removes
<header>
<main>
and<footer>
elements from the Font Library modal to better support assistive technologies.Fixes #58065
How?
<header>
element (it wasn't needed)<main>
and<footer>
elements to<div>
elements and assign new classes to them to leverage the existing styles.Open the Font Library modal. Visit all of the tabs. Note that there are no
or elements. Ensure that the design looks the same as it did before this change.