joedolson
9b6710c43c
Media: Remove infinite scroll from media library and modal.
...
Replace infinitely autoloading behavior on scroll with a user-controlled load more button. Fix a long standing accessibility issue in the media library. Infinite scroll poses a wide range of problems for accessibility, usability, and performance.
This change modifies the library to load 40 items in the initial view, with a load more button to load the next 40 items and a button to move focus from the load more region to the first of the most recently added items.
The text for communicating the jump target was broadly discussed, agreeing that the text incorporated here would most concisely and clearly convey the purpose of the button, and any further detail is learnable from use.
Props afercia, adamsilverstein, joedolson, audrasjb, francina
Fixes #50105 . See #40330 .
Built from https://develop.svn.wordpress.org/trunk@50829
git-svn-id: http://core.svn.wordpress.org/trunk@50438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-05-07 23:19:03 +00:00
..
2019-10-25 16:38:07 +00:00
2021-05-07 11:48:27 +00:00
2021-02-09 16:45:06 +00:00
2021-04-06 14:31:21 +00:00
2021-01-20 13:35:18 +00:00
2021-03-18 17:48:23 +00:00
2017-09-21 16:35:48 +00:00
2021-02-23 10:54:06 +00:00
2021-04-20 20:02:47 +00:00
2020-07-27 23:35:02 +00:00
2021-01-20 13:35:18 +00:00
2020-12-01 03:44:05 +00:00
2021-01-06 15:29:24 +00:00
2021-03-18 19:01:03 +00:00
2021-03-18 19:01:03 +00:00
2019-09-17 17:19:54 +00:00
2021-03-18 17:48:23 +00:00
2021-03-18 15:54:18 +00:00
2021-03-18 17:48:23 +00:00
2021-01-06 15:29:24 +00:00
2020-10-18 06:41:04 +00:00
2021-03-18 17:48:23 +00:00
2021-03-18 19:01:03 +00:00
2021-03-18 19:01:03 +00:00
2020-06-20 12:58:10 +00:00
2021-01-06 15:29:24 +00:00
2020-06-25 12:43:07 +00:00
2021-01-06 15:29:24 +00:00
2020-07-27 23:35:02 +00:00
2021-04-06 14:31:21 +00:00
2020-06-20 12:58:10 +00:00
2021-01-06 15:29:24 +00:00
2020-07-27 23:35:02 +00:00
2021-01-06 15:29:24 +00:00
2020-07-28 00:07:03 +00:00
2021-03-18 17:48:23 +00:00
2018-06-28 02:30:15 +00:00
2021-01-06 15:29:24 +00:00
2021-03-18 19:01:03 +00:00
2021-03-18 19:01:03 +00:00
2019-12-10 01:03:02 +00:00
2021-03-10 15:25:20 +00:00
2021-03-10 15:25:20 +00:00
2020-06-13 18:53:27 +00:00
2021-01-20 13:35:18 +00:00
2020-06-13 18:53:27 +00:00
2020-07-27 23:35:02 +00:00
2021-01-06 15:29:24 +00:00
2020-01-29 00:45:18 +00:00
2021-01-06 15:29:24 +00:00
2020-07-27 23:35:02 +00:00
2021-01-20 13:35:18 +00:00
2021-01-22 12:32:03 +00:00
2021-03-18 17:48:23 +00:00
2021-05-07 23:19:03 +00:00
2021-05-07 23:19:03 +00:00
2021-05-07 23:19:03 +00:00
2021-05-07 23:19:03 +00:00
2021-03-18 19:01:03 +00:00
2021-03-18 19:01:03 +00:00
2020-01-29 00:45:18 +00:00
2021-01-06 15:29:24 +00:00
2019-10-26 00:17:07 +00:00
2021-03-18 19:20:19 +00:00
2021-03-18 19:20:19 +00:00
2021-04-21 17:55:19 +00:00
2021-04-21 17:55:19 +00:00
2020-01-29 00:45:18 +00:00
2021-01-06 15:29:24 +00:00
2021-03-18 19:01:03 +00:00
2021-03-18 19:01:03 +00:00
2020-10-29 18:32:05 +00:00
2021-03-18 17:48:23 +00:00
2021-03-18 19:01:03 +00:00
2021-03-18 19:01:03 +00:00
2020-06-20 12:58:10 +00:00
2021-03-18 17:48:23 +00:00
2021-04-10 12:40:05 +00:00
2021-04-10 12:40:05 +00:00
2020-10-19 13:36:08 +00:00
2021-01-20 13:35:18 +00:00
2018-08-30 12:40:26 +00:00
2021-01-06 15:29:24 +00:00
2020-06-15 18:04:26 +00:00
2021-01-06 15:29:24 +00:00
2021-03-18 19:20:19 +00:00
2020-01-29 00:45:18 +00:00
2021-01-06 15:29:24 +00:00
2018-06-28 02:30:15 +00:00
2021-01-06 15:29:24 +00:00
2021-02-23 19:45:04 +00:00
2021-03-18 17:48:23 +00:00
2021-02-16 20:25:03 +00:00
2021-02-16 20:25:03 +00:00
2019-09-04 17:13:21 +00:00
2021-03-18 17:48:23 +00:00
2020-07-27 23:35:02 +00:00
2021-01-06 15:29:24 +00:00
2018-06-28 02:30:15 +00:00
2019-10-26 00:17:07 +00:00
2021-03-18 19:01:03 +00:00
2021-03-26 15:47:21 +00:00
2018-06-28 02:30:15 +00:00
2021-02-23 16:45:19 +00:00
2019-10-26 00:17:07 +00:00