WordPress/wp-content/themes/twentytwenty/assets/js
Sergey Biryukov 0f971e68ec Twenty Twenty: Replace Smooth Scroll JS implementation with scroll-behavior CSS property.
The JS implementation had multiple issues and did not work as expected.

This change includes an accessibility enhancement by using `prefers-reduced-motion: reduce` media query property for users that don't want motion effects. For further explanation on this media query, see MDN documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior#Accessibility_concerns

Props audrasjb, melchoyce, joostdevalk, Anlino, mauteri, sergiomdgomes, littlebigthing, williampatton, netweb, andraganescu, joyously, acosmin, mukesh27, hareesh-pillai.
Fixes #48763, #48551, #48866.
Built from https://develop.svn.wordpress.org/trunk@46824


git-svn-id: http://core.svn.wordpress.org/trunk@46624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-12-07 11:05:01 +00:00
..
color-calculations.js Twenty Twenty: Fix typos in a variable name and inline comment in assets/js/color-calculations.js. 2019-11-18 17:07:01 +00:00
customize-controls.js Bundled Themes: Update Twenty Twenty. 2019-11-11 12:29:01 +00:00
customize-preview.js Bundled Themes: Update Twenty Twenty. 2019-10-22 18:27:08 +00:00
customize.js Bundled Themes: Update Twenty Twenty. 2019-10-08 19:08:07 +00:00
editor-script-block.js Bundled Themes: Update Twenty Twenty. 2019-09-30 17:41:57 +00:00
index.js Twenty Twenty: Replace Smooth Scroll JS implementation with scroll-behavior CSS property. 2019-12-07 11:05:01 +00:00
skip-link-focus-fix.js Bundled Themes: Update Twenty Twenty. 2019-10-29 14:55:05 +00:00