diff --git a/docs/data/base/components/input/OTPInput.js b/docs/data/base/components/input/OTPInput.js index 0b5993bdbdfa72..100f7d0961c180 100644 --- a/docs/data/base/components/input/OTPInput.js +++ b/docs/data/base/components/input/OTPInput.js @@ -85,7 +85,7 @@ function OTP({ seperator, inputCount, otp, setOtp }) { slots={{ input: InputElement, }} - aria-label="OTP input field" + aria-label={`Digit ${index + 1} of OTP`} slotProps={{ input: { ref: (ele) => { diff --git a/docs/data/base/components/input/OTPInput.tsx b/docs/data/base/components/input/OTPInput.tsx index 319909f0eb43c1..c91916b635131f 100644 --- a/docs/data/base/components/input/OTPInput.tsx +++ b/docs/data/base/components/input/OTPInput.tsx @@ -106,7 +106,7 @@ function OTP({ slots={{ input: InputElement, }} - aria-label="OTP input field" + aria-label={`Digit ${index + 1} of OTP`} slotProps={{ input: { ref: (ele) => {