I have a credit card payment form which currently have one input box where the user can enter a credit card expiration date.
Knowing how end users can screw up just about anything, it seems like I should convert things to two dropdown lists.
The problem with this is that I will have two fields (i.e. Expiration Month, Expiration Year) but I only want one label which reads “Expiration Date”.
What would be the best way to do the HTML markup so it follows standards, including accessibility?
Sincerely,
Elizabeth