Quiz
- Can you please explain the issue with hide() and .slideUp()?
Sure. Both
hide
andslideup
eventually do adisplay:none
to make the content, well, not displayed.Sometimes that hiding is just for sighted users, but we still want blind users to be able to access the "hidden" content. Indeed sometimes that hidden content is for the blind users, such as a "skip to main content" link.
If that's the case, we should not use
hide
or anything that doesdisplay:none
. Instead - There is nothing more I would like to talk about.
Great!