Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorJulien Déramond <julien.deramond@orange.com>2021-09-28 12:28:30 +0300
committerGitHub <noreply@github.com>2021-09-28 12:28:30 +0300
commitb1e27a456bb0fe381916ee1ed1a0ce38e5f094fe (patch)
tree4f1abb2d31a33996decf2eaa6682786b1179e18c /site
parentd610a3c484c746bec96575d70f8ef07d33a64736 (diff)
examples: Add `role="switch"` to switches (#35022)
Diffstat (limited to 'site')
-rw-r--r--site/content/docs/5.1/examples/cheatsheet-rtl/index.html4
-rw-r--r--site/content/docs/5.1/examples/cheatsheet/index.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/site/content/docs/5.1/examples/cheatsheet-rtl/index.html b/site/content/docs/5.1/examples/cheatsheet-rtl/index.html
index d38f17c2e2..04afcbaf4b 100644
--- a/site/content/docs/5.1/examples/cheatsheet-rtl/index.html
+++ b/site/content/docs/5.1/examples/cheatsheet-rtl/index.html
@@ -355,7 +355,7 @@ direction: rtl
<input type="file" class="form-control" id="customFile">
</div>
<div class="mb-3 form-check form-switch">
- <input class="form-check-input" type="checkbox" id="flexSwitchCheckChecked" checked>
+ <input class="form-check-input" type="checkbox" role="switch" id="flexSwitchCheckChecked" checked>
<label class="form-check-label" for="flexSwitchCheckChecked">زر على شكل مفتاح اختيار.</label>
</div>
<div class="mb-3">
@@ -411,7 +411,7 @@ direction: rtl
<input type="file" class="form-control" id="disabledCustomFile" disabled>
</div>
<div class="mb-3 form-check form-switch">
- <input class="form-check-input" type="checkbox" id="disabledSwitchCheckChecked" checked disabled>
+ <input class="form-check-input" type="checkbox" role="switch" id="disabledSwitchCheckChecked" checked disabled>
<label class="form-check-label" for="disabledSwitchCheckChecked">زر معطل على شكل مفتاح اختيار.</label>
</div>
<div class="mb-3">
diff --git a/site/content/docs/5.1/examples/cheatsheet/index.html b/site/content/docs/5.1/examples/cheatsheet/index.html
index 29e8bf6395..d68e262338 100644
--- a/site/content/docs/5.1/examples/cheatsheet/index.html
+++ b/site/content/docs/5.1/examples/cheatsheet/index.html
@@ -354,7 +354,7 @@ body_class: "bg-light"
<input type="file" class="form-control" id="customFile">
</div>
<div class="mb-3 form-check form-switch">
- <input class="form-check-input" type="checkbox" id="flexSwitchCheckChecked" checked>
+ <input class="form-check-input" type="checkbox" role="switch" id="flexSwitchCheckChecked" checked>
<label class="form-check-label" for="flexSwitchCheckChecked">Checked switch checkbox input</label>
</div>
<div class="mb-3">
@@ -410,7 +410,7 @@ body_class: "bg-light"
<input type="file" class="form-control" id="disabledCustomFile" disabled>
</div>
<div class="mb-3 form-check form-switch">
- <input class="form-check-input" type="checkbox" id="disabledSwitchCheckChecked" checked disabled>
+ <input class="form-check-input" type="checkbox" role="switch" id="disabledSwitchCheckChecked" checked disabled>
<label class="form-check-label" for="disabledSwitchCheckChecked">Disabled checked switch checkbox input</label>
</div>
<div class="mb-3">