Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error identification and suggestion on foreground and background color inputs (WCAG SC 11.3.3.1 - 11.3.3.3) #330

Open
laurencechavet opened this issue Mar 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@laurencechavet
Copy link

Describe the bug
Visual users have neither error identifications in text nor suggestion of correction for both the foreground and background inputs.
Screen readers have no error identifications in text for the foreground input and no suggestion of correction for the background input.
The error message is in English even in the French page for both the foreground and background color inputs

Desktop (please complete the following information):

  • OS: Windows 10 64 bits
  • Version CCA 3.4.2

To Reproduce

  • In the foreground input, type an incorrect format (e.g. "sss")
  • In the developer tools, see that for text readers, there is an aria-live polite with the error message that is associated to the input through an aria-describedby. It is announced by NVDA when focusing out or focusing back in the input. So this is all good for non-visual users on 11.3.3.1. But visual users have only an alert icon mentioning the field has an error, and there is no text identifying the error. So the foreground input is missing
    -- A text error message for visual users
    -- An error suggestion for visual users and screen readers
    -- A text error in the appropriate language for screen readers
  • Do the same input "sss" in the background color input
  • In the developer tools, see that for text readers, there is an aria-live polite with the error message but it is NOT associated to the input so it is not read when focusing out or focusing back in the input. Only the supported format are announced as the help section is associated with aria-describedby, which is good for 11.3.3.3. But visual users have only an alert icon mentioning the field has an error, and there is no text identifying the error and no suggestions. So the background input is missing
    -- A text error message for visual users and screen readers
    -- An error suggestion for visual users
    -- A text error in the appropriate language for screen readers

Expected behavior
When the user input an wronf format in both the foreground and background inputs, the application must provide

  • A text error message for visual users and screen readers (so in text, and associated to the input)
  • An error suggestion for visual users and screen readers
  • A text error in the appropriate language for visual users and screen readers

Screenshots
bug_11 3 3 1_ForegroundMissingErrorIdentificationInText
bug_11 3 3 1_BackgroundMissingErrorIdentificationInText
bug_11 3 3 1_ForegroundENErrorIdentificationInFR
bug_11 3 3 1_BackgroundENErrorIdentificationInFR

Additional context
N/A

@ferllings ferllings added the bug Something isn't working label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants