<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Kai Mercer</title>
    <description>The latest articles on DEV Community by Kai Mercer (@mercerk17).</description>
    <link>https://dev.to/mercerk17</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4175326%2F59d344aa-a402-44a1-8d3f-c99a392fe74e.png</url>
      <title>DEV Community: Kai Mercer</title>
      <link>https://dev.to/mercerk17</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mercerk17"/>
    <language>en</language>
    <item>
      <title>A small reduced-motion check before shipping a landing page</title>
      <dc:creator>Kai Mercer</dc:creator>
      <pubDate>Sun, 11 Oct 2026 00:11:35 +0000</pubDate>
      <link>https://dev.to/mercerk17/a-small-reduced-motion-check-before-shipping-a-landing-page-4hfm</link>
      <guid>https://dev.to/mercerk17/a-small-reduced-motion-check-before-shipping-a-landing-page-4hfm</guid>
      <description>&lt;p&gt;A landing page can look fine on a phone and still miss someone's motion preference. Check both versions of the same page, not only a screenshot.&lt;/p&gt;

&lt;p&gt;For decorative animation, a scoped CSS rule is a starting point:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="k"&gt;@media&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;prefers-reduced-motion&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;reduce&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nc"&gt;.hero-decoration&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;animation&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;none&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nl"&gt;transition&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;none&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Replace .hero-decoration with the element that owns the motion. This is an example, not a fix for every animation on a site. Don't hide useful information when removing the effect.&lt;/p&gt;

&lt;p&gt;Test with Reduce Motion off, then on in your device's accessibility settings. Does the content remain visible? Can you still follow the page and use its controls? Check animations triggered by interaction as well as ones that start on load.&lt;/p&gt;

&lt;p&gt;If you're showing the result in a demo, label a short side-by-side clip: normal motion on one side, reduced motion on the other. Keep the content and viewport the same so the difference is easy to see.&lt;/p&gt;

&lt;p&gt;The CSS preference value is reduce, not none. Reduced motion doesn't mean every animation must disappear; essential functionality and information still need to work.&lt;/p&gt;

</description>
      <category>css</category>
      <category>a11y</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
