WordPress/wp-admin/includes
Andrea Fercia ffedf3d752 Accessibility: Widgets: Make the "Available Widgets" section operable with a keyboard.
For a number of years, the "Available Widgets" section has been off-limits for
keyboard users. Now it can be used also with the keyboard. This change introduces
also some improvements for assistive technologies.

- makes the widget toggles focusable and adds an `aria-expanded` attribute to indicate their state
- improves the toggles labelling to clarify context (add/edit)
- changes the controls to choose a sidebar from list items to buttons
- adds an `aria-label` attribute to the buttons to clarify their purpose
- adds an `aria-pressed` attribute to the buttons to indicate which one is selected
- improves color contrast of the selected button
- uses a `wp.a11y.speak()` message to announce to screen reader users when a widget has been added to a sidebar
- moves focus back to the toggle button when closing a widget

See #40677.

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


git-svn-id: http://core.svn.wordpress.org/trunk@42624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-03-07 22:27:31 +00:00
..
admin-filters.php Code is Poetry. 2017-11-30 23:11:00 +00:00
admin.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ajax-actions.php Docs: Use consistent description for `$wp_filesystem` global. 2018-03-04 21:58:30 +00:00
bookmark.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
class-automatic-upgrader-skin.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-bulk-plugin-upgrader-skin.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-bulk-theme-upgrader-skin.php Docs: Update the hook docs for `update_bulk_theme_complete_actions`. 2018-02-09 16:22:45 +00:00
class-bulk-upgrader-skin.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-core-upgrader.php Upgrade/Install: Fix the format of the `upgrader_process_complete` actions after [42343]. 2018-03-05 21:44:30 +00:00
class-file-upload-upgrader.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-ftp-pure.php FTP: ensure that there is only one class named `ftp`, which is what is expected in the loading of this arcane library. This ensures that an autoload generator, something along the lines of Composer, won't hiccup when it gets to these files. 2016-08-26 18:47:29 +00:00
class-ftp-sockets.php FTP: ensure that there is only one class named `ftp`, which is what is expected in the loading of this arcane library. This ensures that an autoload generator, something along the lines of Composer, won't hiccup when it gets to these files. 2016-08-26 18:47:29 +00:00
class-ftp.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:31:29 +00:00
class-language-pack-upgrader-skin.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-language-pack-upgrader.php Upgrade/Install: Fix the format of the `upgrader_process_complete` actions after [42343]. 2018-03-05 21:44:30 +00:00
class-pclzip.php Filesystem API: Ensure memory limit calculations by PclZip are using integers. 2016-07-19 11:55:30 +00:00
class-plugin-installer-skin.php Docs: Standardise and correct documentation relating to parameters which accept plugin names. 2018-03-05 21:50:31 +00:00
class-plugin-upgrader-skin.php Docs: Standardise and correct documentation relating to parameters which accept plugin names. 2018-03-05 21:50:31 +00:00
class-plugin-upgrader.php Docs: Standardise and correct documentation relating to parameters which accept plugin names. 2018-03-05 21:50:31 +00:00
class-theme-installer-skin.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-theme-upgrader-skin.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-theme-upgrader.php Docs: Use consistent description for `$wp_filesystem` global. 2018-03-04 21:58:30 +00:00
class-walker-category-checklist.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-walker-nav-menu-checklist.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-walker-nav-menu-edit.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-ajax-upgrader-skin.php General: Introduce `WP_Error::has_errors()` method and use it where appropriate. 2018-02-27 02:31:31 +00:00
class-wp-automatic-updater.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-comments-list-table.php Accessibility: Change the comments "Quick Edit" and "Reply" links to buttons. 2018-02-28 22:36:34 +00:00
class-wp-community-events.php Community Events Dashboard: Use wp_list_pluck rather than array_columns 2018-02-21 23:27:31 +00:00
class-wp-filesystem-base.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-direct.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-ftpext.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-ftpsockets.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-filesystem-ssh2.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-importer.php Import: Avoid counting an uncountable type when reading arguments passed to a script. 2018-03-02 17:17:31 +00:00
class-wp-internal-pointers.php Docs: Remove `@static` notations from method DocBlocks in `wp-admin/*` classes. 2018-02-25 20:06:30 +00:00
class-wp-links-list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-list-table-compat.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-media-list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-ms-sites-list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-ms-themes-list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-ms-users-list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-plugin-install-list-table.php Plugins: Use `api.wordpress.org/plugins/info/1.2/` for querying plugins & plugin information. 2018-02-01 05:17:33 +00:00
class-wp-plugins-list-table.php Docs: Standardise and correct documentation relating to parameters which accept plugin names. 2018-03-05 21:50:31 +00:00
class-wp-post-comments-list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-posts-list-table.php Accessibility: Change the posts "Quick Edit" link to a button. 2018-02-21 22:31:32 +00:00
class-wp-screen.php Accessibility: Make the Widgets screen "Enable accessibility mode" link more discoverable. 2018-03-06 17:21:33 +00:00
class-wp-site-icon.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-terms-list-table.php Accessibility: Change the terms "Quick Edit" link to a button. 2018-02-21 23:04:31 +00:00
class-wp-theme-install-list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-themes-list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
class-wp-upgrader-skin.php General: Introduce `WP_Error::has_errors()` method and use it where appropriate. 2018-02-27 02:31:31 +00:00
class-wp-upgrader-skins.php Load: Re-add `class-wp-upgrader-skins.php`. 2016-12-03 03:40:41 +00:00
class-wp-upgrader.php Docs: Standardise and correct documentation relating to parameters which accept plugin names. 2018-03-05 21:50:31 +00:00
class-wp-users-list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
comment.php Code is Poetry. 2017-11-30 23:11:00 +00:00
continents-cities.php Code is Poetry. 2017-11-30 23:11:00 +00:00
credits.php Code is Poetry. 2017-11-30 23:11:00 +00:00
dashboard.php Help/About: Update "WordPress News" widget references in help text and inline documentation. 2018-03-05 03:04:31 +00:00
deprecated.php Taxonomy: restore TagSearch unit tests and correct deprecated version string. 2018-02-25 16:28:30 +00:00
edit-tag-messages.php Code is Poetry. 2017-11-30 23:11:00 +00:00
export.php Code is Poetry. 2017-11-30 23:11:00 +00:00
file.php Docs: Standardise and correct documentation relating to parameters which accept plugin names. 2018-03-05 21:50:31 +00:00
image-edit.php Docs: Add missing `@since` entries for functions in `wp-admin/image-edit.php`. 2018-02-26 18:38:31 +00:00
image.php Media: Correctly allow changing PDF thumbnail crop value. 2018-03-07 01:19:31 +00:00
import.php Code is Poetry. 2017-11-30 23:11:00 +00:00
list-table.php Code is Poetry. 2017-11-30 23:11:00 +00:00
media.php Media: Remove unnecessary `aria-required` attribute from legacy (pre-3.5.0) media functions, added in [7888]. 2018-02-26 23:10:31 +00:00
menu.php Code is Poetry. 2017-11-30 23:11:00 +00:00
meta-boxes.php Posts, Post Types: Remove extra tabs around `page_attributes_meta_box_template` action in `page_attributes_meta_box()`. 2018-02-08 11:24:32 +00:00
misc.php Administration: Remove unnecessary capitalization when referencing to plugin/theme editors. 2018-02-26 19:35:30 +00:00
ms-admin-filters.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-deprecated.php Docs: Standardize and add missing deprecation notations in DocBlocks for the following functions: 2017-06-22 17:48:45 +00:00
ms.php Code is Poetry. 2017-11-30 23:11:00 +00:00
nav-menu.php Docs: First pass at switching some array parameter documentation to typed notation. 2018-02-09 17:26:31 +00:00
network.php Code is Poetry. 2017-11-30 23:11:00 +00:00
noop.php Code is Poetry. 2017-11-30 23:11:00 +00:00
options.php Code is Poetry. 2017-11-30 23:11:00 +00:00
plugin-install.php Plugins: Use correct variable name in `install_plugin_information()`. 2018-02-10 22:08:30 +00:00
plugin.php Docs: Standardise and correct documentation relating to parameters which accept plugin names. 2018-03-05 21:50:31 +00:00
post.php Code is Poetry. 2017-11-30 23:11:00 +00:00
revision.php Code is Poetry. 2017-11-30 23:11:00 +00:00
schema.php General: Introduce `WP_Error::has_errors()` method and use it where appropriate. 2018-02-27 02:31:31 +00:00
screen.php Code is Poetry. 2017-11-30 23:11:00 +00:00
taxonomy.php Code is Poetry. 2017-11-30 23:11:00 +00:00
template.php Posts, Post Types: Add a new `add_inline_data` action which allows extra fields to be added to the inline editing fields. 2018-02-09 15:55:32 +00:00
theme-install.php Code is Poetry. 2017-11-30 23:11:00 +00:00
theme.php Docs: Expand `delete_theme()` return value, fix typo in `delete_plugins()` return value. 2018-03-04 22:07:29 +00:00
translation-install.php Code is Poetry. 2017-11-30 23:11:00 +00:00
update-core.php Docs: Use consistent description for `$wp_filesystem` global. 2018-03-04 21:58:30 +00:00
update.php Code is Poetry. 2017-11-30 23:11:00 +00:00
upgrade.php Code is Poetry. 2017-11-30 23:11:00 +00:00
user.php General: Introduce `WP_Error::has_errors()` method and use it where appropriate. 2018-02-27 02:31:31 +00:00
widgets.php Accessibility: Widgets: Make the "Available Widgets" section operable with a keyboard. 2018-03-07 22:27:31 +00:00