diff options
author | Mark Otto <markdotto@gmail.com> | 2014-01-24 08:55:39 +0400 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2014-01-24 08:55:39 +0400 |
commit | 829eefd6f76ed1ba4d231bff44b11b6f1684294f (patch) | |
tree | 903db8b2c7e4fb666c1ce89c72ebac81593c58db /CONTRIBUTING.md | |
parent | bd6751e932eebecb087880a3d999a13289ce7372 (diff) | |
parent | aa8b1543be2b082320f9342c4226c3cda417b33e (diff) |
Merge pull request #12356 from twbs/wcag-contributing
add WCAG color guideline to CONTRIBUTING.md
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r-- | CONTRIBUTING.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b3aae5138b..7d7b0fb6a6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -173,6 +173,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 |