A practical guide to WCAG 2.2 color contrast and accessible forms: the 4.5:1, 3:1 and non-text contrast rules, how the contrast ratio is calculated, a Python checker for design tokens that suggests passing colors, accessible labels, hints and error messages, autocomplete and the new WCAG 2.2 criteria for focus, target size, redundant entry and authentication, plus automated axe-core tests with Playwright.