Menu
In my project, I’ve been implementing text fields by placing the
element inside a <input>
. Now, I have a requirement to add units after the input fields. I considered using the <label>
pseudo-element, but it doesn’t work well with input elements. So I’m thinking of wrapping the ::after
in a <input>
and using CSS <div>
to add the units. Is this approach going to affect accessibility or cause any other issues? ::after