[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user