Skip to content

Commit

Permalink
Remove visually hidden element
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Sep 6, 2024
1 parent 0feeda3 commit 53f8635
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import clsx from 'clsx';
/**
* WordPress dependencies
*/
import { Button, VisuallyHidden } from '@wordpress/components';
import { Button } from '@wordpress/components';
import { forwardRef, useRef } from '@wordpress/element';
import { _x, sprintf } from '@wordpress/i18n';
import { Icon, plus } from '@wordpress/icons';
Expand Down Expand Up @@ -78,9 +78,6 @@ function ButtonBlockAppender(
label={ label }
showTooltip
>
{ ! hasSingleBlockType && (
<VisuallyHidden as="span">{ label }</VisuallyHidden>
) }
<Icon icon={ plus } />
</Button>
);
Expand Down

0 comments on commit 53f8635

Please sign in to comment.