-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add aria attributes to RangeInput (#1560)
* Add min and aria min label and tests * Add max values and tests * Use min value that corresponds to step in test * Apply aria value now based on current value * Fix value calculation and typing * Add .idea to .gitignore * Add option for aria- labels and tests labels: aria-valuemin, aria-valuemax, aria-valuenow tests for correct default value and passed in aria- labels * Fix default value formula * refer to aria props via snakecase - e.g. 'aria-valuenow' - strings rather than React camel case Co-authored-by: Hana Worku <hana@truss.works>
- Loading branch information
Showing
3 changed files
with
85 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,6 +89,7 @@ storybook-static/ | |
# editor config | ||
|
||
.vscode | ||
.idea | ||
|
||
# happo output directory | ||
|
||
|
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