I'm currently adding some date input to a form. I have a 'Start Date' and 'End Date' input but only want to use a single label ('Dates') for both inputs.
Is it possible to do this? What are the accessibility concerns?
My current thinking is to have a label 'Dates' that is shown then have two hidden labels for each input for screen readers etc. Is this the way to go? Are there any examples of large websites doing this kind of thing (Government websites if possible)?
This is a project that may be user by a government agency so there are strict rules on it complying with accessibility.
for
attribute)? – Compel