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

Post editor: fix meta boxes accessibility #65466

Merged
merged 16 commits into from
Oct 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add aria-expanded to toggle and remove aria-label
  • Loading branch information
stokesman committed Sep 26, 2024
commit b7f087ecb19759e681a5f7400b8edb0164bcb03d
2 changes: 1 addition & 1 deletion packages/edit-post/src/components/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,8 @@ function MetaBoxesMain( { isLegacy } ) {
<Pane aria-label={ paneLabel } { ...paneProps }>
{ isShort ? (
<button
aria-expanded={ isOpen }
className="edit-post-meta-boxes-main__presenter"
aria-label={ __( 'Expand or collapse meta boxes pane' ) }
onClick={ toggle }
>
{ paneLabel }
Expand Down