Comments (2)
display: none
and visibility: hidden
will hide content from both browsers and screen readers, http://juicystudio.com/article/screen-readers-display-none.php.
If you still want to access your content from screen readers but hide it from browsers this is the way to go:
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
from foundation-sites.
Thanks kevva - that answers that for us. Of course at deploy the best practice would be to completely remove the hidden elements, but if not it sounds like we're still covered. Nifty.
from foundation-sites.
Related Issues (20)
- Focus indicators should be visible for keyboard and mouse users
- Foundation 6.7.x triples build times HOT 6
- Foundation ZURB?
- Reveal doesn't open on enter key in 6.8.1
- Drilldown population via Ajax after DOM has loaded HOT 1
- Orbit height wrong if picture + source + img lazy loading
- Proton Beta Released
- Wordpress theme HOT 3
- [Toggler] aria-expanded toggles opposite to the controlled element if hidden initially
- [Accordion] Javascript up and down methods not working
- Accessibility : missing attribute on reveal component
- Γιώργος
- Yes
- Foundation Tooltip conflict with Slick.js, Blank tooltips, Title attribute getting wiped out
- add float-right class cause alink unactive
- Deprecation warnings on SASS processing HOT 5
- preventDefault() is no longer supported during TouchMove
- Update zurb foundation template gulpfile (undefined variable) HOT 2
- FLYER.61 HOT 1
- Where is foundation-flex.css ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from foundation-sites.