Skip to content

Commit

Permalink
Improve Featured Image accessibility and labeling
Browse files Browse the repository at this point in the history
  • Loading branch information
dhananjaykuber committed Jul 10, 2024
1 parent ac01698 commit b1bd694
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/editor/src/components/post-featured-image/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ function PostFeaturedImage( {

return (
<PostFeaturedImageCheck>
{ featuredImageId !== 0 && (
<span>{ DEFAULT_FEATURE_IMAGE_LABEL }</span>
) }
{ noticeUI }
<div className="editor-post-featured-image">
{ media && (
Expand Down

0 comments on commit b1bd694

Please sign in to comment.