CircleProgress
CircleProgress
is a component that displays progress in a circular progress bar.
The CircleProgress
follows the WAI-ARIA - Meter Pattern for accessibility.
Setting aria-label
or aria-labelledby
on CircleProgress
will make it readable by screen readers.
<CircleProgress value={88} aria-label="Central Processing Unit (CPU) Usage" />
<VStack gap="sm"><Text as="h3" id="label">Central Processing Unit (CPU) Usage</Text><CircleProgress value={88} aria-labelledby="label" /></VStack>
ARIA Roles and Attributes
Component | Roles and Attributes | Usage |
---|---|---|
CircleProgress | role="meter" | Indicates that this is a meter. |
aria-valuemin | Sets the min value. Default is 0 . | |
aria-valuemax | Sets the max value. Default is 100 . | |
aria-valuenow | Sets the current value. | |
CircleProgressShape Internal | aria-hidden | Excludes the element from the accessibility tree. |
Edit this page on GitHub