From c609272ac199cc9806ad6c4cf8c7f8f4253fb347 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Sun, 7 Dec 2014 14:29:03 +0000 Subject: [PATCH 1/4] ``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 717308354c22..7487a968aa05 100644 --- a/docs/_includes/components/alerts.html +++ b/docs/_includes/components/alerts.html @@ -40,13 +40,13 @@

Requires JavaScript alert plugin

{% highlight html %} {% endhighlight %} diff --git a/docs/_includes/css/helpers.html b/docs/_includes/css/helpers.html index c6701bfdcc65..db60f0ad81ea 100644 --- a/docs/_includes/css/helpers.html +++ b/docs/_includes/css/helpers.html @@ -56,10 +56,10 @@

Conveying meaning to assistive technologies

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 f93abc8b242e..399cd732f3f2 100644 --- a/docs/_includes/js/alerts.html +++ b/docs/_includes/js/alerts.html @@ -6,12 +6,12 @@

Example alerts

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.