-
-
Notifications
You must be signed in to change notification settings - Fork 766
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added custom accessibility support (#571)(by @nmuranovas)
* feat: add custom accessibility support (#1) * feat: add accessibility support to BottomSheet * feat: add accessibility support to BottomSheetBackdrop * feat: add custom accessibility to BottomSheetHandle * feat: add BottomSheetHandle export to index.ts * Feature/custom accessibility (#2) * fix: rename announceChangeForAccessibility to enableAccessibilityChangeAnnouncement * fix: add 'import type' where needed * fix: type import
- Loading branch information
1 parent
7f5e8d2
commit 7b1bcd8
Showing
12 changed files
with
141 additions
and
18 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
const DEFAULT_ACCESSIBLE = true; | ||
const DEFAULT_ACCESSIBILITY_ROLE = 'adjustable'; | ||
const DEFAULT_ACCESSIBILITY_LABEL = 'Bottom Sheet handle'; | ||
const DEFAULT_ACCESSIBILITY_HINT = | ||
'Drag up or down to extend or minimize the Bottom Sheet'; | ||
|
||
export { | ||
DEFAULT_ACCESSIBLE, | ||
DEFAULT_ACCESSIBILITY_ROLE, | ||
DEFAULT_ACCESSIBILITY_LABEL, | ||
DEFAULT_ACCESSIBILITY_HINT, | ||
}; |
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