Commit 829eefd6 authored by Mark Otto's avatar Mark Otto
Browse files

Merge pull request #12356 from twbs/wcag-contributing

add WCAG color guideline to CONTRIBUTING.md
parents bd6751e9 aa8b1543
No related merge requests found
Showing with 1 addition and 0 deletions
+1 -0
...@@ -173,6 +173,7 @@ license your work under the terms of the [MIT License](LICENSE.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. - 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`). - 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. - 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 ### JS
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment