Skip to content

Commit

Permalink
Add aria-expanded to toggle and remove aria-label
Browse files Browse the repository at this point in the history
  • Loading branch information
stokesman committed Sep 26, 2024
1 parent 56ae759 commit b7f087e
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit b7f087e

Please sign in to comment.