From 5dda9a709eb93af7de5b184cb823b0ebeaad2db1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Gonz=C3=A1lez?= Date: Sat, 21 Mar 2020 23:43:29 +0000 Subject: [PATCH] [FIX] web,mail: Harmful or incomplete aria-label attributes Some elements contain superfluous `aria-label` attributes, which overrides any default useful information. For instance, some dropdown menus contain the `aria-label` "Dropdown menu" (e.g. the company switcher), which doesn't add any useful information, as dropdown menus are already labelled correctly using `aria-expanded`. This change applies on the following buttons: - Schedule an activity - View attachments - View followers - Switch company - Open user options from systray - The widget `state_selection` closes odoo/odoo#48317 X-original-commit: e3c7f66e89d7be39dfa4cc3d6b038c6f4a114aa5 Signed-off-by: Nicolas Lempereur (nle) --- addons/mail/static/src/xml/chatter.xml | 5 +++-- addons/mail/static/src/xml/followers.xml | 2 +- addons/web/static/src/js/fields/basic_fields.js | 2 +- addons/web/static/src/xml/base.xml | 6 +++--- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/addons/mail/static/src/xml/chatter.xml b/addons/mail/static/src/xml/chatter.xml index 40e26a811b0..1f36287cdf8 100644 --- a/addons/mail/static/src/xml/chatter.xml +++ b/addons/mail/static/src/xml/chatter.xml @@ -119,7 +119,7 @@ Log note @@ -129,7 +129,8 @@ @param {integer} [count] --> -