summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorLuis González <lgonzalez@vauxoo.com>2018-03-22 07:18:35 -0400
committerkujiu <kujiu@users.noreply.github.com>2018-03-22 12:18:35 +0100
commitef540eb006abac0d318f2a708384d125f6203662 (patch)
tree0cf133f93d87cd6a2f2b6eb138f87e0b36ac8885 /addons/web/static/src/js/views/basic
parentac76a6b40cace06c63c049be0ae9e58721048473 (diff)
[FIX] web: Make accessible with keyboard the delete button on o2m fields (#23719)
* [FIX] web: Make accessible with keyboard the delete button on o2m fields Currently, the delete button in one2many fields (trash icon) is not reachable when using the keyboard, because it's neither a link, nor a button or any other interactable HTML element, but a `<span>`. This change causes that button to be an actual HTML button keeping the same appearance, so it may be reached when using the keyboard. * [FIX] web: Modify test to expect button instead of span as o2m trash icon Since buttons to delete records in o2m fields (the trash icon) were changed from `<span>` to `<button>` to be able to access them with the keyboard, the test need to be modified so it expect the new element type and doesn't break.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions