Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec property decorations fail accessibility guidelines #310

Open
ejratl opened this issue Mar 16, 2023 · 1 comment
Open

Spec property decorations fail accessibility guidelines #310

ejratl opened this issue Mar 16, 2023 · 1 comment
Labels
Target: STIX 2.1.1 Type: Editorial Editorial stuff that we need to do but don't really need to discuss.

Comments

@ejratl
Copy link
Contributor

ejratl commented Mar 16, 2023

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.

@ejratl ejratl added the Type: Editorial Editorial stuff that we need to do but don't really need to discuss. label Mar 31, 2023
@srrelitz2
Copy link

Agree that change needs to be applied. Actual color change is still TBD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Target: STIX 2.1.1 Type: Editorial Editorial stuff that we need to do but don't really need to discuss.
Projects
None yet
Development

No branches or pull requests

2 participants