From 84662768ec9f42edbbb2ea9b03db2a8a38d77c6b Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Fri, 19 Jan 2024 13:10:34 +0800 Subject: [PATCH] MDL-80676 core: Remove unnecessary aria-labelledby for action menu links The aria-labelledby attribute for the action menu link's tag is unnecessary as the tag containing the action menu link's text is already within the tag and already serves as the link's label by default. --- lib/templates/action_menu_link.mustache | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/templates/action_menu_link.mustache b/lib/templates/action_menu_link.mustache index 55143816d2a..12ac0367650 100644 --- a/lib/templates/action_menu_link.mustache +++ b/lib/templates/action_menu_link.mustache @@ -27,12 +27,12 @@ } }} {{^disabled}} - + {{#icon}} {{#pix}}{{key}}, {{component}}, {{title}}{{/pix}} {{/icon}} {{#showtext}} - {{{text}}} + {{{text}}} {{/showtext}} {{/disabled}}