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 21, 2022
1 parent dc95a5d commit c3bd613
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 c3bd613

Please sign in to comment.