-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
FSE Document actions - wrap with heading #25874
Conversation
Size Change: +8.93 kB (0%) Total Size: 1.19 MB
ℹ️ View Unchanged
|
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.
thanks for spinning this up! Just one note
packages/edit-site/src/components/header/document-actions/index.js
Outdated
Show resolved
Hide resolved
b4b44f5
to
e20859d
Compare
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.
I think this is a solid approach which improves accessibility for folks using screen readers etc. It lets us maintain the current visual designs as well -- at least until better designs have been proposed :)
Only note is that I think it should say "edit $postType" instead of "edit document"
Description
Instead of re-ordering the items in the header, we will update the wrapper to be a heading element so it can be easily seen via a11y software.
Re-orders the site editor header to have document-actions to appear as the first section in the dom hierarchy (as discussed #25781).
This should introduce no visual change.
resolves #25781
How has this been tested?
Tested on local docker env.
<h1>
Screenshots
This should have no visual change.
Types of changes
Checklist: