London | 2-ITP-Sept | Hugh Mills| Sprint 1 | Form Controls - #1473
London | 2-ITP-Sept | Hugh Mills| Sprint 1 | Form Controls#1473HM-127BTY wants to merge 5 commits into
Conversation
Added name at end. done inputs for Size and corrections to colours.
✅ Deploy Preview for cyf-onboarding-module ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
The lighthouse Accessibility score is below 100. How can you achieve 100?
| <form> | ||
| <div> | ||
| <label for="name">Name:</label> | ||
| <input type="text" id="name" placeholder="Hugh Mills" pattern=".*\S.*\S.*." required> |
There was a problem hiding this comment.
The validation does not allow special characters like the German ä,ü,ö or Russian ед
There was a problem hiding this comment.
I didn't use any of those, wand I cant see where, can you point it out for me?
| <label for="size">XL:</label> | ||
| <input type="radio" name="size" value="xl"> | ||
| <label for="size">XXL:</label> | ||
| <input type="radio" name="size" value="xxl"> |
There was a problem hiding this comment.
FYI: I would change the form types. Radio buttons are good if there are not to many options to choose from. Space on a web page is precious and for inputs with a lot of options, a dropdown can save a lot of space. (You don't need to change anything. This is just an information on the different input types)

Learners, PR Template
Self checklist
CYF-1004
Added in code as instructed in the readme.md for Form Control.
added requirements for Name, Email, Colour and Size.
Added input buttons for Submit and Reset
Changed text at end to have my name.