diff options
Diffstat (limited to 'less')
| -rw-r--r-- | less/scaffolding.less | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/less/scaffolding.less b/less/scaffolding.less index b6128dc5d..49cb16c25 100644 --- a/less/scaffolding.less +++ b/less/scaffolding.less @@ -93,3 +93,17 @@ hr { border-top: 1px solid @hr-border; } +// Only display content to screen readers +// See: http://a11yproject.com/posts/how-to-hide-content/ +// ------------------------- + +.sr-only { + border: 0; + clip: rect(0 0 0 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; +} |
