We implement recurly cc fields with Next/React and I'm having no luck finding out how to add accessibility attributes. For example, we'd like to add aria-describedby and aria-invalid=true when there is an error with the field. Is this possible?
I'm also not able to find documentation on adding labels for the inputs (using the individual inputs for number, month, year, cvv), and how to pass an id that the label could target.
We implement recurly cc fields with Next/React and I'm having no luck finding out how to add accessibility attributes. For example, we'd like to add
aria-describedbyandaria-invalid=truewhen there is an error with the field. Is this possible?I'm also not able to find documentation on adding labels for the inputs (using the individual inputs for number, month, year, cvv), and how to pass an id that the label could target.