From 28714c42bd398e44436e15d9b8f282399a889a4f Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Fri, 15 Mar 2019 14:53:18 +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/src/wp-admin/nav-menus.php b/src/wp-admin/nav-menus.php index 4051791949..5d336398ff 100644 --- a/src/wp-admin/nav-menus.php +++ b/src/wp-admin/nav-menus.php @@ -627,7 +627,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
-

+