oasis-tcs / cti-stix2

OASIS CTI TC: Provides issue tracking and wiki pages for the STIX 2.x Work Products
https://github.com/oasis-tcs/cti-stix2
Other
22 stars 9 forks source link

Spec property decorations fail accessibility guidelines #310

Open ejratl opened 1 year ago

ejratl commented 1 year ago

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.