Design comparison
Solution retrospective
I am proud that this form could be navigated with the mouse and the keyboard. The form wil be read out loud by screen readers and give information to blind people that they needed to send this form. I am also happy with the little animation at the end that op-ups a message that the form was send correctly.
What challenges did you encounter, and how did you overcome them?In the design the focus and active state would be only changing the border color. It was very difficult to see. I can inmagine that someone with bad sight would not see it. I decided to make the border thicker. Making de form work for people that wil navigate it with the mouse and have good sight wasn't a big problem. Making it accessible with the screen reader is a whole other story. With voiche over on the mac I tested if the code was working for screen readers. I changed the error messages so they were also clear if you only would hear them being read out. Only stars at the end of the input labels wasn't working for people without sight. I used aria-label to turn the message in the name of the field and that it is required.
What specific areas of your project would you like help with?If you have any suggestions to make this form even more accessible I would love to hear it. After trying a lot out it made de code a bit messy in the HTML and CSS do you have tips to make it more organized?
Community feedback
- @mbd89Posted 4 months ago
it looks pretty good. accessible and everything. looks good on all devices.
but why is the form empty after we submit it ? and i see that after if I try so submit the form without filling in the required fields, error messages appear, but after I fill in all fields the error messages are still there and the success message pops up.
Marked as helpful0@Jolijn0101Posted 4 months ago@mbd89 Hi Makha, Thank you for your feedback. Looking at the Figma designs I saw that when the succes message is displayed the form will be completely empty. I think it’s a choice of the front-end mentor designers.
I made a function to remove the error messages when the input field gets the focus again when changing the value. I also made a function that validates the input field when it gets out of focus but I’am in doubt if it is really making it more easily to fill in the form. When navigating with voice over it reads out te error and not the next element anymore.
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord