From: Chris Rebert Date: Thu, 23 Jan 2014 22:01:59 +0000 (-0800) Subject: add WCAG color guideline to CONTRIBUTING.md X-Git-Tag: v3.1.0~17^2~1^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F12356%2Fhead;p=thirdparty%2Fbootstrap.git add WCAG color guideline to CONTRIBUTING.md --- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 94eb110ae5..7a7b42ce00 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -172,6 +172,7 @@ license your work under the terms of the [MIT License](LICENSE.md). - Attribute selectors should only be used where absolutely necessary (e.g., form controls) and should be avoided on custom components for performance and explicitness. - Series of classes for a component should include a base class (e.g., `.component`) and use the base class as a prefix for modifier and sub-components (e.g., `.component-lg`). - Avoid inheritance and over nesting—use single, explicit classes whenever possible. +- When feasible, default color palettes should comply with [WCAG color contrast guidelines](http://www.w3.org/TR/WCAG20/#visual-audio-contrast). ### JS