Andrea Fercia
9dfb758afc
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@41876 602fd350-edb4-49c9-b593-d223f7449a82
2017-10-16 17:58:07 +00:00
..
2017-10-16 04:40:13 +00:00
2016-07-05 11:31:13 +00:00
2017-10-13 02:38:19 +00:00
2017-10-16 17:58:07 +00:00
2016-07-04 13:09:07 +00:00
2017-09-30 03:19:26 +00:00
2016-05-22 18:00:23 +00:00
2017-08-01 04:42:58 +00:00
2017-10-04 00:19:16 +00:00
2017-01-09 14:37:55 +00:00
2016-07-06 12:39:01 +00:00
2016-11-21 02:45:53 +00:00
2016-02-25 12:52:33 +00:00
2017-01-22 02:32:57 +00:00
2017-09-21 16:34:31 +00:00
2016-10-04 06:53:20 +00:00
2017-07-19 21:41:13 +00:00
2017-07-27 00:39:34 +00:00
2017-10-04 14:58:07 +00:00
2017-10-12 04:00:15 +00:00
2016-12-14 04:17:38 +00:00
2017-10-11 12:05:21 +00:00
2016-09-17 15:38:40 +00:00
2016-12-07 20:17:56 +00:00
2017-09-27 14:38:40 +00:00
2017-09-13 15:19:02 +00:00
2017-01-21 02:20:38 +00:00
2016-10-04 20:26:09 +00:00
2017-07-19 21:41:13 +00:00
2016-10-04 20:26:09 +00:00
2017-10-09 16:03:35 +00:00
2015-10-14 23:43:10 +00:00
2017-09-04 19:29:50 +00:00
2016-06-29 15:15:40 +00:00
2016-12-07 20:17:56 +00:00
2016-10-24 04:44:07 +00:00
2016-07-10 00:50:21 +00:00
2016-08-31 16:30:48 +00:00
2016-08-31 16:30:48 +00:00
2016-10-04 20:26:09 +00:00
2016-08-22 18:24:48 +00:00
2016-12-07 23:29:07 +00:00
2017-09-09 14:49:53 +00:00
2017-08-18 18:30:28 +00:00
2017-10-02 01:43:48 +00:00
2017-10-09 15:21:51 +00:00
2017-10-15 22:22:59 +00:00
2017-08-22 11:51:11 +00:00
2017-10-03 13:08:48 +00:00
2017-10-16 14:01:41 +00:00
2016-05-13 18:40:19 +00:00
2017-10-12 03:47:29 +00:00
2017-09-26 08:23:07 +00:00
2017-09-10 16:19:53 +00:00
2017-08-22 11:51:11 +00:00
2017-08-22 11:51:11 +00:00
2017-10-16 17:58:07 +00:00
2017-08-22 11:51:11 +00:00
2017-09-24 14:21:42 +00:00
2017-10-11 12:05:21 +00:00
2017-10-11 12:05:21 +00:00
2017-10-09 14:07:42 +00:00
2017-07-19 21:41:13 +00:00
2016-11-21 01:21:01 +00:00
2017-09-28 07:57:22 +00:00
2017-05-12 19:25:43 +00:00
2017-10-16 17:58:07 +00:00
2017-09-27 08:45:46 +00:00
2017-10-09 16:03:35 +00:00
2017-09-24 14:21:42 +00:00
2017-10-04 23:42:55 +00:00
2017-10-09 16:03:35 +00:00
2016-07-06 12:39:01 +00:00
2015-12-08 21:55:48 +00:00
2017-03-31 17:37:58 +00:00
2017-09-19 21:13:32 +00:00
2017-10-02 01:43:48 +00:00
2017-09-22 18:30:10 +00:00
2017-09-27 16:28:59 +00:00