Skip to content

Commit

Permalink
Merge pull request twbs#12521 from twbs/outline-none-note
Browse files Browse the repository at this point in the history
add note to CONTRIBUTING.md about `outline: none`
  • Loading branch information
mdo committed Feb 4, 2014
2 parents 952afba + f234496 commit 95494f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ license your work under the terms of the [MIT License](LICENSE.md).
- 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).
- Except in rare cases, don't remove default `:focus` styles (via e.g. `outline: none;`) without providing alternative styles. See [this A11Y Project post](http://a11yproject.com/posts/never-remove-css-outlines/) for more details.

### JS

Expand Down

0 comments on commit 95494f8

Please sign in to comment.