Spec property decorations fail accessibility guidelines #310
Labels
Target: STIX 2.1.1
Type: Editorial
Editorial stuff that we need to do but don't really need to discuss.
WCAG Level AAA requires a 7:1 contrast for normal text (<14 pt font). The spec font is 10 points and the decorators have the following colors:
Property fg: #C7254E bg: #F9F2F4
Literal fg: #073763 bg: #CFE2F3
Examples fg: #000000 bg: #EFEFEF
The literal decorators pass with a score of 9.1:1. The examples decorators pass with a score of 18.26:1. However the property decorators fail with a contrast of 5:1 per the WebAccessibility Contrast Checker.
It would be nice to fix this accessibility issue in a future revision.
The text was updated successfully, but these errors were encountered: