Go to file
Andrea Fercia 026abd4bc6 Accessibility: improve the "URL" and "Alt text" fields in the media modals.
Many users found the attachment URL field confusing: it says "URL" so it may appear like a field meant to paste a URL into.
Also, the Alt text field is the most important one in terms of content, while the Title field needs to be de-emphasized.

- changes the URL field label to "Copy link"
- moves the alt text field to the top as first field 
- avoids to set initial focus on the alt text field 
- adds an explanatory text with a link pointing to the W3C "alt decision tree" tutorial 
- adds `aria-describedby` to target the explanatory text
- adjusts the CSS accordingly
- updates the QUnit index.html file

Props melchoyce, audrasjb, afercia.
Fixes #41612.


git-svn-id: https://develop.svn.wordpress.org/trunk@44900 602fd350-edb4-49c9-b593-d223f7449a82
2019-03-15 10:42:35 +00:00
src Accessibility: improve the "URL" and "Alt text" fields in the media modals. 2019-03-15 10:42:35 +00:00
tests Accessibility: improve the "URL" and "Alt text" fields in the media modals. 2019-03-15 10:42:35 +00:00
tools Block Editor: Update the WordPress Packages from Gutenberg 5.2. 2019-03-07 09:08:38 +00:00
.editorconfig
.gitignore
.jshintrc
.npmrc
.nvmrc
.travis.yml Build: Add PHP 7.4 to the Travis build. 2019-03-06 21:01:53 +00:00
Gruntfile.js Build: Remove source map from `jquery.form.min.js`. 2019-02-14 00:06:39 +00:00
appveyor.yml Build Tools: Don't send AppVeyor notifications on Slack on repeated successful builds. 2019-01-15 05:48:46 +00:00
composer.json Build Tools: Upgrade WPCS to 2.0.0. 2019-01-18 02:14:24 +00:00
composer.lock Build Tools: Upgrade WPCS to 2.0.0. 2019-01-18 02:14:24 +00:00
jsdoc.conf.json
package-lock.json Block Editor: Update the WordPress Packages from Gutenberg 5.2. 2019-03-07 09:08:38 +00:00
package.json Block Editor: Update the WordPress Packages from Gutenberg 5.2. 2019-03-07 09:08:38 +00:00
phpcs.xml.dist
phpunit.xml.dist Coding Standards: Replace spaced indentation sections of `phpunit.xml.dist`, `multisite.xml`, and `build.xml` with tabs. 2019-01-28 17:20:06 +00:00
webpack.config.js
wp-cli.yml
wp-config-sample.php
wp-tests-config-sample.php