opsinjs

WcagUse

Which WCAG 2.2 contrast threshold applies.

How this is generated

Source: lib/color/wcag.ts. Script: scripts/build-reference.mts. Command: pnpm run generate.

Everything below is copied from the symbol, so a page is improved by improving its doc comment. The API index says why there is a page per symbol and what these pages still do not carry.

WcagUse

Which WCAG 2.2 contrast threshold applies. Body text, large text and non- text content each have a different floor.

KindDeclared in
typelib/color/wcag.ts
export type WcagUse = "body" | "large" | "nonText"

On this page