HTML and CSS Reference
In-Depth Information
maps?f=q&source=s_q&hl=en&geocode=&q=ngor+terrou+bi,+dakar,+senegal&aq=&sll=37.0625,-95.677068&sspn=90.404249,95.976562&ie=UTF8&hq=ngor&hnear=Terrou-Bi,+Bd+Martin+Luther+King,+Gueule+Tapee,+Dakar+Region,+Guediawaye,+Dakar+221,+Senegal&t=m&fll=14.751996,-17.513559&fspn=0.014276,0.011716&st=109146043351405611748&rq=1&ev=p&split=1&ll=14.711109,-17.483921&spn=0.014276,0.011716&output=embed">
</iframe>
Do note that this makes the content disappear from screen readers and the browser
displays.
Note
Screen readers are devices used to aid in reading a web page for those who
are unable to view text on the screen. Victor Tsaran has a great introduction to
screen readers in a video available at www.yuiblog.com/blog/2007/05/14/video-
intro-to-screenreaders/ .
The rule that makes this happen is as follows:
.hidden {
display: none !important;
visibility: hidden;
}
This ensures all screen readers ( JAWS and Windows-Eyes being the most popular
ones) would hide all elements that have this class name applied to them.
If you want the content to be available to those who use screen readers, you should
use the next class that we will be learning about the visuallyhidden class.
Hiding elements visually
Sometimes, you don't want to render something to the screen, but have it available
for screen readers using a Skip Navigation link. This would ensure that those who
use screen readers can skip to the meat of the content immediately rather than listen
to a list of navigation links. So, let's add this class to our Skip Navigation link that
we have in the header, as shown in the following code:
Search WWH ::




Custom Search