]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Revamp tabs & follow ARIA 1.1 practices (#33079)
authorGeoSot <geo.sotis@gmail.com>
Wed, 6 Apr 2022 23:36:08 +0000 (02:36 +0300)
committerGitHub <noreply@github.com>
Wed, 6 Apr 2022 23:36:08 +0000 (16:36 -0700)
commit135b9cdff2bb301e36faa9110043d5823f620b56
tree02668e45d7aeb094de1ea02d4dba59843d39d0df
parent238afd94b3cad4481310666695a152885377cf1b
Revamp tabs & follow ARIA 1.1 practices  (#33079)

* Tab: Revamp tab.js & add support Aria features

* Tab: Add tab support, just to keep backwards compatibility. Better to remove it on v6

* Revert "Tab: Add tab support, just to keep backwards compatibility. Better to remove it on v6"

* Support arrow down/up functionality

* add prevent default to avoid scrolling the page during up/down keys handling

* remove panel tabindex handling

* Expand documentation text for JS plugin

* Rearrange new docs to specifically call out a11y

* properly place section

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Patrick H. Lauke <redux@splintered.co.uk>
Co-authored-by: Mark Otto <markdotto@gmail.com>
js/src/tab.js
js/tests/unit/tab.spec.js
site/content/docs/5.1/components/navs-tabs.md