From fdc5010ba38f8935677bcc6c4d3c47e76aad9104 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 4 Jul 2019 09:22:17 +0000 Subject: [PATCH] Twenty Nineteen: Fix markup errors in `twentynineteen_add_ellipses_to_nav()`: * Add missing i18n for `aria-label` attribute. * Remove redundant screen reader text superseded by `aria-label`. * Remove unnecessary `id` and `class` attributes. Props afercia, chetan200891, ianbelanger. Fixes #47067. git-svn-id: https://develop.svn.wordpress.org/trunk@45596 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentynineteen/inc/template-functions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-content/themes/twentynineteen/inc/template-functions.php b/src/wp-content/themes/twentynineteen/inc/template-functions.php index 90df660012..a5c004615e 100644 --- a/src/wp-content/themes/twentynineteen/inc/template-functions.php +++ b/src/wp-content/themes/twentynineteen/inc/template-functions.php @@ -206,12 +206,12 @@ function twentynineteen_add_ellipses_to_nav( $nav_menu, $args ) {