Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: static/scss/_utilities.scss

Issue 29587584: Issue 5635 - Implement website-default navbar component (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Created Oct. 24, 2017, 10:32 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: static/scss/_utilities.scss
===================================================================
--- a/static/scss/_utilities.scss
+++ b/static/scss/_utilities.scss
@@ -37,8 +37,29 @@
display: table;
content: " ";
}
.clearfix:after
{
clear: both;
}
+
+/**
juliandoucette 2017/10/26 15:55:56 NIT/Suggest: You can push this separately (sooner)
ire 2017/10/31 08:04:00 See https://codereview.adblockplus.org/29592630/
juliandoucette 2017/10/31 12:10:38 Acknowledged.
+ * Screen reader only
+ * Use this class to add screen reader / web crawler only content
+ *
+ * EG:
+ * - An h1 for SEO that is not visible
+ * - A skip-to link for screen readers
+ */
+
+.sr-only
+{
+ position: absolute;
+ overflow: hidden;
+ clip: rect(0, 0, 0, 0);
+ width: 1px;
+ height: 1px;
+ margin: -1px;
+ padding: 0;
+ border: 0;
+}

Powered by Google App Engine
This is Rietveld