Skip to content

HTML disabled and 1.4.3 Contrast (Minimum) (Level AA) #3173

@LaurenceRLewis

Description

@LaurenceRLewis

In WCAG 1.4.11 Non-text Contrast (Level AA) it explicitly states

"Inactive User Interface Components
User Interface Components that are not available for user interaction (e.g., a disabled control in HTML) are not required to meet contrast requirements in WCAG 2.1"
https://www.w3.org/WAI/WCAG21/Understanding/non-text-contrast.html#:~:text=User%20Interface%20Components%20that%20are,in%20the%20form%20are%20completed.

However, I can't find anywhere in 1.4.3 Contrast (Minimum) (Level AA) that it is exempt when the disabled attribute is used and the User Agent styles are applied. The Contrast ration of button with the disabled attribute is 1.8.1:1.

image
ALT="Disabled button "

I'd appreciate guidance on this for accessibility audting when a form element is disabled using HTML disabled.

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