apca-introduction

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

commit
986d511c62f15953350fa0ea4e96f8e5921e8e5a
parent
aad047023ae4b47bb3f091a8a8ffdb4974f93deb
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2022-11-17 08:11
mention font-based thresholds in README

Diffstat

M README.md 2 ++

1 files changed, 2 insertions, 0 deletions


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

@@ -63,6 +63,8 @@ function contrast(fg, bg) {
   63    63   usually work with the absolute value though.
   64    64 - WCAG 2.x defines three thresholds: 3:1, 4.5:1, and 7:1. These roughly
   65    65   correspond to 45, 60, and 75 in APCA.
   -1    66 - APCA does not use these fixed thresholds though. Instead, the actual
   -1    67   thresholds depend on other factors such as font size and weight.
   66    68 - Compared to WCAG 2.x, APCA reports drastically lower contrast for darker
   67    69   colors. It also reports slightly higher contrast for lighter colors.
   68    70 - With WCAG 2.x, 27% of all color combinations have a contrast of at least 3,