ui
ui copied to clipboard
UStepper passes a 0-based index into reka-ui's step announcement
UStepper binds its 0-based item index as reka-ui's StepperRoot modelValue, which reka's live region reads as the 1-based step, so the first step is announced as "Step 0 of 4" (Nuxt UI 4.12.0, reka-ui 2.11.0). Linking the reka-ui issue on the hard-coded English text: https://github.com/unovue/reka-ui/issues/3115
I'm working on a fix for this: map the 0-based index to Reka's 1-based step on StepperRoot/StepperItem, with a test for the announced step. I'll open a PR shortly.