WordPress/wp-admin
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
..
css Accessibility: Widgets: Make the "Available Widgets" section operable with a keyboard. 2018-03-07 22:27:31 +00:00
images Customize: Add a RTL version of "browser.png" for the site icon preview. 2016-07-05 11:32:29 +00:00
includes Accessibility: Widgets: Make the "Available Widgets" section operable with a keyboard. 2018-03-07 22:27:31 +00:00
js Accessibility: Widgets: Make the "Available Widgets" section operable with a keyboard. 2018-03-07 22:27:31 +00:00
maint Code is Poetry. 2017-11-30 23:11:00 +00:00
network Accessibility: Networks and Sites: mark the New Site required form fields as required. 2018-03-07 19:41:33 +00:00
user Code is Poetry. 2017-11-30 23:11:00 +00:00
about.php Code is Poetry. 2017-11-30 23:11:00 +00:00
admin-ajax.php Hooks: Standardize naming of dynamic hooks using values derived from superglobals to use interpolation vs concatenation. 2017-12-01 11:36:50 +00:00
admin-footer.php Code is Poetry. 2017-11-30 23:11:00 +00:00
admin-functions.php Code is Poetry. 2017-11-30 23:11:00 +00:00
admin-header.php Code is Poetry. 2017-11-30 23:11:00 +00:00
admin-post.php Code is Poetry. 2017-11-30 23:11:00 +00:00
admin.php Hooks: Standardize naming of dynamic hooks using values derived from superglobals to use interpolation vs concatenation. 2017-12-01 11:36:50 +00:00
async-upload.php Accessibility: Change the media upload "Dismiss error" link to a button. 2018-03-05 15:33:33 +00:00
comment.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
custom-background.php Code is Poetry. 2017-11-30 23:11:00 +00:00
custom-header.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
customize.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
edit-comments.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
edit-form-advanced.php Help/About: Correct outdated media icons reference in help text on Edit Post screen. 2018-02-03 13:58:30 +00:00
edit-form-comment.php Code is Poetry. 2017-11-30 23:11:00 +00:00
edit-link-form.php Code is Poetry. 2017-11-30 23:11:00 +00:00
edit-tag-form.php Code is Poetry. 2017-11-30 23:11:00 +00:00
edit-tags.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
edit.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
export.php Code is Poetry. 2017-11-30 23:11:00 +00:00
freedoms.php Code is Poetry. 2017-11-30 23:11:00 +00:00
import.php Code is Poetry. 2017-11-30 23:11:00 +00:00
index.php Help/About: Adjust capability checks formatting in help text on Dashboard screen for readability and consistency with similar checks in other files. 2018-03-05 03:32:30 +00:00
install-helper.php Code is Poetry. 2017-11-30 23:11:00 +00:00
install.php Code is Poetry. 2017-11-30 23:11:00 +00:00
link-add.php Code is Poetry. 2017-11-30 23:11:00 +00:00
link-manager.php Code is Poetry. 2017-11-30 23:11:00 +00:00
link-parse-opml.php Code is Poetry. 2017-11-30 23:11:00 +00:00
link.php Code is Poetry. 2017-11-30 23:11:00 +00:00
load-scripts.php Code is Poetry. 2017-11-30 23:11:00 +00:00
load-styles.php Code is Poetry. 2017-11-30 23:11:00 +00:00
media-new.php Code is Poetry. 2017-11-30 23:11:00 +00:00
media-upload.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
media.php Code is Poetry. 2017-11-30 23:11:00 +00:00
menu-header.php Code is Poetry. 2017-11-30 23:11:00 +00:00
menu.php Administration: Rename Appearance → Editor menu item to Theme Editor and Plugins → Editor to Plugin Editor for clarity. 2018-02-10 08:43:32 +00:00
moderation.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-admin.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-delete-site.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-edit.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-options.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-sites.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-themes.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-upgrade-network.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-users.php Code is Poetry. 2017-11-30 23:11:00 +00:00
my-sites.php Code is Poetry. 2017-11-30 23:11:00 +00:00
nav-menus.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
network.php Code is Poetry. 2017-11-30 23:11:00 +00:00
options-discussion.php Docs: Remove extra dot from some `@since` tags. 2017-12-15 05:16:47 +00:00
options-general.php Role/Capability: Make `install_languages` capability check less restrictive. 2018-01-24 22:42:30 +00:00
options-head.php Code is Poetry. 2017-11-30 23:11:00 +00:00
options-media.php Code is Poetry. 2017-11-30 23:11:00 +00:00
options-permalink.php Code is Poetry. 2017-11-30 23:11:00 +00:00
options-reading.php Code is Poetry. 2017-11-30 23:11:00 +00:00
options-writing.php Code is Poetry. 2017-11-30 23:11:00 +00:00
options.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
plugin-editor.php Administration: Remove unnecessary capitalization when referencing to plugin/theme editors. 2018-02-26 19:35:30 +00:00
plugin-install.php Code is Poetry. 2017-11-30 23:11:00 +00:00
plugins.php Code is Poetry. 2017-11-30 23:11:00 +00:00
post-new.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
post.php Code is Poetry. 2017-11-30 23:11:00 +00:00
press-this.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
privacy.php About: Synchronize 4.9 tagline across about pages for credits, freedoms, and privacy. 2017-11-12 19:59:53 +00:00
profile.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
setup-config.php Upgrade/Install: Avoid extra line breaks in a textarea in `wp-admin/setup-config.php`. 2018-02-08 10:59:00 +00:00
term.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
theme-editor.php Administration: Remove unnecessary capitalization when referencing to plugin/theme editors. 2018-02-26 19:35:30 +00:00
theme-install.php Themes: Improve line wrapping in feature filter on Theme Install screen and in the Customizer. 2018-01-15 19:27:53 +00:00
themes.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
tools.php Retire Press This and extract it to a plugin. First run. 2017-09-24 14:22:54 +00:00
update-core.php Accessibility: Change the "Show / Hide dismissed updates" link to a button. 2018-03-05 15:50:30 +00:00
update.php Plugins: Use `api.wordpress.org/plugins/info/1.2/` for querying plugins & plugin information. 2018-02-01 05:17:33 +00:00
upgrade-functions.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
upload.php Code is Poetry. 2017-11-30 23:11:00 +00:00
user-edit.php Users: After [41163], add a notice for Email field on Profile screen that the new address will not become active until confirmed. 2018-02-11 12:23:31 +00:00
user-new.php General: Introduce `WP_Error::has_errors()` method and use it where appropriate. 2018-02-27 02:31:31 +00:00
users.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
widgets.php Accessibility: Make the Widgets screen "Enable accessibility mode" link more discoverable. 2018-03-06 17:21:33 +00:00