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/components/navbar.html b/docs/_includes/components/navbar.html index c8107c017a92..6cd731ac6ce8 100644 --- a/docs/_includes/components/navbar.html +++ b/docs/_includes/components/navbar.html @@ -208,7 +208,7 @@

Mobile device caveats

Always add labels

-

Screen readers will have trouble with your forms if you don't include a label for every input. For these inline navbar forms, you can hide the labels using the .sr-only class.

+

Screen readers will have trouble with your forms if you don't include a label for every input. For these inline forms, you can hide the labels using the .sr-only class. There are further alternative methods of providing a label for assistive technologies, such as the aria-label, aria-labelledby or title attribute. If none of these is present, screen readers may resort to using the placeholder attribute, if present, but note that use of placeholder as a replacement for other labelling methods is not advised.

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/css/type.html b/docs/_includes/css/type.html index 18cd9646412f..294a1df292ab 100644 --- a/docs/_includes/css/type.html +++ b/docs/_includes/css/type.html @@ -220,10 +220,9 @@

Transformation classes

Abbreviations

-

Stylized implementation of HTML's <abbr> element for abbreviations and acronyms to show the expanded version on hover. Abbreviations with a title attribute have a light dotted bottom border and a help cursor on hover, providing additional context on hover.

+

Stylized implementation of HTML's <abbr> element for abbreviations and acronyms to show the expanded version on hover. Abbreviations with a title attribute have a light dotted bottom border and a help cursor on hover, providing additional context on hover and to users of assistive technologies.

Basic abbreviation

-

For expanded text on long hover of an abbreviation, include the title attribute with the <abbr> element.

An abbreviation of the word attribute is attr.

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.