Skip to content

Contrast requirements pertaining to incidental non-interactive text #3418

Open
@scottaohara

Description

@scottaohara

Per the current wording of Contrast (Minimum) and its exception for Incidental text, this exception heavily implies that the text need to be part of a disabled inactive user interface component for the exception to apply.

user interface component is defined as

a part of the content that is perceived by users as a single control for a distinct function

this, and the notes that accompany it, don't appear to cover how one should consider non-interactive content / text that is not meant to considered presently applicable, i.e., should be considered incidental.

For instance, content that has purposefully been provided dimmed (low contrast) coloring, where the intent is to inform someone of the existence of the content, but it is not currently meant to be consumed in its current state.

Examples of this sort of text could be because certain information in a product's dashboard has been dimmed due to irrelevance to the user's current content settings. The inactive panels of a carousel - where the current panel is fully in view, but other panels in the carousel content set are dimmed/partially positioned off page. Or, a modal dialog's transparent backdrop partially obscures static text of the primary web page, reducing its contrast. As one last example, a block of 'preview' content, where towards the end of the preview text, the text's contrast gradually lowers prior to being cut off completely, where a control to expand the full text is then presented.

None of this static content really falls under the definition of "perceived by users as a single control for a distinct function" - but if not for that very tight definition, I'd question why this wouldn't be considered incidental text - especially if someone has gone to the trouble of also ensuring that the content which is meant to be incidental has also been marked up to convey this (e.g., using the inert attribute or aria-hidden=true).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions