Skip to main Content
Back to posts

Should a 3-field <select> date input use fieldset for grouping?

Posted 2yrs ago
profile pic

lorenzo Full stack 2 Comments

I am trying to do the best for usability and accessibility I use fieldset to group input radio-button and checkbox elements. When I have a date input that is actually 3 select dropdown fields, one for day, one for month and one for year, should I use fieldset to group them?

1 up vote 0 down votes

Comments

  • profile pic
    Freeman

    Is the concern related to whether or not to have multiple date input fields or how well can they be presented to provide better UX or is the question really about using <fieldset> or not? Because using <fieldset> or not is more related to writing and organizing HTML code and not much about UX.. Or am I missing anything..? 

    0 up votes 0 Down votes
  • profile pic
    Yannick

    I am not sure what part of UX you are trying to address or I am missing something.Please try to be more specific if possible. Here is a link about from structuring which might help you get some idea on it. developer.mozilla.org/en-US/docs/Web/Guide/HTML/Forms/? Hope if helps :)? 

    0 up votes 0 Down votes

Unleash Your Voice, Amplify Accessibility

Empower Your Voice, Share Your Topics on Accessibility, and Ignite a Change in web content

Create a post