Function audit_materials
pub fn audit_materials(
colors: &Colors,
finishes: &RoleFinishes,
) -> Vec<ContrastFinding>Expand description
Every floor ink misses on a translucent surface under finishes, over
the worst backdrop that surface can show (super::finish::worst_grounds):
primary and secondary ink are body text there and tertiary ink large
text, as on the opaque surfaces (AAA text on a high-contrast palette).
Opaque roles add nothing: audit measures their grounds.