joedolson
9922dfd54c
Administration: Move tabindex="-1"
from notice to JS.
...
In a handful of admin notices, a `tabindex` attribute is set so that JS can move focus to the notice `div`. Rather than adding `tabindex` to globally accepted attributes for `wp_kses_post()`, move the assignment of `tabindex` into the JS handlers that display those notices. The attribute is only relevant if JS is running, so there is no reason to add it in the original HTML notice.
Follow up to [56408], [56409], [56410], [56518], [56570], [56571], [56572], [56573], [56576], [56589], [56590], [56597], [56599], [56600], [56601].
Props costdev, joedolson.
See #57791 .
Built from https://develop.svn.wordpress.org/trunk@56602
git-svn-id: http://core.svn.wordpress.org/trunk@56114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-09-17 22:51:24 +00:00
..
2023-02-02 16:36:32 +00:00
2021-03-18 19:01:03 +00:00
2023-02-02 16:36:32 +00:00
2023-09-17 22:51:24 +00:00
2023-09-17 22:51:24 +00:00
2021-02-23 19:45:04 +00:00
2022-04-08 20:07:18 +00:00
2020-07-27 23:35:02 +00:00
2023-02-02 16:36:32 +00:00
2021-03-18 19:01:03 +00:00
2022-04-08 20:07:18 +00:00
2021-03-18 19:01:03 +00:00
2022-04-08 20:07:18 +00:00
2023-09-07 20:37:15 +00:00
2023-09-07 20:37:15 +00:00
2021-03-18 19:01:03 +00:00
2021-03-18 19:01:03 +00:00
2021-02-23 19:45:04 +00:00
2022-03-29 19:10:14 +00:00
2023-02-02 16:36:32 +00:00
2021-03-18 19:01:03 +00:00
2023-02-02 16:36:32 +00:00
2022-04-26 06:54:09 +00:00
2023-02-02 16:36:32 +00:00
2021-03-18 19:01:03 +00:00
2022-04-08 20:07:18 +00:00
2022-09-27 17:06:09 +00:00
2023-02-02 16:36:32 +00:00
2021-09-08 23:29:58 +00:00
2023-02-02 16:36:32 +00:00
2021-09-08 23:29:58 +00:00
2023-02-02 16:36:32 +00:00
2023-07-17 22:03:26 +00:00
2021-03-18 19:01:03 +00:00
2022-09-23 19:55:30 +00:00
2023-09-17 22:51:24 +00:00
2023-09-17 22:51:24 +00:00
2023-06-25 15:20:22 +00:00
2023-06-25 15:20:22 +00:00
2021-03-18 19:01:03 +00:00
2021-03-18 19:01:03 +00:00
2021-11-03 19:40:00 +00:00
2021-02-23 19:45:04 +00:00
2021-02-23 19:45:04 +00:00
2021-03-18 19:01:03 +00:00
2021-03-18 19:01:03 +00:00
2021-02-23 19:45:04 +00:00
2022-04-08 20:07:18 +00:00
2021-01-22 12:32:03 +00:00
2023-02-02 16:36:32 +00:00
2022-03-10 18:43:02 +00:00
2022-04-08 20:07:18 +00:00
2022-11-17 18:15:19 +00:00
2023-02-02 16:36:32 +00:00
2021-01-22 12:32:03 +00:00
2021-01-22 12:32:03 +00:00
2023-06-23 23:09:29 +00:00
2023-06-23 23:09:29 +00:00
2021-03-18 19:01:03 +00:00
2023-02-02 16:36:32 +00:00
2023-03-18 16:35:18 +00:00
2023-03-18 16:35:18 +00:00
2023-01-10 09:30:13 +00:00
2022-09-23 19:55:30 +00:00
2021-03-18 19:01:03 +00:00
2021-03-18 19:01:03 +00:00
2020-01-29 00:37:04 +00:00
2022-04-08 20:07:18 +00:00
2020-07-07 18:55:04 +00:00
2020-07-07 18:55:04 +00:00
2022-09-14 21:14:14 +00:00
2023-02-02 16:36:32 +00:00
2021-03-18 19:01:03 +00:00
2022-04-08 20:07:18 +00:00
2021-03-18 19:01:03 +00:00
2023-02-02 16:36:32 +00:00
2022-04-07 04:06:05 +00:00
2023-02-02 16:36:32 +00:00
2022-04-12 19:37:14 +00:00
2022-04-12 19:37:14 +00:00
2021-03-18 19:01:03 +00:00
2022-09-23 19:55:30 +00:00
2022-08-19 13:11:14 +00:00
2023-02-02 16:36:32 +00:00
2023-06-24 04:22:25 +00:00
2023-06-24 04:22:25 +00:00
2023-06-22 00:32:21 +00:00
2023-06-22 00:32:21 +00:00
2021-03-18 19:01:03 +00:00
2021-03-18 19:01:03 +00:00
2021-03-18 19:01:03 +00:00
2023-02-02 16:36:32 +00:00
2020-07-27 23:35:02 +00:00
2023-02-02 16:36:32 +00:00
2021-03-18 19:01:03 +00:00
2021-03-18 19:01:03 +00:00