01. Understanding WCAG 2.2 Focus Appearance
Under WCAG 2.2 Criterion 2.4.11 (Level AA), web components must provide a focus indicator with sufficient visual area and contrast. The mathematical requirement dictates that the surface area of the focus indicator must be at least:
Additionally, the focus indicator must achieve at least a 3:1 contrast ratio between its focused and unfocused states, or against adjacent background colors.