apca-introduction

The missing introduction to APCA  https://p.ce9e.org/apca-introduction/
git clone https://git.ce9e.org/apca-introduction.git

commit
f600d00d741e45ce808aa3816165a565482583fe
parent
0d419e7f45c11d09b0917bf791dad1ebe6f66828
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2025-03-21 08:18
README: stop refering to APCA thresholds

Diffstat

M README.md 8 +-------

1 files changed, 1 insertions, 7 deletions


diff --git a/README.md b/README.md

@@ -61,16 +61,10 @@ function contrast(fg, bg) {
   61    61   background.
   62    62 - The result of APCA is negative for light text on dark background. You will
   63    63   usually work with the absolute value though.
   64    -1 - WCAG 2.x defines three thresholds: 3:1, 4.5:1, and 7:1. These roughly
   65    -1   correspond to 45, 60, and 75 in APCA.
   66    -1 - APCA does not use these fixed thresholds though. Instead, the actual
   -1    64 - WCAG 2.x defines three thresholds: 3:1, 4.5:1, and 7:1. In APCA,
   67    65   thresholds depend on other factors such as font size and weight.
   68    66 - Compared to WCAG 2.x, APCA reports drastically lower contrast for darker
   69    67   colors. It also reports slightly higher contrast for lighter colors.
   70    -1 - With WCAG 2.x, 27% of all color combinations have a contrast of at least 3,
   71    -1   12% have at least 4.5, and 4% have at least 7. With APCA, only 21% of all
   72    -1   color combinations have a contrast of at least 45, 8% have at least 60, and
   73    -1   2% have at least 75.
   74    68 
   75    69 Also see my [detailed analysis](analysis.md).
   76    70