Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
987ae5b8
Commit
987ae5b8
authored
7 years ago
by
patrickhlauke
Browse files
Options
Download
Email Patches
Plain Diff
Use `<button>` elements rather than links for the accordion
parent
04bffc36
5 merge requests
!28721
Hot test
,
!27561
Adds font-weight-medium to font weight classes
,
!25162
Remove incorrect roles from accordion, tweak/expand accessibility info, use buttons for accordion
,
!23839
Improves accordion styles
,
!17021
v4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/4.0/components/collapse.md
+6
-6
docs/4.0/components/collapse.md
with
6 additions
and
6 deletions
+6
-6
docs/4.0/components/collapse.md
+
6
-
6
View file @
987ae5b8
...
...
@@ -70,9 +70,9 @@ Using the [card]({{ site.baseurl }}/docs/{{ site.docs_version }}/components/card
<div
class=
"card"
>
<div
class=
"card-header"
id=
"headingOne"
>
<h5
class=
"mb-0"
>
<
a
data-toggle=
"collapse"
href
=
"#collapseOne"
role=
"button"
aria-expanded=
"true"
aria-controls=
"collapseOne"
>
<
button
class=
"btn btn-link"
data-toggle=
"collapse"
data-target
=
"#collapseOne"
aria-expanded=
"true"
aria-controls=
"collapseOne"
>
Collapsible Group Item #1
</
a
>
</
button
>
</h5>
</div>
...
...
@@ -85,9 +85,9 @@ Using the [card]({{ site.baseurl }}/docs/{{ site.docs_version }}/components/card
<div
class=
"card"
>
<div
class=
"card-header"
id=
"headingTwo"
>
<h5
class=
"mb-0"
>
<
a
class=
"collapsed"
data-toggle=
"collapse"
href
=
"#collapseTwo"
role=
"button"
aria-expanded=
"false"
aria-controls=
"collapseTwo"
>
<
button
class=
"
btn btn-link
collapsed"
data-toggle=
"collapse"
data-target
=
"#collapseTwo"
aria-expanded=
"false"
aria-controls=
"collapseTwo"
>
Collapsible Group Item #2
</
a
>
</
button
>
</h5>
</div>
<div
id=
"collapseTwo"
class=
"collapse"
aria-labelledby=
"headingTwo"
data-parent=
"#accordion"
>
...
...
@@ -99,9 +99,9 @@ Using the [card]({{ site.baseurl }}/docs/{{ site.docs_version }}/components/card
<div
class=
"card"
>
<div
class=
"card-header"
id=
"headingThree"
>
<h5
class=
"mb-0"
>
<
a
class=
"collapsed"
data-toggle=
"collapse"
href
=
"#collapseThree"
role=
"button"
aria-expanded=
"false"
aria-controls=
"collapseThree"
>
<
button
class=
"
btn btn-link
collapsed"
data-toggle=
"collapse"
data-target
=
"#collapseThree"
aria-expanded=
"false"
aria-controls=
"collapseThree"
>
Collapsible Group Item #3
</
a
>
</
button
>
</h5>
</div>
<div
id=
"collapseThree"
class=
"collapse"
aria-labelledby=
"headingThree"
data-parent=
"#accordion"
>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets