A simple form for card details with animations using vanilla css
Feedbacks will be appreciated
A simple form for card details with animations using vanilla css
Feedbacks will be appreciated
Hey, this looks real nice. Just a few things:
for
attributes, which means the inputs need to have id
s.fieldset
to wrap them and then use a legend
for “Exp. Date (MM/YY)”. And then give each input it’s own label (one for “Month” and one for “Year”). If you don’t want the label text for these to show on the page then you can use CSS to visually hide them.::placeholder
pseudo-element.The next two issues are not things I expect you to know or even implement. Just wanted to make you aware of some accessibility issues that would need to be addressed in a real world application.
aria-hidden="true"
attribute to the div
with a class of left
. This will tell screen readers to ignore this div and anything in it completely. I don’t expect you to know this, or even do this. Just making you aware of the accessibility issues.This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.