From ffe395356851922431304a9b12e1248f95d8c49d Mon Sep 17 00:00:00 2001 From: Aki Hamano Date: Sat, 28 Dec 2024 11:51:14 +0900 Subject: [PATCH] BoxControl: Fix `aria-valuetext` value --- packages/components/src/box-control/input-control.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/box-control/input-control.tsx b/packages/components/src/box-control/input-control.tsx index 81fbcad42c1d08..27dff1991d8572 100644 --- a/packages/components/src/box-control/input-control.tsx +++ b/packages/components/src/box-control/input-control.tsx @@ -264,7 +264,7 @@ export default function BoxInputControl( { } aria-valuetext={ marks[ presetIndex !== undefined ? presetIndex + 1 : 0 ] - .label + .tooltip } renderTooltipContent={ ( index ) => marks[ ! index ? 0 : index ].tooltip