Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 

















Template:Screen reader-only/styles.css







Add links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 

< Template:Screen reader-only

/* {{pp-template}}

This implementation is from
https://cloudfour.com/thinks/see-no-evil-hidden-content-and-accessibility/#showing-additional-content-for-screen-readers
which is a slight tweak from https://accessibility.18f.gov/hidden-content/ .
https://webaim.org/techniques/css/invisiblecontent/#techniques
has slightly different CSS clip, rect (1px) for all dimensions.

WARNING:

Template:Fraction and friends use this styles.css page and class directly rather
than going through the template.

*/
/* We retain .sr-only as the class name because it's used by the outside world. */
.sr-only {
 border: 0;
 clip: rect(0, 0, 0, 0); /* Removed from CSS specification */
 /* clip-path is the replacement for clip, but very few browsers support it. */
 clip-path: polygon(0px 0px, 0px 0px, 0px 0px);
 height: 1px;
 margin: -1px;
 overflow: hidden;
 padding: 0;
 position: absolute;
 width: 1px;
 white-space: nowrap;
}

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Screen_reader-only/styles.css&oldid=1152813436"

Hidden category: 
Wikipedia template-protected templates
 



This page was last edited on 2 May 2023, at 13:29 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki