Skip to main content

FITTED_RATIO

Constant FITTED_RATIO 

Source
pub const FITTED_RATIO: f32 = 4.6;
Expand description

The WCAG ratio a fitted ramp reaches on the surfaces and text of its Backdrop: AA’s 4.5:1, with a small margin for rounding.