Skip to content

Commit

Permalink
Merge pull request #12356 from twbs/wcag-contributing
Browse files Browse the repository at this point in the history
add WCAG color guideline to CONTRIBUTING.md
  • Loading branch information
mdo committed Jan 24, 2014
2 parents bd6751e + aa8b154 commit 829eefd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Expand Up @@ -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

Expand Down

0 comments on commit 829eefd

Please sign in to comment.