From 8dd45053ce70227f9a18531f7a110cc05c41c15e Mon Sep 17 00:00:00 2001 From: Bas Bosman Date: Mon, 12 Aug 2013 17:55:25 +0200 Subject: [PATCH] Add missing aria-hidden attribs to close buttons --- components.html | 4 ++-- css.html | 4 ++-- javascript.html | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/components.html b/components.html index 4c52d59f3d..07c26593c6 100644 --- a/components.html +++ b/components.html @@ -1917,13 +1917,13 @@ body { padding-bottom: 70px; }

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

- + Warning! Best check yo self, you're not looking too good.
{% highlight html %}
- + Warning! Best check yo self, you're not looking too good.
{% endhighlight %} diff --git a/css.html b/css.html index fa738f09ea..ee15c30e9b 100644 --- a/css.html +++ b/css.html @@ -2032,10 +2032,10 @@ For example, <section> should be wrapped as inline.

Close icon

Use the generic close icon for dismissing content like modals and alerts.

-

+

{% highlight html %} - + {% endhighlight %}

.pull-left

diff --git a/javascript.html b/javascript.html index c3a6b0a323..cb33f5c42b 100644 --- a/javascript.html +++ b/javascript.html @@ -1144,14 +1144,14 @@ $('#myPopover').on('hidden.bs.popover', function () {

Add dismiss functionality to all alert messages with this plugin.

- + Holy guacamole! Best check yo self, you're not looking too good.
- +

Oh snap! You got an error!

Change this and that and try again. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum.

@@ -1167,7 +1167,7 @@ $('#myPopover').on('hidden.bs.popover', function () {

Markup

Just add data-dismiss="alert" to your close button to automatically give an alert close functionality.

- {% highlight html %}×{% endhighlight %} + {% highlight html %}{% endhighlight %}

Methods