-
-
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.
[carousel] ARIA attributes and keyboard control (#380)
* Create README.md * Create meta.json * Create index.json * [docs] Added button-toolbar * ESLint * [scrollspy] Better options handling Better handling of modifiers A few code optimizations Removed excess usage comments * ESLint * [button-toolbar] focus timing * [carousel] ARIA attributes and keyboard navigation * [carousel] ESLint * [carousel] ESLint * [carousel] ESLint * [carousel] ESLint * [carousel] ESLint * [carousel] ESLint * [carousel] ESLint * [carousel] removed tabindex on root element * [carousel-slide] Added ARIA role * [carousel-slide] ESLint * [carousel] ARIA and keyboard control * [carousel] ESLint * [carousel] Keyboard handlers for next and prev When links have role="button", screen readers expect them to work like buttons, so they need to have handlers for enter and spake keys (along with the regular click handler) * [carousel] minor text fix
- Loading branch information
1 parent
b4e6aa3
commit 1ca0706
Showing
3 changed files
with
168 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