Skip to content

Commit 9674673

Browse files
MaggieCabreraclaude
andcommitted
Ipsum: Respect reduced motion in view transitions.
Browsers don't turn off view transitions for people who prefer reduced motion, so they still got the crossfade between pages. The cross-document view transition now only runs with `prefers-reduced-motion: no-preference`, like the theme's other animations. Synced from WordPress/ipsum#198. See #66352. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 0b6d9f1 commit 9674673

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎src/wp-content/themes/ipsum/style.css‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ Tags: one-column, featured-images, full-site-editing, block-patterns, rtl-langua
1616

1717
/* Crossfade page transition */
1818

19-
@view-transition {
20-
navigation: auto;
19+
@media (prefers-reduced-motion: no-preference) {
20+
@view-transition {
21+
navigation: auto;
22+
}
2123
}
2224

2325
/* Font smoothing */

0 commit comments

Comments
 (0)