MDL-65087 message: add button role to all the links that perfom actions
authorSara Arjona <sara@moodle.com>
Fri, 15 Mar 2019 12:36:58 +0000 (13:36 +0100)
committerSara Arjona <sara@moodle.com>
Fri, 29 Mar 2019 08:33:35 +0000 (09:33 +0100)
commitc0d2558c43d9d680d3e51c189765b77684514aa5
tree9f1dfe3c3f4c70791a049475aaa8748bd53918a9
parent0920f35ed902211cc0aab70f1ecc6978d532f28d
MDL-65087 message: add button role to all the links that perfom actions

For accessibility reasons, add the role="button" attribute to the links
with href="#" performing actions, like the icon to open the messaging
drawer.
18 files changed:
message/templates/message_drawer_contacts_list.mustache
message/templates/message_drawer_conversations_list.mustache
message/templates/message_drawer_messages_list.mustache
message/templates/message_drawer_non_contacts_list.mustache
message/templates/message_drawer_view_contact_body_content.mustache
message/templates/message_drawer_view_contacts_body_section_requests_list.mustache
message/templates/message_drawer_view_contacts_header.mustache
message/templates/message_drawer_view_conversation_header_content_type_private.mustache
message/templates/message_drawer_view_conversation_header_content_type_private_no_controls.mustache
message/templates/message_drawer_view_conversation_header_content_type_public.mustache
message/templates/message_drawer_view_conversation_header_placeholder.mustache
message/templates/message_drawer_view_group_info_body_content.mustache
message/templates/message_drawer_view_group_info_participants_list.mustache
message/templates/message_drawer_view_overview_header.mustache
message/templates/message_drawer_view_search_header.mustache
message/templates/message_drawer_view_settings_header.mustache
message/templates/message_popover.mustache
message/templates/notification_preferences_processor.mustache