From e758a9b9327debdd68693b69fabae08ab14920cb Mon Sep 17 00:00:00 2001 From: Sara Arjona Date: Fri, 15 Mar 2019 14:12:05 +0100 Subject: [PATCH] MDL-65087 message: add button role to action links on bootstrapbase For accessibility reasons, add the role="button" attribute to the links with href="#" performing actions for the bootstrapbase theme, like the settings icon. --- .../templates/core_message/message_drawer.mustache | 2 +- ...view_conversation_header_content_type_private.mustache | 8 ++++---- ...ation_header_content_type_private_no_controls.mustache | 2 +- ..._view_conversation_header_content_type_public.mustache | 6 +++--- .../message_drawer_view_group_info_body_content.mustache | 2 +- .../message_drawer_view_overview_header.mustache | 3 ++- .../message_drawer_view_search_header.mustache | 1 + 7 files changed, 13 insertions(+), 11 deletions(-) diff --git a/theme/bootstrapbase/templates/core_message/message_drawer.mustache b/theme/bootstrapbase/templates/core_message/message_drawer.mustache index bfcc6546178..7f3bc19a092 100644 --- a/theme/bootstrapbase/templates/core_message/message_drawer.mustache +++ b/theme/bootstrapbase/templates/core_message/message_drawer.mustache @@ -46,7 +46,7 @@ role="region" >
- + {{#pix}} i/window_close, core, {{#str}} togglemessagemenu, message {{/str}} {{/pix}}
diff --git a/theme/bootstrapbase/templates/core_message/message_drawer_view_conversation_header_content_type_private.mustache b/theme/bootstrapbase/templates/core_message/message_drawer_view_conversation_header_content_type_private.mustache index 9ede2426dcf..5b66b84ff1b 100644 --- a/theme/bootstrapbase/templates/core_message/message_drawer_view_conversation_header_content_type_private.mustache +++ b/theme/bootstrapbase/templates/core_message/message_drawer_view_conversation_header_content_type_private.mustache @@ -42,12 +42,12 @@
- + {{#imageurl}}