bioschemas.github.io icon indicating copy to clipboard operation
bioschemas.github.io copied to clipboard

Fix contrast issues of property/type status

Open hexylena opened this issue 2 years ago • 0 comments

I'm working on updating my schemas and I am really struggling to see red from black, given the colours. Additionally if y'all care about WCAG this is a failure of SC 1.4.1, as only colour is used to convey this category information. Another method (icon, text, text decoration) needs to be used in addition to colour to pass SC1.4.1

Thus a PR to address this.

  • [x] Replaced CD explanation with a proper HTML abbr element explaining the CD abbreviation.
  • [X] Fixes contrast issue by including a text representation of the status (again with abbr) below each property key.

example showing new abbreviation below each property name

hexylena avatar May 10 '23 15:05 hexylena