-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additional ARIA on navs and dropdown (#358)
* [nav] ARIA role Adds role="navigation" when the b-nav is not inside a b-navbar * [nav-toggle] ARIA * [collapse] ARIA & emitting collapse state change Whenever the show state changes, the 'event collapse::toggle::state' (with args id and state) is emitted on $root. This event Used for setting aria states on controlling trigger element aria-expanded attribute is set based on current state. * [nav-toggle] ARIA states Listens for state changes from collapse ('collapse::toggle::state') to set toggle aria atributes * [nav-item-dropdown] ARIA atributes * [nav-item-dropdown] ARIA attributes * [dropdown] ARIA attributes Removed dependency on generate-id aria-labelledby attributes only present if ID is provided * [collapse] Minor ARIA update * [collapse] state handling * [dropdown] ID handling adjustment * [dropdown] minor update * [dropdown] minor code cleanup * [collapse] emit state on created * [collapse] remove emit on create * [dropdown] code cleanup
- Loading branch information
1 parent
31657d4
commit 7c82491
Showing
5 changed files
with
39 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters