{"canonical_url":"https://engineer.company/ja/portfolio/made-the-reduced-motion-setting-honest/","content_markdown":"# 「動きを減らす」設定を正しく反映\n\nクラス付きルールには、全要素のトランジションを無効にするルールが詳細度で負けるため、「動きを減らす」設定でもアニメーションを続ける11個のセレクターを修正し、設定が正しく効くようにした。\n\n8月 2026\n\n**状況.** 全トランジションを止める1ルールで「動きを減らす」に対応していた。完全に見え、静的検査も通ったが、設定を模擬すると11セレクターが動いていた。\n\n**課題.** 実際に設定を尊重し、明白に見える規則が失敗した理由を、次の人が繰り返せない仕組みにする必要があった。\n\n**行動.** 原因は詳細度だった。全要素指定は最下位で、クラス付きのどの動きにも負けるため、一括トランジション‑noneは止めたいすべてに敗れる。継ぎ当てでなく構造を変え、動きは最後の専用CSSへ集め、他所のtransform トランジションを検査で拒否した。色変化は動きではなく、それまで消すと求めていない人にも画面が壊れた感覚になるため、色のトランジションは通し、移動は通さない。また簡単に解除できるトランジションを使い、難しいキーフレームは避ける。関連する2つの罠も測定とともに記した。メニュー装飾は半分見える前に60度中31度回っていたが、周期形なので半回転でも同じ見え方を3分の1の費用で得られる。また5種類の指定がビューポート基準の子の包含ブロックを変え、閉じるための面を画面の一部へ縮めていた。\n\n**結果.** 意図だけでなく実際に設定を尊重し、一括ルールで対応したように見えた11の動きを止めた。詳細度で負けるルールは静かに失敗し、どの報告も別の名で呼ぶという教訓を、文書の冒頭に記した。\n\n---\n\n- 役割: デザインシステムエンジニア\n- カテゴリー: [フロントエンド開発](https://software.engineer.company/ja/categories/frontend/), [Web開発](https://software.engineer.company/ja/categories/web-development/), [テスト・品質保証](https://software.engineer.company/ja/categories/testing/), [デザインシステム・UI](https://software.engineer.company/ja/categories/design-systems/), [UX・UI設計](https://software.engineer.company/ja/categories/ux-ui/)\n- サービス: [フロントエンド開発](https://software.engineer.company/ja/services/frontend-development/), [Webサイト・CMS開発](https://software.engineer.company/ja/services/web-development/), [UI/UX設計・デザインシステム](https://software.engineer.company/ja/services/ui-ux-design/)\n\n\u003chttps://engineer.company/ja/portfolio/made-the-reduced-motion-setting-honest/\u003e\n","date_modified":"2026-11-12T05:34:23Z","description":"意図だけでなく実際に設定を尊重し、一括ルールで対応したように見えた11の動きを止めた。詳細度で負けるルールは静かに失敗し、どの報告も別の名で呼ぶという教訓を、文書の冒頭に記した。","formats":{"gemtext":"https://software.engineer.company/ja/portfolio/made-the-reduced-motion-setting-honest/index.gmi","gopher":"https://software.engineer.company/ja/portfolio/made-the-reduced-motion-setting-honest/gophermap","html":"https://software.engineer.company/ja/portfolio/made-the-reduced-motion-setting-honest/","json":"https://software.engineer.company/ja/portfolio/made-the-reduced-motion-setting-honest/index.json","markdown":"https://software.engineer.company/ja/portfolio/made-the-reduced-motion-setting-honest/index.md","pdf":"https://software.engineer.company/ja/portfolio/made-the-reduced-motion-setting-honest/index.pdf"},"kind":"page","language":"ja","title":"「動きを減らす」設定を正しく反映","url":"https://software.engineer.company/ja/portfolio/made-the-reduced-motion-setting-honest/","version":1}