WordPress/wp-includes/js
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
..
codemirror
crop
dist Editor: Update WordPress packages from Gutenberg 10.5 2021-05-07 11:48:27 +00:00
imgareaselect External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-09 16:45:06 +00:00
jcrop
jquery Build/Test Tools: Update some dependencies. 2021-04-06 14:31:21 +00:00
mediaelement Build/Test Tools: Update the uglify-js package. 2021-01-20 13:35:18 +00:00
plupload Build/Test Tools: Update some devDependencies. 2021-03-18 17:48:23 +00:00
swfupload
thickbox External Libraries: Correct click event handling in the Thickbox library. 2021-02-23 10:54:06 +00:00
tinymce Build/Test Tools: Update several dependencies. 2021-04-20 20:02:47 +00:00
admin-bar.js
admin-bar.min.js Build/Test Tools: Update the uglify-js package. 2021-01-20 13:35:18 +00:00
api-request.js Site Health, App Passwords: Ensure REST API responses are properly translated. 2020-12-01 03:44:05 +00:00
api-request.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
autosave.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
autosave.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
backbone.js
backbone.min.js Build/Test Tools: Update some devDependencies. 2021-03-18 17:48:23 +00:00
clipboard.js External Libraries: Update Clipboard.js library to version 2.0.8. 2021-03-18 15:54:18 +00:00
clipboard.min.js Build/Test Tools: Update some devDependencies. 2021-03-18 17:48:23 +00:00
colorpicker.js
colorpicker.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
comment-reply.js Comments: Hide the link to the initial parent comment in the reply heading when replying to another comment. 2020-10-18 06:41:04 +00:00
comment-reply.min.js Build/Test Tools: Update some devDependencies. 2021-03-18 17:48:23 +00:00
customize-base.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
customize-base.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
customize-loader.js
customize-loader.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
customize-models.js
customize-models.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
customize-preview-nav-menus.js
customize-preview-nav-menus.min.js Build/Test Tools: Update some dependencies. 2021-04-06 14:31:21 +00:00
customize-preview-widgets.js
customize-preview-widgets.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
customize-preview.js
customize-preview.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
customize-selective-refresh.js Docs: Correct alignment for some parameters in JS documentation. 2020-07-28 00:07:03 +00:00
customize-selective-refresh.min.js Build/Test Tools: Update some devDependencies. 2021-03-18 17:48:23 +00:00
customize-views.js
customize-views.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
heartbeat.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
heartbeat.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
hoverintent-js.min.js
hoverIntent.js External Libraries: Update jQuery hoverIntent to version 1.10.1. 2021-03-10 15:25:20 +00:00
hoverIntent.min.js External Libraries: Update jQuery hoverIntent to version 1.10.1. 2021-03-10 15:25:20 +00:00
imagesloaded.min.js
json2.js
json2.min.js Build/Test Tools: Update the uglify-js package. 2021-01-20 13:35:18 +00:00
masonry.min.js
mce-view.js
mce-view.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
media-audiovideo.js
media-audiovideo.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
media-editor.js
media-editor.min.js Build/Test Tools: Update the uglify-js package. 2021-01-20 13:35:18 +00:00
media-grid.js External Libraries: First pass at fixing jQuery deprecations in WordPress core and bundled themes. 2021-01-22 12:32:03 +00:00
media-grid.min.js Build/Test Tools: Update some devDependencies. 2021-03-18 17:48:23 +00:00
media-models.js Media: Remove infinite scroll from media library and modal. 2021-05-07 23:19:03 +00:00
media-models.min.js Media: Remove infinite scroll from media library and modal. 2021-05-07 23:19:03 +00:00
media-views.js Media: Remove infinite scroll from media library and modal. 2021-05-07 23:19:03 +00:00
media-views.min.js Media: Remove infinite scroll from media library and modal. 2021-05-07 23:19:03 +00:00
quicktags.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
quicktags.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
shortcode.js
shortcode.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
swfobject.js
tw-sack.js
tw-sack.min.js
twemoji.js Emoji: Update the Twemoji library to version 13.0.2. 2021-03-18 19:20:19 +00:00
twemoji.min.js Emoji: Update the Twemoji library to version 13.0.2. 2021-03-18 19:20:19 +00:00
underscore.js External Libraries: Update Underscore to version 1.13.1. 2021-04-21 17:55:19 +00:00
underscore.min.js External Libraries: Update Underscore to version 1.13.1. 2021-04-21 17:55:19 +00:00
utils.js
utils.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
wp-ajax-response.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
wp-ajax-response.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
wp-api.js REST API: JS Client - improve collection route construction for empty parents. 2020-10-29 18:32:05 +00:00
wp-api.min.js Build/Test Tools: Update some devDependencies. 2021-03-18 17:48:23 +00:00
wp-auth-check.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
wp-auth-check.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
wp-backbone.js
wp-backbone.min.js Build/Test Tools: Update some devDependencies. 2021-03-18 17:48:23 +00:00
wp-custom-header.js Customize: Set playsinline attribute for custom header videos. 2021-04-10 12:40:05 +00:00
wp-custom-header.min.js Customize: Set playsinline attribute for custom header videos. 2021-04-10 12:40:05 +00:00
wp-embed-template.js Embeds: Only catch clicks from the primary mouse button in the click handler, without any modifier keys. 2020-10-19 13:36:08 +00:00
wp-embed-template.min.js Build/Test Tools: Update the uglify-js package. 2021-01-20 13:35:18 +00:00
wp-embed.js
wp-embed.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
wp-emoji-loader.js
wp-emoji-loader.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
wp-emoji-release.min.js Emoji: Update the Twemoji library to version 13.0.2. 2021-03-18 19:20:19 +00:00
wp-emoji.js
wp-emoji.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
wp-list-revisions.js
wp-list-revisions.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
wp-lists.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-23 19:45:04 +00:00
wp-lists.min.js Build/Test Tools: Update some devDependencies. 2021-03-18 17:48:23 +00:00
wp-pointer.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-16 20:25:03 +00:00
wp-pointer.min.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-02-16 20:25:03 +00:00
wp-sanitize.js
wp-sanitize.min.js Build/Test Tools: Update some devDependencies. 2021-03-18 17:48:23 +00:00
wp-util.js
wp-util.min.js Build/Test Tools: Update UglifyJS to the latest version. 2021-01-06 15:29:24 +00:00
wpdialog.js
wpdialog.min.js
wplink.js External Libraries: Further fix jQuery deprecations in WordPress core. 2021-03-18 19:01:03 +00:00
wplink.min.js Build/Test Tools: Update some devDependencies. 2021-03-26 15:47:21 +00:00
zxcvbn-async.js
zxcvbn-async.min.js Build/Test Tools: Update NPM dependencies. 2021-02-23 16:45:19 +00:00
zxcvbn.min.js