#whaley248_best-practices
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1498302389588070421
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hey there ๐ from your screenshot, it looks like you're using the Payment Element
the focus() method exists per-Element, so there's no way to control this more granularly to the specific inputs within the Element, I'm afraid
would be nice if you could use the focus() method with a param to allow focus of the 1st errored input.
what do others do for ADA complicance with "After submitting a form when inline errors are present, focus does not move to the first field in error."?
yeah I can see how that would be helpful, happy to take the feebdack!
I'm afraid I'm not really able to comment in terms of compliance, and we don't have a specific recommended solution for this