]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Accessibility fixes to dynamic tabs (`aria-selected`, remove dynamic tabs with dropdowns)
authorPatrick H. Lauke <redux@splintered.co.uk>
Sun, 24 Sep 2017 10:00:54 +0000 (12:00 +0200)
committerGitHub <noreply@github.com>
Sun, 24 Sep 2017 10:00:54 +0000 (12:00 +0200)
commitfd56ea370c371345cd9a34e65a615853ad882577
tree00b1785f0186f04172aa3a33978f9693a291bf2d
parentd33b26d8c7629e290b4ceca734a860793fd4c2b7
Accessibility fixes to dynamic tabs (`aria-selected`, remove dynamic tabs with dropdowns)

* Use `aria-selected` instead of `aria-expanded`
* Change tab.js to use `aria-selected` rather than `aria-expanded`
* Add `aria-orientation=vertical` to vertical tab list
* Remove dynamic tabs with dropdowns
* Fix non-interactive code examples
* Only set `aria-selected` on the `role="tab"` trigger - this stops `aria-selected` being incorrectly added to the `role="tabpanel"` itself (probably harmless, but nonetheless incorrect)
docs/4.0/components/navs.md
js/src/tab.js
js/tests/unit/tab.js