From c609272ac199cc9806ad6c4cf8c7f8f4253fb347 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Sun, 7 Dec 2014 14:29:03 +0000 Subject: [PATCH] ``aria-label="close"`` instead of sr-only ``span`` shorter, neater, well supported --- docs/_includes/components/alerts.html | 4 ++-- docs/_includes/css/helpers.html | 4 ++-- docs/_includes/js/alerts.html | 7 +++---- docs/_includes/js/modal.html | 16 ++++++++-------- 4 files changed, 15 insertions(+), 16 deletions(-) diff --git a/docs/_includes/components/alerts.html b/docs/_includes/components/alerts.html index 717308354c..7487a968aa 100644 --- a/docs/_includes/components/alerts.html +++ b/docs/_includes/components/alerts.html @@ -40,13 +40,13 @@
{% highlight html %} {% endhighlight %} diff --git a/docs/_includes/css/helpers.html b/docs/_includes/css/helpers.html index c6701bfdcc..db60f0ad81 100644 --- a/docs/_includes/css/helpers.html +++ b/docs/_includes/css/helpers.html @@ -56,10 +56,10 @@

Close icon

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

-

+

{% highlight html %} - + {% endhighlight %} diff --git a/docs/_includes/js/alerts.html b/docs/_includes/js/alerts.html index f93abc8b24..399cd732f3 100644 --- a/docs/_includes/js/alerts.html +++ b/docs/_includes/js/alerts.html @@ -6,12 +6,12 @@

When using a .close button, it must be the first child of the .alert-dismissible and no text content may come before it in the markup.