summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorLuis González <lgonzalez@vauxoo.com>2018-07-08 16:36:36 +0000
committerMartin Trigaux <mat@odoo.com>2018-08-17 16:12:04 +0200
commitbb5a9a6ae61162785a43bc7aadea1829f6b1b9cf (patch)
treeb35df399be4655db1e12b26ed393cebd0b9fd3b6 /addons/web/static/tests/fields/basic_fields_tests.js
parentd2fd2f20831de39998b5e2822ea5af975d55107d (diff)
[IMP] mail: Add some missing aria attributes
Some aria HTML attributes were missing, and are desirable to provide a better experience for screen reader users. The following attributes are included: - `aria-pressed`: Used in buttons whose function is toggled when pressed. In this case, it is added on the button to follow/unfollow a record. - `role`: used to improve given information about what elements are for. In this case, it is added in the following cases: 1. Buttons to apply filters (e.g. to filter conversations) are set to role="tab". These buttons have the class `o_filter_button`. 2. Elements who are not buttons but have the class `dropdown-menu` are set to role="button". Closes #25667
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions