Skip to content

Commit

Permalink
Remove clip and -webkit-clip for screen-reader-text CSS (#66144)
Browse files Browse the repository at this point in the history
Co-authored-by: mediaformat <mediaformat@git.wordpress.org>
  • Loading branch information
mediaformat and mediaformat authored Oct 16, 2024
1 parent 2bdeb49 commit 6544c6f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/block-library/src/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@

.screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
-webkit-clip-path: inset(50%);
clip-path: inset(50%);
height: 1px;
margin: -1px;
Expand All @@ -89,7 +87,6 @@

.screen-reader-text:focus {
background-color: $gray-300;
clip: auto !important;
clip-path: none;
color: #444;
display: block;
Expand Down

1 comment on commit 6544c6f

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 6544c6f.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/11365842276
📝 Reported issues:

Please sign in to comment.