Skip to content

Commit

Permalink
Accessibility: Links do not have a discernible name for buttons #11
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamPS authored and AdamPS committed May 19, 2023
1 parent db917e1 commit b71aac5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
2 changes: 1 addition & 1 deletion css/rrssb.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 9 additions & 7 deletions css/rrssb.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion scss/rrssb.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
// Ridiculously Responsive Social Sharing Buttons Plus
//
// Compile command:
// node-sass --output-style compressed --source-map true scss/rrssb.scss css/rrssb.css

// Button text colour
$rrssb-txt: #fff !default;
Expand Down Expand Up @@ -99,7 +102,13 @@ $rrssb-border: (100% - $rrssb-icon-ratio)/2;
}

.rrssb-text {
display: none;
// Copied from Drupal .visually-hidden class.
position: absolute !important;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
width: 1px;
height: 1px;
word-wrap: normal;
}
}
}

0 comments on commit b71aac5

Please sign in to comment.