If we can't parse a colour or size, it doesn't count as visible text. In screenfence that case lands in a third layer, unknown, with the reason attached, and only readable styles get judged on contrast.
Treat broken input as legible and hidden text slips past your checker.