From f3fd67772e4466bd17ccffa114287f55ac09345d Mon Sep 17 00:00:00 2001 From: Florian Weber Date: Mon, 5 Aug 2013 23:37:08 +0200 Subject: fix scrollSpy instructions for JS call Don't really know if this is correct, but at least it only worked for me that way... --- javascript.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'javascript.html') diff --git a/javascript.html b/javascript.html index aa65eabe8..d1aa0c730 100644 --- a/javascript.html +++ b/javascript.html @@ -531,7 +531,7 @@ $('.dropdown-toggle').dropdown()

Via JavaScript

Call the scrollspy via JavaScript:

{% highlight js %} -$('#navbar-example').scrollspy(options) +$('body').scrollspy({ target: '#navbar-example' ) {% endhighlight %}
-- cgit v1.2.3 From e70d146b202819cefc198d76a32faca156b49b84 Mon Sep 17 00:00:00 2001 From: Florian Weber Date: Tue, 6 Aug 2013 11:44:55 +0200 Subject: Update javascript.html --- javascript.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'javascript.html') diff --git a/javascript.html b/javascript.html index d1aa0c730..af3f7fe58 100644 --- a/javascript.html +++ b/javascript.html @@ -531,7 +531,7 @@ $('.dropdown-toggle').dropdown()

Via JavaScript

Call the scrollspy via JavaScript:

{% highlight js %} -$('body').scrollspy({ target: '#navbar-example' ) +$('body').scrollspy({ target: '#navbar-example' }) {% endhighlight %}
-- cgit v1.2.3 From f266595092cd43aead1f6617933554110aeb46ac Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 6 Aug 2013 11:18:12 -0700 Subject: Fixes #9150: Hide popover titles in IE8 Properly hides popover titles in IE8 because apparently it doesn't accept the `:empty` selector. /cc @fat @cvrebert --- javascript.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'javascript.html') diff --git a/javascript.html b/javascript.html index aa65eabe8..bb0118e32 100644 --- a/javascript.html +++ b/javascript.html @@ -963,16 +963,16 @@ $('#myTooltip').on('hidden.bs.tooltip', function () {

Four directions

- - - -
-- cgit v1.2.3 From a8d95d4721e714a7e1d683e14e997faa5ccddaff Mon Sep 17 00:00:00 2001 From: adamjacobbecker Date: Tue, 6 Aug 2013 21:25:36 -0700 Subject: Improve accessibility (Section 508, WCAG) This PR significantly improves Bootstrap's accessibility for users of assistive technology, such as screen readers. Some of the these changes add additional markup to the source examples, but we believe that the sacrifice in readability is worth achieving more widespread usage of accessibility best-practices. What was done - Added lots of [WAI-ARIA attributes](http://www.w3.org/WAI/intro/aria) - Added `.sr-only` helper class, that is only readable by screen readers (and invisible for all other users). This lets us - make progress bars and paginations accessible to screen reading users. - Advised users to always use label elements. For inline forms, they can hide them with `.sr-only` - Added 'Skip navigation' link - Added "Accessibility" section to getting-started.html. What *wasn't* done - Contrast issues (twbs#3572) - Tooltips (twbs#8469) - Documentation re: usage of icons, since they now live in a separate repo Major props to all that contributed: @bensheldon, @jasonlally, @criscristina, and @louh. Feel free to chime in, guys, if I've left anything out. --- javascript.html | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'javascript.html') diff --git a/javascript.html b/javascript.html index 3dafc4ff1..2d48e26e0 100644 --- a/javascript.html +++ b/javascript.html @@ -196,7 +196,7 @@ $('#myModal').on('show.bs.modal', function (e) { Launch demo modal -