aboutsummaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-02-04 01:49:29 -0800
committerMark Otto <[email protected]>2014-02-04 01:49:29 -0800
commit95494f806dab1fb23dcbf355b5c4ea797d29df59 (patch)
treeac450af9d08e7a26bf1d43b6e0df1f5361423701 /CONTRIBUTING.md
parent952afba70dd06433e19bae190511e3dac2030725 (diff)
parentf2344962396727fd9ec4b8d2023d60e711506f0a (diff)
downloadbootstrap-95494f806dab1fb23dcbf355b5c4ea797d29df59.tar.xz
bootstrap-95494f806dab1fb23dcbf355b5c4ea797d29df59.zip
Merge pull request #12521 from twbs/outline-none-note
add note to CONTRIBUTING.md about `outline: none`
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index a01c8c0e4..304a983d2 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -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