Color area (#2483)
* Initial ColorArea implementation
* refactor aria back to stately
* more refactoring
* refactor step logic and defaults
* tests and subsequent fixes from tests
* Add uncontrolled to tests
* Add size story
* use snaptovalue and add page steps
* remove dead code
* rename variable to make more sense, fix description
* Add isDisabled based on Spectrum designs
* add min size
* add prop description
* Get back to no useMove changes
* Combine the useMove frequently appears with useKeyboard (#2508)
* Combine the useMove frequently appears with useKeyboard
* fix merge mistake
* Remove isPage from useMove, add modifier keys
* continue propagation for keys we don't handle
* have aria pass through the step size
Co-authored-by: Rob Snow <rsnow@adobe.com>
* ColorArea: remove aria-roledescription on iOS/Android (#2547)
* ColorArea: remove aria-roledescription on iOS/Android
To better reflect behavior of slider inputs with mobile screen readers on iOS and Android, each input should be labeled by its individual channel name and we should remove aria-roledescription so the input is identified simply as a slider control.
* ColorArea: change aria-valuetext for iOS/Android
On iOS/Android, the aria-valuetext for each slider within the ColorArea control should just be the value for that channel, and need not include the value for the second channel. The value for all three channels is included as the title attribute.
* ColorArea: include channel name in aria-valuetext for iOS/Android
* Add formatting for color name and value based on locale
* allow for differences in formatting strings
* fix lint
* @trivial remove extra whitespace/redundant afterEach
* fix: tests
* fix remaining issues before merges on main make it in
* incorporate michaels a11y and locale fixes
Co-authored-by: Michael Jordan <mijordan@adobe.com>
Co-authored-by: Daniel Lu <dl1644@gmail.com>
Co-authored-by: GitHub <octobot@github.com>