aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHerst <[email protected]>2017-09-23 22:39:34 +0200
committerPatrick H. Lauke <[email protected]>2017-09-23 22:39:34 +0200
commitd33b26d8c7629e290b4ceca734a860793fd4c2b7 (patch)
tree4aaa2f7b0efa1b473aa19a1dde11e5ee90ae5107 /docs
parentb4d84b9cdfe0fc1c3d73770f5b7cb428f79d5e68 (diff)
downloadbootstrap-d33b26d8c7629e290b4ceca734a860793fd4c2b7.tar.xz
bootstrap-d33b26d8c7629e290b4ceca734a860793fd4c2b7.zip
Fix missing tabindex and role in an example modal
Diffstat (limited to 'docs')
-rw-r--r--docs/4.0/components/modal.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/4.0/components/modal.md b/docs/4.0/components/modal.md
index 139e09ffa..55c1dbc31 100644
--- a/docs/4.0/components/modal.md
+++ b/docs/4.0/components/modal.md
@@ -32,7 +32,7 @@ Keep reading for demos and usage guidelines.
Below is a _static_ modal example (meaning its `position` and `display` have been overridden). Included are the modal header, modal body (required for `padding`), and modal footer (optional). We ask that you include modal headers with dismiss actions whenever possible, or provide another explicit dismiss action.
<div class="bd-example bd-example-modal">
- <div class="modal">
+ <div class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
@@ -54,7 +54,7 @@ Below is a _static_ modal example (meaning its `position` and `display` have bee
</div>
{% highlight html %}
-<div class="modal">
+<div class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">