mirror of
https://github.com/twbs/bootstrap.git
synced 2025-10-01 07:46:47 +02:00
Skip link workarounds for Chrome and IE
Add tabindex="-1" to main #content to work around bug in Chrome (and old WebKits) and IE Update advice in accessibility section Include patch in docs CSS to suppress outline when #content is focused (particularly as Chrome sets focus as result of mouse click for tabindex="-1" elements)
This commit is contained in:
@@ -93,6 +93,7 @@ body {
|
||||
* Fancy skip link
|
||||
*
|
||||
* Make it look a bit less "bare bones"
|
||||
* Also includes focus suppression for the Chrome tabindex="-1" workaround
|
||||
*/
|
||||
|
||||
#skippy {
|
||||
@@ -108,6 +109,10 @@ body {
|
||||
outline: 1px dotted;
|
||||
}
|
||||
|
||||
#content:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Main navigation
|
||||
|
Reference in New Issue
Block a user