From 4277ba62d35438aab1f445769d6263cb6e2114d2 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 11 Feb 2014 13:15:40 -0800 Subject: [PATCH] add role="alert" to Alert examples, to improve accessibility Per https://github.com/paypal/bootstrap-accessibility-plugin/blob/d8fcbcd3fe86f0cb47fda0ffe269b2c7a2131f07/README.md#alert --- docs/components.html | 36 +++++++++++++++++----------------- docs/examples/rtl/index.html | 8 ++++---- docs/examples/theme/index.html | 8 ++++---- docs/javascript.html | 4 ++-- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/docs/components.html b/docs/components.html index 7b8b350881..b190cd42f0 100644 --- a/docs/components.html +++ b/docs/components.html @@ -2170,36 +2170,36 @@ body { padding-bottom: 70px; }
-
+ -
+ -
+ -
+
{% highlight html %} -
...
-
...
-
...
-
...
+ + + + {% endhighlight %}

Dismissable alerts

Build on any alert by adding an optional .alert-dismissable and close button.

-
+
{% highlight html %} -
+ @@ -2213,30 +2213,30 @@ body { padding-bottom: 70px; }

Use the .alert-link utility class to quickly provide matching colored links within any alert.

-
+ -
+ -
+ -
+
{% highlight html %} -
+ -
+ -
+ -
+ {% endhighlight %} diff --git a/docs/examples/rtl/index.html b/docs/examples/rtl/index.html index 5783ae68ff..8dcdb77284 100644 --- a/docs/examples/rtl/index.html +++ b/docs/examples/rtl/index.html @@ -214,16 +214,16 @@ -
+ -
+ -
+ -
+ diff --git a/docs/examples/theme/index.html b/docs/examples/theme/index.html index 6e5dadf0d2..2d49cc764d 100644 --- a/docs/examples/theme/index.html +++ b/docs/examples/theme/index.html @@ -216,16 +216,16 @@ -
+ -
+ -
+ -
+ diff --git a/docs/javascript.html b/docs/javascript.html index 798ac1110f..fcfc12a736 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1393,14 +1393,14 @@ $('#myPopover').on('hidden.bs.popover', function () {

Example alerts

Add dismiss functionality to all alert messages with this plugin.

-
+
-
+