Skip to content

Switch control state on/off and use of color #4733

@sarasuri

Description

@sarasuri

Hello,
I have a question about the use of color and position to indicate the state of a switch control.

On a web page, a modal dialog is displayed to allow users to manage their cookie preferences. Each cookie option is represented by a switch (checkbox) control that users can toggle on or off. Currently, the switch indicates the “on” state visually by changing the background color and moving the handle (the circle) to the right.

Image

Would this design fail WCAG Success Criterion 1.4.1 Use of Color or any other relevant success criteria?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions