Unstyled buttons, e.g. when editing a page with the source editor, are now showing up in an ugly style that is neither the browser default nor the Wikimedia style when prefers-reduced-motion is enabled.
It seems to be caused by a background-attachment: initial !important; rule - disabling it using the browser's dev tools causes the buttons to revert to their usual default style.
Screenshot taken when editing Project:Sandbox on mediawiki.org:
QA steps
- Enable reduced motion mode (in system preferences > accessibility in Apple)
- Visit https://mediawiki.org/wiki/Special:Preferences?tableofcontents=0#mw-prefsection-editing editing tab and check the box "Temporarily disable the visual editor while it is in beta" and click "Enable the editing toolbar"
- Visit https://www.mediawiki.org/wiki/VisualEditor?action=edit
- Buttons at bottom should look like this:
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T308705#7997372 |