swguy:
Very interesting idea and truly frees you from even needing to worry about coloring.Great thoughts from Cindy.
Just want to say that, with the current emphasis on accessibility, the option to colorize should always be available. Doesn't need to be it's own div ID but, some distinctive method of colorization should be available to the user through CSS.
Also, accessibility has different standards for text and, say, a check mark.
.txt-status-off{color: #e31c3d;}
.txt-status-on{ color: #32cd32; }The first (#E31C3D) passes all but AAA standard for normal text. #EC697F is all that is needed for a graphical object. #AC152F meets all AAA requirements for graphics and text on a #FFFFFF background.
Unfortunately, #32CD32 fails all checks. #29A829 is the minimum for a graphic and #196719 would be needed on a #FFFFFF background to meet AAA standard.
Good tool at https://webaim.org/resources/contrastchecker/ for checking text or graphic compliance.
If you are working with text that's a link, https://webaim.org/resources/linkcontrastchecker/ is a great help.
Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com