Browse Source

Removed unused 'accessibility' classes (#3713)

Jason Crist 4 years ago
parent
commit
2649164cd3

+ 0 - 41
blank-canvas-blocks/assets/ponyfill.css

@@ -20,47 +20,6 @@ img {
 	box-sizing: border-box;
 }
 
-.screen-reader-text {
-	/* Text meant only for screen readers. */
-	border: 0;
-	clip: rect(1px, 1px, 1px, 1px);
-	clip-path: inset(50%);
-	height: 1px;
-	margin: -1px;
-	overflow: hidden;
-	padding: 0;
-	position: absolute !important;
-	width: 1px;
-	word-wrap: normal !important;
-	/* Many screen reader and browser combinations announce broken words as they would appear visually. */
-}
-
-.screen-reader-text:focus {
-	background-color: var(--wp--custom--color--background);
-	border-radius: 3px;
-	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
-	clip: auto !important;
-	clip-path: none;
-	color: var(--wp--custom--color--background);
-	display: block;
-	font-size: var(--preset--font-size--normal);
-	font-weight: bold;
-	height: auto;
-	left: 5px;
-	line-height: normal;
-	padding: 15px 23px 14px;
-	text-decoration: none;
-	top: 5px;
-	width: auto;
-	z-index: 100000;
-	/* Above WP toolbar. */
-}
-
-/* Do not show the outline on the skip link target. */
-#content[tabindex="-1"]:focus {
-	outline: 0;
-}
-
 /**
  * Breakpoints & Media Queries
  */

+ 0 - 40
blank-canvas-blocks/sass/base/_accessibility.scss

@@ -1,40 +0,0 @@
-.screen-reader-text {
-
-	/* Text meant only for screen readers. */
-
-	border: 0;
-	clip: rect(1px, 1px, 1px, 1px);
-	clip-path: inset(50%);
-	height: 1px;
-	margin: -1px;
-	overflow: hidden;
-	padding: 0;
-	position: absolute !important;
-	width: 1px;
-	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
-
-	&:focus {
-		background-color: var(--wp--custom--color--background);
-		border-radius: 3px;
-		box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
-		clip: auto !important;
-		clip-path: none;
-		color: var(--wp--custom--color--background);
-		display: block;
-		font-size: var(--preset--font-size--normal);
-		font-weight: bold;
-		height: auto;
-		left: 5px;
-		line-height: normal;
-		padding: 15px 23px 14px;
-		text-decoration: none;
-		top: 5px;
-		width: auto;
-		z-index: 100000; /* Above WP toolbar. */
-	}
-}
-
-/* Do not show the outline on the skip link target. */
-#content[tabindex="-1"]:focus {
-	outline: 0;
-}

+ 0 - 1
blank-canvas-blocks/sass/base/_style.scss

@@ -5,7 +5,6 @@
 
 @import "normalize";
 
-@import "accessibility";
 @import "breakpoints";
 @import "alignment";
 @import "text";