[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) <luvi@odoo.com>
This commit is contained in:
Luis González
2023-10-25 05:02:01 +00:00
committed by luvi
parent 29c155d85e
commit 024ef699e5
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -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
@@ -9,7 +9,7 @@
autoOpen="false"
>
<t t-set-slot="toggler">
<i class="fa fa-bug"/>
<i class="fa fa-bug" role="img" aria-label="Open developer tools"/>
</t>
<t t-foreach="elements" t-as="element" t-key="element_index">
<DropdownItem