primevue
primevue copied to clipboard
InputOtp: Aria Label like PrimeReact/PrimeFaces
PrimeReact and PrimeFaces uses PrimeLocale label.
https://github.com/primefaces/primereact/blob/baf3925e481556be1398c59a5cd43dc94618b614/components/lib/inputotp/InputOtp.js#L182
'aria-label': ariaLabel('otpLabel', { 0: inputElementIndex + 1 }),
PrimeLocale: https://github.com/primefaces/primelocale/blob/4cf72303a846f30df591448828ce35c724197af7/en.json#L102