Leave Yamada UI a star

Star
Yamada UIYamada UIv1.7.2

HueSlider

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

Source@yamada-ui/color-picker

The HueSlider 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
HueSliderThumb Internalrole="slider"Indicates that this is a slider.
aria-labelSets "Slider thumb".
aria-valueminSets the min value. Default is 0.
aria-valuemaxSets the max value. Default is 360.
aria-valuenowSets the current value.
aria-valuetextSets the current value, such as "18°, Red".
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

PreviousRangeSliderNextAlphaSlider