aboutsummaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-02-01 23:19:16 -0800
committerChris Rebert <[email protected]>2014-02-01 23:19:28 -0800
commitf2344962396727fd9ec4b8d2023d60e711506f0a (patch)
tree73fb735f40fd54770e07718b701ef5582270d7ed /CONTRIBUTING.md
parent9c054fd4c0db89cbbb1df3c868bafc4f2c17c3e3 (diff)
downloadbootstrap-f2344962396727fd9ec4b8d2023d60e711506f0a.tar.xz
bootstrap-f2344962396727fd9ec4b8d2023d60e711506f0a.zip
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 7d7b0fb6a..9460c8db7 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