WordPress/wp-admin/includes
Andrea Fercia 22d0cd6c96 Accessibility: Allow post boxes on the Dashboard and Classic Editor pages to be reordered by using the keyboard.
So far, it has been possible to rearrange into a new order the post boxes (also known as "widgets" on the Dashboard and "meta boxes" on the Edit post page) only by using a pointing device, for example a mouse.

This change adds new controls and functionality to allow the boxes to be rearranged also with the keyboard. Additionally, audible messages are sent to the admin ARIA live region to notify screen reader users of the reorder action result.

Props joedolson, anevins, antpb, audrasjb, xkon, MarcoZ, karmatosed, afercia.
Fixes #39074.

Built from https://develop.svn.wordpress.org/trunk@48373


git-svn-id: http://core.svn.wordpress.org/trunk@48142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 13:00:02 +00:00
..
admin-filters.php Media: Show an error message when a .heic file is uploaded that this type of files cannot be displayed in a web browser and suggesting to convert to JPEG. The message is shown by using filters, plugins that want to handle uploading of .heic files can remove it. 2020-07-03 23:15:03 +00:00
admin.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
ajax-actions.php Accessibility: Allow post boxes on the Dashboard and Classic Editor pages to be reordered by using the keyboard. 2020-07-07 13:00:02 +00:00
bookmark.php Posts, Post Types: Display a more specific error message when an attachment could not be inserted into the database. 2020-06-07 09:24:11 +00:00
class-automatic-upgrader-skin.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-bulk-plugin-upgrader-skin.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-bulk-theme-upgrader-skin.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-bulk-upgrader-skin.php Code Modernisation: Introduce the spread operator in wp-admin/includes/class-*-upgrader-skin.php. 2019-09-15 10:42:54 +00:00
class-core-upgrader.php Upgrade/Install: Invalidate OPcache for PHP files during updates. 2020-06-25 07:15:12 +00:00
class-custom-background.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
class-custom-image-header.php Docs: Remove extra spaces from @param tags. 2020-06-20 12:58:10 +00:00
class-file-upload-upgrader.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-ftp-pure.php Docs: Update URLs in some @link tags and switch them to HTTPS. 2019-11-01 14:57:02 +00:00
class-ftp-sockets.php Docs: Update URLs in some @link tags and switch them to HTTPS. 2019-11-01 14:57:02 +00:00
class-ftp.php General: Continuing to work towards a passing PHP Compatibility scan. 2020-06-03 17:40:12 +00:00
class-language-pack-upgrader-skin.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
class-language-pack-upgrader.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
class-pclzip.php Docs: Fix typos in wp-admin/includes/class-pclzip.php. 2020-01-29 00:56:04 +00:00
class-plugin-installer-skin.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
class-plugin-upgrader-skin.php Upgrade/Install: Escape the % in width="100%" in a printf() call in Plugin_Upgrader_Skin::after(). 2019-09-06 06:26:56 +00:00
class-plugin-upgrader.php Coding Standards: Fix WPCS issues in plugin and theme upgrader classes. 2020-05-17 09:39:11 +00:00
class-theme-installer-skin.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-theme-upgrader-skin.php Coding Standards: Fix WPCS issues in plugin and theme upgrader classes. 2020-05-17 09:39:11 +00:00
class-theme-upgrader.php Coding Standards: Fix WPCS issues in plugin and theme upgrader classes. 2020-05-17 09:39:11 +00:00
class-walker-category-checklist.php Coding Standards: Use strict type check for in_array() and array_search(). 2020-04-09 15:43:10 +00:00
class-walker-nav-menu-checklist.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
class-walker-nav-menu-edit.php Menus: Check the correct variable in Walker_Nav_Menu_Edit::start_el() when menu item is a taxonomy term. 2020-06-17 19:47:14 +00:00
class-wp-ajax-upgrader-skin.php Docs: Add a @since note about new parameters with the spread operator added to function signatures. 2019-10-09 04:28:02 +00:00
class-wp-automatic-updater.php Docs: Correct instances of “auto update” with “auto-update” for consistency. 2020-07-06 19:15:03 +00:00
class-wp-comments-list-table.php Administration: Move more table strings to sentence casing. 2020-07-06 21:52:21 +00:00
class-wp-community-events.php Docs: Remove extra spaces from @param tags. 2020-06-20 12:58:10 +00:00
class-wp-debug-data.php Site Health: Correct the check of whether the theme directory is writable when the current theme is symlinked into the theme directory. 2020-06-22 20:15:14 +00:00
class-wp-filesystem-base.php Coding Standards: Add some space around control structures in WP_Filesystem_* classes for consistency and better readability. 2020-06-19 10:36:12 +00:00
class-wp-filesystem-direct.php Coding Standards: Add some space around control structures in WP_Filesystem_* classes for consistency and better readability. 2020-06-19 10:36:12 +00:00
class-wp-filesystem-ftpext.php Docs: Remove @staticvar tags from core. 2020-06-20 12:40:12 +00:00
class-wp-filesystem-ftpsockets.php Coding Standards: Add some space around control structures in WP_Filesystem_* classes for consistency and better readability. 2020-06-19 10:36:12 +00:00
class-wp-filesystem-ssh2.php Filesystem API: Expicitly set directory permissions in WP_Filesystem_SSH2::mkdir(). 2020-06-19 10:38:08 +00:00
class-wp-importer.php Coding Standards: Fix instances of Generic.WhiteSpace.ArbitraryParenthesesSpacing.FoundEmpty. 2020-05-26 09:37:10 +00:00
class-wp-internal-pointers.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-links-list-table.php Coding Standards: Fix WPCS indentation issue in wp-admin/includes/class-wp-links-list-table.php. 2020-04-17 18:31:07 +00:00
class-wp-list-table-compat.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-list-table.php Administration: Move more table strings to sentence casing. 2020-07-06 21:52:21 +00:00
class-wp-media-list-table.php Administration: Move more table strings to sentence casing. 2020-07-06 21:52:21 +00:00
class-wp-ms-sites-list-table.php Coding Standards: Use Yoda conditions where appropriate. 2020-02-09 16:55:09 +00:00
class-wp-ms-themes-list-table.php Docs: Remove @staticvar tags from core. 2020-06-20 12:40:12 +00:00
class-wp-ms-users-list-table.php Coding Standards: Use strict type check for in_array() and array_search(). 2020-04-09 15:43:10 +00:00
class-wp-plugin-install-list-table.php Docs: Miscellaneous DocBlock corrections for plugin and theme installation and updates. 2020-06-20 12:14:09 +00:00
class-wp-plugins-list-table.php Docs: Miscellaneous docblock improvements. 2020-06-26 18:40:04 +00:00
class-wp-post-comments-list-table.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
class-wp-posts-list-table.php Administration: Move more table strings to sentence casing. 2020-07-06 21:52:21 +00:00
class-wp-privacy-data-export-requests-list-table.php Privacy: Convert buttons to links visually in Privacy Export/Erasure "Next Steps" column. 2020-02-10 21:15:05 +00:00
class-wp-privacy-data-removal-requests-list-table.php Privacy: Convert buttons to links visually in Privacy Export/Erasure "Next Steps" column. 2020-02-10 21:15:05 +00:00
class-wp-privacy-policy-content.php Accessibility: Privacy: Accessibility improvements for the Privacy Policy Guide page. 2020-06-30 13:56:03 +00:00
class-wp-privacy-requests-table.php Privacy: Hide views that have a count of 0 on privacy request tables, for consistency with other list tables. 2020-07-03 16:28:04 +00:00
class-wp-screen.php Coding Standards: Fix WPCS issues in wp-admin/includes/class-wp-screen.php. 2020-05-15 18:13:09 +00:00
class-wp-site-health-auto-updates.php Docs: Correct instances of “auto update” with “auto-update” for consistency. 2020-07-06 19:15:03 +00:00
class-wp-site-health.php Text Changes: Remove use of "normal" in user-facing output. 2020-07-03 21:59:03 +00:00
class-wp-site-icon.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-terms-list-table.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
class-wp-theme-install-list-table.php Administration: Use HTTPS for XHTML Friends Network URL. 2020-07-04 09:33:01 +00:00
class-wp-themes-list-table.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
class-wp-upgrader-skin.php Docs: In various @return tags, list the expected type first, instead of false. 2020-01-11 18:32:05 +00:00
class-wp-upgrader-skins.php Docs: Add missing @deprecated tags in the file docblock of some deprecated files. 2019-10-08 17:19:04 +00:00
class-wp-upgrader.php Docs: Remove extra spaces from @param tags. 2020-06-20 12:58:10 +00:00
class-wp-users-list-table.php Coding Standards: Use strict type check for in_array() and array_search() where strings are involved. 2020-04-05 03:02:11 +00:00
comment.php Docs: Add a @since note to edit_comment() about the new return value. 2020-06-30 01:04:03 +00:00
continents-cities.php I18N: Update list of continents and cities for the timezone selection. 2018-07-18 11:21:25 +00:00
credits.php Code Modernization: Replace dirname( __FILE__ ) calls with __DIR__ magic constant. 2020-02-06 06:33:11 +00:00
dashboard.php Administration: Correct the URL for "Learn more about getting started" link in "Welcome to WordPress" panel. 2020-06-27 12:45:04 +00:00
deprecated.php General: Remove “whitelist” and “blacklist” in favor of more clear and inclusive language. 2020-06-22 17:26:13 +00:00
edit-tag-messages.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-admin. 2019-07-01 12:52:01 +00:00
export.php Docs: Standardize on "Returning a value from the filter" vs. "Passing a value to the filter". 2020-06-26 18:49:09 +00:00
file.php Docs: Standardize on "Returning a value from the filter" vs. "Passing a value to the filter". 2020-06-26 18:49:09 +00:00
image-edit.php Accessibility: Media: Fix the Image Editor mismatching keyboard focus order and visual reading order. 2020-07-01 14:29:01 +00:00
image.php Docs: Various docblock corrections and improvements. 2020-03-16 18:40:07 +00:00
import.php Import: Remove "Blogroll" import option (for links in OPML format) from the list of popular importer plugins. 2020-02-10 02:12:06 +00:00
list-table.php Docs: Capitalize "ID", when referring to a post ID, term ID, etc. in a more consistent way. 2020-06-20 12:02:12 +00:00
media.php Accessibility: Media: Add a "Copy URL" button to the attachment File URL fields. 2020-06-30 13:16:04 +00:00
menu.php Coding Standards: Use strict comparison for count() calls. 2020-05-23 11:38:08 +00:00
meta-boxes.php Administration: Move more table strings to sentence casing. 2020-07-06 21:52:21 +00:00
misc.php Coding Standards: Correct two coding standards issues introduced in [48277] and [48334]. 2020-07-06 19:23:02 +00:00
ms-admin-filters.php Docs: Improve comments in some wp-admin files per the documentation standards. 2020-01-29 00:35:08 +00:00
ms-deprecated.php I18N: Capitalize translator comments consistently, add trailing punctuation. 2019-09-03 00:41:05 +00:00
ms.php Administration: Bring the update nag in line with other admin notices. 2020-07-05 11:57:04 +00:00
nav-menu.php Docs: Remove unnecessary variables names from @return tags. 2020-06-19 22:55:12 +00:00
network.php I18N: Restore the "Error:" prefix for error messages. 2020-06-21 14:00:09 +00:00
noop.php Code Modernization: Remove conditional use of PHP realpath(). 2019-09-20 20:46:56 +00:00
options.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
plugin-install.php Accessibility: Plugins: Accessibility and CSS improvements for the Plugins pages. 2020-07-03 08:51:05 +00:00
plugin.php Plugins: Use include_once instead of include in uninstall_plugin(), in case the plugin file is already included. 2020-07-05 20:32:03 +00:00
post.php Editor: update JavaScript packages 2020-06-26 13:33:47 +00:00
privacy-tools.php Privacy: Simplify the logic for updating the meta values for personal data export requests from absolute to relative paths. 2020-07-06 00:34:04 +00:00
revision.php Docs: Remove an empty line between @param and @return tags, per the documentation standards. 2020-06-20 11:18:09 +00:00
schema.php General: Remove “whitelist” and “blacklist” in favor of more clear and inclusive language. 2020-06-22 17:26:13 +00:00
screen.php Docs: Remove @staticvar tags from core. 2020-06-20 12:40:12 +00:00
taxonomy.php Coding Standards: Use strict comparison where static strings are involved. 2020-05-16 18:42:12 +00:00
template.php Accessibility: Allow post boxes on the Dashboard and Classic Editor pages to be reordered by using the keyboard. 2020-07-07 13:00:02 +00:00
theme-install.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-admin. 2019-07-01 12:52:01 +00:00
theme.php Docs: Remove @staticvar tags from core. 2020-06-20 12:40:12 +00:00
translation-install.php Coding Standards: PHP short ternary operator syntax is not allowed. 2020-06-08 21:27:10 +00:00
update-core.php Docs: Correct instances of “auto update” with “auto-update” for consistency. 2020-07-06 19:15:03 +00:00
update.php Administration: Bring the update nag in line with other admin notices. 2020-07-05 11:57:04 +00:00
upgrade.php General: Reference the correct database version for 5.5.0 upgrades. 2020-06-22 17:33:08 +00:00
user.php Users: Pass the WP_User object to the wpmu_delete_user, delete_user, and deleted_user actions. 2020-07-05 10:57:01 +00:00
widgets.php Docs: Remove @staticvar tags from core. 2020-06-20 12:40:12 +00:00