Skip to content

Commit

Permalink
Allow adding screen-reader only content
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Jul 29, 2021
1 parent 42b4cde commit 7ceab50
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/furo/assets/styles/base/_index.sass
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
@import "screen-readers"
@import "theme"
@import "typography"
10 changes: 10 additions & 0 deletions src/furo/assets/styles/base/_screen-readers.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.visually-hidden
position: absolute !important
width: 1px !important
height: 1px !important
padding: 0 !important
margin: -1px !important
overflow: hidden !important
clip: rect(0,0,0,0) !important
white-space: nowrap !important
border: 0 !important

0 comments on commit 7ceab50

Please sign in to comment.