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
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fixes #14348: Add visibility styles to collapse and tab content to ma…
…tch .hidden
  • Loading branch information
mdo committed Aug 23, 2014
commit dfa2759a52e73e720b0cda302a1edb9e2dbebc1f
4 changes: 4 additions & 0 deletions dist/css/bootstrap.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion less/component-animations.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@

.collapse {
display: none;
visibility: hidden;

&.in { display: block; }
&.in { display: block; visibility: visibile; }
tr&.in { display: table-row; }
tbody&.in { display: table-row-group; }
}
Expand Down
2 changes: 2 additions & 0 deletions less/navs.less
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,11 @@
.tab-content {
> .tab-pane {
display: none;
visibility: hidden;
}
> .active {
display: block;
visibility: visible;
}
}

Expand Down