Production rules · Graphics
GFX-006
Hard rule priority 94 domain: graphics accessibility
Rationale
Critical distinctions must survive color-vision differences and grayscale.
IF — conditions (all must hold)
- graphic.color_only_encoding eq true
THEN — actions
- add_flag "COLOR_ONLY_ENCODING"
- append requirements "redundant_label_shape_pattern_or_position"
This is a hard rule: when it matches it participates in blocking — the pipeline may not proceed until the condition is repaired or a human accepts the risk.
Full record
{
"id": "GFX-006",
"domain": "graphics",
"priority": 94,
"hard": true,
"logic": "all",
"when": [
{
"path": "graphic.color_only_encoding",
"op": "eq",
"value": true
}
],
"then": [
{
"op": "add_flag",
"value": "COLOR_ONLY_ENCODING"
},
{
"op": "append",
"path": "requirements",
"value": "redundant_label_shape_pattern_or_position"
}
],
"rationale": "Critical distinctions must survive color-vision differences and grayscale.",
"tags": [
"accessibility"
]
}