File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,25 +36,26 @@ <h1>Product Pick</h1>
3636</ p >
3737
3838<!-- a list of suggestions using the list attribute and the datalist element -->
39- <!-- I need to fix the labels to increase accessbility to 100%-->
39+
4040 < label >
4141Select your T-shirt size:
42- < input list ="SizeList " name ="T-shirt Size " placeholder =" Choose your size " required > < br >
42+ < p > please select a size:</ p >
43+ < p >
44+ < input type ="radio " name ="T-shirt_Size " id ="XS " value ="XS " placeholder ="XS " required >
45+ < label for ="XS "label > xs</ label > < br >
46+ < input type ="radio " name ="T-shirt_Size " id ="S " value ="S " placeholder ="S " required >
47+ < label for ="S "label > s</ label > < br >
48+ < input type ="radio " name ="T-shirt_Size " id ="M " value ="M " placeholder ="M " required >
49+ < label for ="M "label > M</ label > < br >
50+ < input type ="radio " name ="T-shirt_Size " id ="L " value ="L " placeholder ="L " required >
51+ < label for ="L "label > L</ label > < br >
52+ < input type ="radio " name ="T-shirt_Size " id ="XL " value ="XL " placeholder ="XL " required >
53+ < label for ="XL "label > XL</ label > < br >
54+ < input type ="radio " name ="T-shirt_Size " id ="XXL " value ="XXL " placeholder ="XXL " required >
55+ < label for ="XXL "label > xXXL/label> < br >
56+ </ p >
4357</ label >
44- < datalist id ="SizeList ">
45-
46- < option value ="XS ">
47- < option value ="S ">
48- < option value ="M ">
49- < option value ="L ">
50- < option value ="XL ">
51- < option value ="XXL ">
52-
53- </ datalist >
5458
55-
56-
57- < p >
5859 < style >
5960input : invalid {background : rgb (253 , 251 , 253 );}
6061input : valid {background : rgb (253 , 251 , 253 );}
You can’t perform that action at this time.
0 commit comments