Wednesday, September 15, 2021
2 changes · master
Resolved issues and error corrections
Button icon validation now works consistently across Odoo screens, including cases that were previously skipped. This helps ensure icon-only buttons include accessible labels, improving usability for people relying on assistive technologies.
Original PR description
The conditionals were not correct leading to `button[@icon]` only being validated if the button isn't `@special` and doesn't have an `@type`, which... doesn't really make any sense as that's only possible for straight HTML buttons (submit), and then `@icon` doesn't make sense because that's not an HTML attribute.
Several buttons in appraisal surveys, manufacturing work orders, planning, and quality control screens were corrected so they can be properly recognized and used by accessibility tools. This helps employees using assistive technologies navigate key workflows more reliably and supports better compliance with accessibility standards.
Original PR description
revealed by fixing the validation / diagnosis in odoo/odoo#76581