Skip to content

Commit

Permalink
DataViews list layout: apply focus styles to items on focus-visible
Browse files Browse the repository at this point in the history
… rather than `focus` (#60253)

Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: oandregal <oandregal@git.wordpress.org>
  • Loading branch information
4 people committed Apr 1, 2024
1 parent e2d89a8 commit 769eade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dataviews/src/style.scss
Expand Up @@ -421,7 +421,7 @@
width: 100%;
scroll-margin: $grid-unit-10 0;

&:focus {
&:focus-visible {
&::before {
position: absolute;
content: "";
Expand Down

1 comment on commit 769eade

@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 769eade.
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/8507049539
📝 Reported issues:

Please sign in to comment.