My divs were added late and maybe add a little messiness, I had a lot of difficulty having it show up the same on my phone the same it did as in the firefox/chrome dev tools! So that was a late attempt at a fix.
edit After receiving comments, edited page and looking much better now I think. Also changed it into a flexbox after completing those lessons and it was much easier than I thought! Thanks for feedback
One thing I’d suggest is providing more feedback to the user when they add invalid content to the fields.
For example, if I add “dasdfs” to the Age field, it looks like the field becomes red, but that does not necessarily tell me anything. This is especially true from an accessibility perspective since people using a screen reader, or who are color blind, would not immediately know what there is a problem.
The bootstrap docs (I know you’re not using bootstrap, just a reference point) have a great example of what actionable form feedback might look like.
Thanks! I’ve heard of bootstrap but haven’t come across what it even is yet
Great point about the accessibility advantage over placeholders - I was wondering how to give more form feedback for invalid entries, but a lot of it was delving into Javascript that (as of yet) is still a little over my head! Will definitely try a bootstrap form next or play around with it on this one
One big accessibility no-no, do not use view port units for font size:
html {
font-size: 1.03vw;
}
You have this in a media query break point:
@media (min-width: 1024px)
So once the browser width is bigger than 1023px the font size gets real small and the user is not able to adjust it manually. Bottom line, the user should always be allowed to increase the text size as needed.
Another accessibility issue I see is that the keyboard focus indicator is not really visible, especially for the radio buttons and check boxes. Use the CSS outline property coupled with the :focus pseudo-class to make the keyboard focus more prominent.
If you want to be even more accessible, use fieldset/legend for your radio button/checkbox groupings:
Sorry, don’t mean to sound so critical, overall you did a very nice job. One of the first things I always do when evaluating a web page is test for text size increase responsiveness. So it just jumped out at me immediately
Thank you! I certainly need to work on planning and structuring my groupings and I hadn’t thought of fieldset. Will make those fixes! Cheers, appreciate the feedback