CoreFiles by mySites.guru
_accessibility.scss38 lines, 918 bytes, from wordpress-5.5.21.zip
Raw History Compare with 5.5.20
md5
58e2e8ad012a2ba1a24f7da6bd670b85
sha1
6806695c79a1070c5739324b584a9c25d7e2cba9
sha256
e6c34c4def00c2060742fb32b234d15b0dd36f2bb51ac4b8c2781c7d3f6e6db1
/* Text meant only for screen readers. */
.screen-reader-text {
	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: $color__background-screen;
		border-radius: 3px;
		box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
		clip: auto !important;
		clip-path: none;
		color: $color__text-screen;
		display: block;
		font-size: 0.875rem;
		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;
}

The same content is in 177 releases, WordPress 5.4-beta1 to 5.9-RC3. See them all, or every version of this file.