Skip to content

Commit 2d95d74

Browse files
committed
Yet another tiny mistake
1 parent 105b82b commit 2d95d74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ wcag(hex("#0f0f0f"), hex("#f4f"), { level: "AA", size: "large" });
109109

110110
## `wcagContrastValue`
111111

112-
A simpler version of the [`wcag`](#wcag) function, this checks whether two colors used together are readable based on
113-
the WCAG parameters passed.
112+
A simpler version of the [`wcag`](#wcag) function, this returns the contrast value between two colors based on the WCAG
113+
2.2 algorithm.
114114

115115
```ts
116116
// import { hex, wcagContrastValue } from "a11y-color-contrast";

0 commit comments

Comments
 (0)