Skip to content

WCAG 3.2.2 violation on date input without confirmation #1202

@melad-m

Description

@melad-m

To which feature the request relates to

What is the component/pattern/token/documentation your request is related to?

Date input without confirmation.

What

What are you proposing? Be as precise as possible.

In the documentation it is mentioned:

Date input without a confirmation
Note! Since this variant closes the date picker immediately after selection, it violates WCAG 3.2.2 On Input guideline

WCAG 3.2.2 states that a change in context include changes of:

user agent;
viewport;
focus;
content that changes the meaning of the Web page

With an additional note:

A change of content is not always a change of context. Changes in content, such as an expanding outline, dynamic menu, or a tab control do not necessarily change the context, unless they also change one of the above (e.g., focus).

A change in focus refer to focus being moved to a separate component, but in this case focus remains on the date input component after the popup closes. Thus not technically creating a violation of this criterion.

I have consulted with other accessibility experts who do not regard this as a violation. Interested to hear your thoughts on this.

Why

Why is this new feature needed? How is it better than the current version?

Related material

Optionally, you may attach screenshots, Sketch files etc. to make your request more understandable. Also, you may provide links to similar content in other design systems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequest related to a current component/pattern/token/documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions