Leave Yamada UI a star

Star
Yamada UIYamada UIv1.6.4

SaturationSlider

SaturationSlider is a component used to allow the user to select a color saturation.

Source@yamada-ui/color-picker

The SaturationSlider follows the WAI-ARIA - Slider Pattern for accessibility.

Keyboard Navigation

KeyDescriptionState
ArrowRightIncreases the value by one.-
ArrowLeftDecreases the value by one.-
ArrowUpIncreases the value by one.-
ArrowDownDecreases the value by one.-

ARIA Roles and Attributes

ComponentRole and AttributesUsage
SaturationSliderThumbrole="slider"Indicates that this is a slider.
aria-labelSets "Saturation and brightness thumb".
aria-valueminSets the 0 value.
aria-valuemaxSets the 100 value.
aria-valuenowSets the current value.
aria-valuetextSets the current value, such as "Saturation 18%, Brightness 18%".
aria-readonlySet to "true" if isReadOnly is set.
aria-disabledSet to "true" if isDisabled is set.
aria-invalidSet to "true" if isInvalid is set.
aria-requiredSet to "true" if isRequired is set.
input Internaltype="hidden"Excludes the element from the accessibility tree.
aria-readonlySet to "true" if isReadOnly is set.
aria-disabledSet to "true" if isDisabled is set.
aria-invalidSet to "true" if isInvalid is set.
aria-requiredSet to "true" if isRequired is set.

Edit this page on GitHub

PreviousAlphaSliderNextEditable