Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More screenreader friendly hidden content #14444

Merged
merged 3 commits into from
Aug 28, 2014
Merged

Conversation

mdo
Copy link
Member

@mdo mdo commented Aug 23, 2014

Fixes #14348 by adding visibility: hidden and visibility: visible to the collapse and tab content to match .hidden.

/cc @Willem-Siebe

@mdo mdo added this to the v3.2.1 milestone Aug 23, 2014
@mdo mdo added the css label Aug 23, 2014
mdo added 2 commits August 27, 2014 22:38
Conflicts:
	dist/css/bootstrap.css.map
	dist/css/bootstrap.min.css
mdo added a commit that referenced this pull request Aug 28, 2014
More screenreader friendly hidden content
@mdo mdo merged commit a25b866 into master Aug 28, 2014
@mdo mdo deleted the sr_friendly_hidden_content branch August 28, 2014 05:53
@cvrebert cvrebert mentioned this pull request Aug 28, 2014
@mdo
Copy link
Member Author

mdo commented Aug 28, 2014

This broke our collapse and tabs plugins, so it has to be reverted.

@mdo mdo removed this from the v3.2.1 milestone Aug 28, 2014
mdo added a commit that referenced this pull request Aug 28, 2014
mdo added a commit that referenced this pull request Sep 23, 2014
Saranya-Raaj pushed a commit to Saranya-Raaj/bootstrap that referenced this pull request Oct 9, 2014
stempler pushed a commit to stempler/bootstrap that referenced this pull request Nov 4, 2014
stempler pushed a commit to stempler/bootstrap that referenced this pull request Nov 4, 2014
@j-r-t
Copy link

j-r-t commented Nov 21, 2014

"This broke our collapse and tabs plugins, so it has to be reverted."

Same here. If one wants to animate the nav bar (eg fade in) and visibility has been set on this, it causes the element to be shown before the animation has even started. Seems like a change that has not been thought about.

@mdo
Copy link
Member Author

mdo commented Nov 21, 2014

@jessertaylor A more complete picture was presented in #14673. It's a technique pulled from the H5BP, originally from http://juicystudio.com/article/screen-readers-display-none.php.

@Willem-Siebe
Copy link

#14348 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hiding tabs not screenreader friendly
3 participants