simplytest.me header does not respect prefers-reduced-motion

Created on 14 December 2023, over 1 year ago
Updated 10 January 2024, about 1 year ago

Problem/Motivation

The "Drush Site-Install" banner on sites created using simplytest.me does not respect prefers-reduced-motion. If I scroll the home page down, the banner does a sliding collapse into a hamburger menu. If I scroll up, the banner does a sliding expand.

Steps to reproduce

1. On a Mac, choose System Settings in the Apple menu
2. Select Accessibility
3. Select Display
4. Set reduce motion to on
5. In a browser, go to simplytest.me and create a Drupal 10 site
6. Wait for the welcome page to appear
7. Scroll down

Expected result: The Drush Site-Install banner, Home, Search, and Login collapse into a hamburger menu without animation.
Actual result: The Drush Site-Install banner, Home, Search, and Login collapse into a hamburger menu using a sliding animation.

8. Scroll back up to the top

Expected result: The hamburger menu expands into the Drush Site-Install banner, Home, Search, and Login without animation.
Actual result: The hamburger menu expands into the Drush Site-Install banner, Home, Search, and Login using a sliding animation.

Proposed resolution

Remove the sliding animation if prefers-reduced-motion has been specified.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: cannot reproduce

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States charles belov San Francisco, CA, US

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024