Skip to content

Commit

Permalink
BlockDraggable: Remove invalid aria-hidden attribute from button
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Aug 4, 2024
1 parent 79b0752 commit 96da007
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/block-editor/src/components/block-mover/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ function BlockMover( {
<Button
icon={ dragHandle }
className="block-editor-block-mover__drag-handle"
aria-hidden="true"
label={ __( 'Drag' ) }
// Should not be able to tab to drag handle as this
// button can only be used with a pointer device.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ function BlockSelectionButton( { clientId, rootClientId }, ref ) {
<Button
icon={ dragHandle }
className="block-selection-button_drag-handle"
aria-hidden="true"
label={ dragHandleLabel }
// Should not be able to tab to drag handle as this
// button can only be used with a pointer device.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ export default function ZoomOutToolbar( { clientId, rootClientId } ) {
<Button
icon={ dragHandle }
className="block-selection-button_drag-handle zoom-out-toolbar-button"
aria-hidden="true"
label={ __( 'Drag' ) }
iconSize={ 24 }
size="compact"
Expand Down

0 comments on commit 96da007

Please sign in to comment.