From 024ef699e51ac3853c64de6d02fe50233a0b45da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Gonz=C3=A1lez?= Date: Fri, 13 Oct 2023 00:42:18 +0000 Subject: [PATCH] [FIX] web: add missing aria-label to button that opens developer tools When the debug manager was migrated to OWL on ce559992, both `title` and `aria-label` attributes were removed from the button that opens the developer tools. However, the `aria-label` is actually required, because such button doesn't contain any text, just the bug icon. This commit restores (only) the `aria-label`text. closes odoo/odoo#139630 X-original-commit: aefeb337f132d43f6ee3d5a9fc5bf4b6ef0af454 Signed-off-by: Luca Vitali (luvi) --- addons/web/i18n/web.pot | 7 +++++++ addons/web/static/src/core/debug/debug_menu.xml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/addons/web/i18n/web.pot b/addons/web/i18n/web.pot index 28a6c7614e1..ec96d651028 100644 --- a/addons/web/i18n/web.pot +++ b/addons/web/i18n/web.pot @@ -3766,6 +3766,13 @@ msgstr "" msgid "Open View" msgstr "" +#. module: web +#. odoo-javascript +#: code:addons/web/static/src/core/debug/debug_menu.xml:0 +#, python-format +msgid "Open developer tools" +msgstr "" + #. module: web #. odoo-javascript #: code:addons/web/static/src/views/fields/relational_utils.js:0 diff --git a/addons/web/static/src/core/debug/debug_menu.xml b/addons/web/static/src/core/debug/debug_menu.xml index 69f25afe9ea..9ae67ee3551 100644 --- a/addons/web/static/src/core/debug/debug_menu.xml +++ b/addons/web/static/src/core/debug/debug_menu.xml @@ -9,7 +9,7 @@ autoOpen="false" > - +