Andrea Fercia
e9db7c48d2
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 .
Built from https://develop.svn.wordpress.org/trunk@44900
git-svn-id: http://core.svn.wordpress.org/trunk@44731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-15 10:43:51 +00:00
..
2018-01-23 01:29:32 +00:00
2019-03-07 09:09:59 +00:00
2018-04-03 19:46:30 +00:00
2019-02-14 00:07:49 +00:00
2018-12-11 16:13:26 +00:00
2017-12-15 13:42:46 +00:00
2017-09-21 16:35:48 +00:00
2017-09-09 14:14:43 +00:00
2019-03-12 20:14:52 +00:00
2018-08-06 19:33:28 +00:00
2018-08-06 19:33:28 +00:00
2018-06-28 02:30:15 +00:00
2018-04-09 13:10:31 +00:00
2018-06-28 02:30:15 +00:00
2016-11-03 05:40:34 +00:00
2018-05-23 10:05:31 +00:00
2018-05-23 10:05:31 +00:00
2016-11-03 05:40:34 +00:00
2019-03-05 01:52:51 +00:00
2019-03-05 01:52:51 +00:00
2018-06-28 02:30:15 +00:00
2017-10-10 03:34:53 +00:00
2018-06-28 02:30:15 +00:00
2017-10-09 16:04:48 +00:00
2018-06-28 02:30:15 +00:00
2017-10-04 14:59:48 +00:00
2018-06-28 02:30:15 +00:00
2016-12-10 23:47:41 +00:00
2018-06-28 02:30:15 +00:00
2017-10-16 06:46:48 +00:00
2019-01-21 23:03:50 +00:00
2019-01-21 23:03:50 +00:00
2018-06-28 02:30:15 +00:00
2018-01-29 23:56:29 +00:00
2018-06-28 02:30:15 +00:00
2017-02-20 00:10:49 +00:00
2018-12-17 19:28:51 +00:00
2018-12-17 19:28:51 +00:00
2018-05-23 10:05:31 +00:00
2018-05-23 10:05:31 +00:00
2016-11-03 05:40:34 +00:00
2018-05-23 10:05:31 +00:00
2018-06-28 02:30:15 +00:00
2017-12-13 05:17:48 +00:00
2018-12-13 17:27:38 +00:00
2018-12-24 13:29:50 +00:00
2018-08-27 14:28:26 +00:00
2016-10-19 03:06:28 +00:00
2018-12-13 17:27:38 +00:00
2018-12-24 13:29:50 +00:00
2018-12-13 17:27:38 +00:00
2018-12-24 13:29:50 +00:00
2019-03-15 10:43:51 +00:00
2019-03-15 10:43:51 +00:00
2018-08-20 13:34:25 +00:00
2018-08-20 13:34:25 +00:00
2018-06-28 02:30:15 +00:00
2017-07-11 00:54:41 +00:00
2019-01-18 01:42:50 +00:00
2019-01-18 01:42:50 +00:00
2019-01-10 01:39:50 +00:00
2019-01-10 01:39:50 +00:00
2018-08-19 13:33:24 +00:00
2018-08-19 13:33:24 +00:00
2018-06-28 02:30:15 +00:00
2017-04-19 19:53:42 +00:00
2018-08-19 13:33:24 +00:00
2018-08-19 13:33:24 +00:00
2018-08-11 18:51:24 +00:00
2018-08-11 18:51:24 +00:00
2018-06-28 02:33:38 +00:00
2016-01-13 17:22:27 +00:00
2018-06-28 02:30:15 +00:00
2016-01-15 04:02:28 +00:00
2018-06-28 02:30:15 +00:00
2016-11-16 23:26:31 +00:00
2018-06-28 02:30:15 +00:00
2016-07-05 16:16:57 +00:00
2018-08-30 12:40:26 +00:00
2018-08-30 12:40:26 +00:00
2018-06-28 02:42:55 +00:00
2018-06-28 02:42:55 +00:00
2019-01-18 01:42:50 +00:00
2018-06-28 02:35:44 +00:00
2016-11-03 05:40:34 +00:00
2018-06-28 02:30:15 +00:00
2016-11-03 05:40:34 +00:00
2018-06-28 02:30:15 +00:00
2016-11-03 05:40:34 +00:00
2018-06-28 02:30:15 +00:00
2018-06-28 02:30:15 +00:00
2017-10-04 18:58:47 +00:00
2018-06-28 02:30:15 +00:00
2016-06-26 14:26:29 +00:00
2018-06-28 02:30:15 +00:00
2019-01-26 12:59:49 +00:00
2019-01-24 11:21:50 +00:00
2018-06-28 02:30:15 +00:00
2018-12-20 21:03:49 +00:00