Leave Yamada UI a star

Star
Yamada UIYamada UIv1.6.4

AlphaSlider

AlphaSlider is a component used to allow the user to select a color hue.

Source@yamada-ui/color-picker

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

Keyboard Navigation

KeyDescriptionState
ArrowRightIncreases the value based on the step value.-
ArrowLeftDecreases the value based on the step value.-
ArrowUpIncreases the value based on the step value.-
ArrowDownDecreases the value based on the step value.-
HomeSets the value to min.-
EndSets the value to max.-
PageUpIncreases the value based on the min and max values.-
PageDownDecreases the value based on the min and max values.-

ARIA Roles and Attributes

ComponentRole and AttributesUsage
AlphaSliderThumb Internalrole="slider"Indicates that the element is a slider.
aria-labelSets "Slider thumb".
aria-valueminSets the min value. Default is 0.
aria-valuemaxSets the max value. Default is 1.
aria-valuenowSets the current value.
aria-valuetextSets the current value, such as "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

PreviousHueSliderNextSaturationSlider