Andrea Fercia
4085a1b266
Accessibility: Improve the File Editors interstitial warning.
...
The warning displayed upon first visit on the File Editors introduced in [41774]
needs to be the only perceivable content in the page for users of assistive
technologies. It looks like a modal but it's not exactly an ARIA dialog, not an
ARIA alert either, and needs some special treatment.
- constrains tabbing within the modal
- uses `wp.a11y.speak()` to make screen readers announce the modal message
- hides all the other page content from assistive technologies using `aria-hidden="true"`
This way, even if users miss the speak message, the warning is actually the only
perceivable content in the page.
Fixes #42110 .
Built from https://develop.svn.wordpress.org/trunk@41876
git-svn-id: http://core.svn.wordpress.org/trunk@41710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-16 17:59:52 +00:00
..
2017-10-03 16:03:32 +00:00
2017-10-11 19:38:50 +00:00
2017-07-31 19:50:45 +00:00
2017-10-16 06:46:48 +00:00
2017-10-04 02:12:46 +00:00
2017-10-05 00:37:47 +00:00
2017-10-02 22:03:33 +00:00
2017-09-22 17:35:48 +00:00
2017-10-15 22:23:47 +00:00
2017-10-09 15:22:46 +00:00
2017-09-13 06:08:47 +00:00
2017-10-02 22:14:46 +00:00
2017-08-16 21:11:43 +00:00
2017-10-09 19:14:52 +00:00
2017-10-05 01:57:48 +00:00
2017-09-22 09:33:47 +00:00
2017-10-02 19:10:49 +00:00
2017-10-02 22:14:46 +00:00
2017-10-02 22:14:46 +00:00
2017-10-02 22:14:46 +00:00
2017-10-02 22:14:46 +00:00
2017-07-27 00:41:44 +00:00
2017-10-02 22:14:46 +00:00
2017-07-27 00:41:44 +00:00
2017-07-27 00:41:44 +00:00
2017-10-02 22:03:33 +00:00
2017-07-27 00:41:44 +00:00
2017-10-11 04:26:48 +00:00
2017-10-12 04:01:46 +00:00
2017-10-15 22:23:47 +00:00
2017-09-24 16:00:46 +00:00
2017-10-05 02:22:49 +00:00
2017-07-27 00:41:44 +00:00
2017-10-15 22:23:47 +00:00
2017-07-27 00:41:44 +00:00
2017-10-11 19:14:46 +00:00
2017-09-30 01:15:48 +00:00
2017-07-27 00:41:44 +00:00
2017-07-27 00:41:44 +00:00
2017-07-27 00:41:44 +00:00
2017-09-21 10:00:48 +00:00
2017-07-27 00:41:44 +00:00
2017-10-02 22:03:33 +00:00
2017-07-01 16:58:42 +00:00
2017-07-27 00:41:44 +00:00
2017-10-03 15:18:46 +00:00
2017-07-27 00:41:44 +00:00
2017-08-22 11:12:44 +00:00
2017-08-22 11:12:44 +00:00
2017-08-22 11:12:44 +00:00
2017-07-27 00:41:44 +00:00
2017-08-22 11:52:48 +00:00
2017-07-27 00:41:44 +00:00
2017-07-27 00:41:44 +00:00
2017-10-02 22:14:46 +00:00
2017-07-27 00:41:44 +00:00
2017-10-02 22:03:33 +00:00
2017-10-14 22:42:54 +00:00
2017-07-27 00:41:44 +00:00
2017-07-27 00:41:44 +00:00
2017-07-27 00:41:44 +00:00
2017-10-02 22:14:46 +00:00
2017-10-02 22:14:46 +00:00
2017-07-27 00:41:44 +00:00
2017-09-27 21:44:44 +00:00
2017-07-27 00:41:44 +00:00
2017-07-27 00:41:44 +00:00
2017-07-27 00:41:44 +00:00
2017-10-09 14:26:49 +00:00
2017-10-03 19:40:46 +00:00
2017-10-02 22:14:46 +00:00
2017-07-27 00:41:44 +00:00
2017-10-05 02:28:47 +00:00
2017-07-27 00:41:44 +00:00
2017-07-27 00:41:44 +00:00
2017-10-10 05:34:49 +00:00
2017-07-27 00:41:44 +00:00
2017-07-27 00:41:44 +00:00
2017-09-27 21:10:45 +00:00
2017-10-02 22:14:46 +00:00
2017-07-27 00:41:44 +00:00
2017-10-02 22:14:46 +00:00
2017-09-22 22:08:46 +00:00
2017-10-02 22:03:33 +00:00
2017-07-27 00:41:44 +00:00
2017-10-02 22:03:33 +00:00
2017-10-02 22:03:33 +00:00
2017-08-20 20:13:47 +00:00
2017-10-12 14:59:47 +00:00
2017-07-28 01:15:52 +00:00
2017-06-30 04:54:41 +00:00
2017-07-27 00:41:44 +00:00
2017-08-22 11:52:48 +00:00
2017-10-04 22:17:46 +00:00
2017-09-25 06:28:45 +00:00
2017-10-07 00:40:52 +00:00
2017-09-29 20:13:50 +00:00
2017-10-02 22:03:33 +00:00
2017-10-03 09:57:47 +00:00
2017-10-14 22:46:48 +00:00
2017-10-04 13:19:48 +00:00
2017-09-22 22:00:47 +00:00
2017-06-25 22:16:40 +00:00
2017-10-04 15:23:46 +00:00
2017-09-24 23:01:44 +00:00
2017-10-10 05:27:49 +00:00
2017-08-31 11:17:45 +00:00
2017-10-04 02:50:46 +00:00
2017-10-09 14:26:49 +00:00
2017-10-02 01:44:47 +00:00
2017-10-02 03:09:44 +00:00
2017-10-03 17:44:48 +00:00
2017-10-04 22:17:46 +00:00
2017-10-03 19:26:49 +00:00
2017-10-16 17:06:48 +00:00
2017-07-05 21:31:44 +00:00
2017-10-10 17:08:48 +00:00
2017-09-28 00:23:47 +00:00
2017-10-03 13:09:47 +00:00
2017-10-04 20:25:49 +00:00
2017-08-20 20:03:54 +00:00
2017-09-24 11:28:46 +00:00
2017-08-18 18:19:44 +00:00
2017-10-12 15:20:47 +00:00
2017-07-27 08:19:43 +00:00
2017-10-04 18:46:38 +00:00
2017-10-06 23:29:51 +00:00
2017-10-16 17:59:52 +00:00
2017-08-20 20:38:42 +00:00
2017-07-28 01:15:52 +00:00
2017-10-10 16:45:48 +00:00
2017-06-29 16:05:41 +00:00
2017-10-11 05:42:49 +00:00
2017-10-04 22:17:46 +00:00
2017-10-03 17:44:48 +00:00
2017-06-15 12:05:42 +00:00
2017-10-16 17:59:52 +00:00
2017-10-09 16:35:47 +00:00
2017-10-11 08:35:47 +00:00