ThePacielloGroup / CCAe

The Colour Contrast Analyser (CCA) helps you determine the legibility of text and the contrast of visual elements, such as graphical controls and visual indicators.
http://www.paciellogroup.com/resources/contrastanalyser/
GNU General Public License v3.0
478 stars 108 forks source link

Preference window - second button reset has no description (WCAG SC 11.1.3.1) #326

Open laurencechavet opened 8 months ago

laurencechavet commented 8 months ago

Describe the bug In the "Preference" window the second button Reset is not described with “Short results template” therefore the relationship is unclear. Unlike the first button Reset which has a aria-description.

Desktop (please complete the following information):

To Reproduce Open the CCA in English, go in the menu "Color Contrast Analyser", choose "Preferences". Listen with a text reader or use the Developer tools (Ctrl Shift I), the second button reset is only announced as Reset, but there is no indication of what it will reset. The second button Reset is not described with “Short results template” therefore the relationship is unclear. Unlike the first button Reset which has a aria-description.

Expected behavior The second button reset is announced as "Short results template reset"

Screenshots bug_11 1 3 1_SecondResetButton

Additional context N/A

laurencechavet commented 2 months ago

This is a better, as we now see for the second Reset button an accessible name Reset results template. I would still argue that it should be Reset short results template for easier accessibility for user with voice command. Thanks

image