#Lyd (elle)
1 messages · Page 1 of 1 (latest)
hi! I don't know too much about this side of accessibility, but a thought :
- you can use https://stripe.com/docs/js/elements_object/create_element?type=card#elements_create-options-classes-invalid to have us apply a specified class to the Element when its in a certain state. Does that help?
Hi, thanks for the fast reply !
Unfortunately it doesn't help. More about accessibility guidelines regarding forms & error management : https://www.a11yproject.com/posts/how-to-write-accessible-forms/
"Each invalid <input> is given an aria-invalid="true" attribute and connected to a hint using an aria-describedby attribute."