From 8f69ebf8125ccc585031b11c550c86098e370add Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Fri, 15 Mar 2019 14:54:52 +0000 Subject: [PATCH] Accessibility: Improve the semantics of "tabs" that are not real ARIA tabs. Some "visual tabs" in the WordPress admin used links wrapped in a `h2` heading. While these tabs look like ARIA tabs, they're just navigation menus and should be marked-up as such to be correctly exposed to assistive technologies. - changes the wrapping `

` to a `'; } /** diff --git a/wp-admin/nav-menus.php b/wp-admin/nav-menus.php index 4051791949..5d336398ff 100644 --- a/wp-admin/nav-menus.php +++ b/wp-admin/nav-menus.php @@ -627,7 +627,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
-

+