Skip to content

Commit

Permalink
Make the Replace featured image button perceivable by assistive techn…
Browse files Browse the repository at this point in the history
…ology.
  • Loading branch information
afercia committed Dec 29, 2023
1 parent 6f6b083 commit a71758b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/editor/src/components/post-featured-image/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,6 @@ function PostFeaturedImage( {
<Button
className="editor-post-featured-image__action"
onClick={ open }
// Prefer that screen readers use the .editor-post-featured-image__preview button.
aria-hidden="true"
>
{ __( 'Replace' ) }
</Button>
Expand Down

0 comments on commit a71758b

Please sign in to comment.