Skip to content

Commit

Permalink
Use aria-disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Mar 18, 2022
1 parent be7cef6 commit 8f1f2e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/block-lock/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function BlockLockToolbar( { clientId } ) {
icon={ lock }
label={ label }
onClick={ canLockBlocks ? toggleModal : undefined }
disabled={ ! canLockBlocks }
aria-disabled={ ! canLockBlocks }
/>
</ToolbarGroup>
{ isModalOpen && canLockBlocks ? (
Expand Down

0 comments on commit 8f1f2e8

Please sign in to comment.