Single page applications and <form> elements
- Semantically, using
<form>
is clearer than<div>
. - If you still want your form to work without JavaScript, you'd better choose
<form>
(since you used the word application, this may not be considered though). - More importantly, it'll be really painful of using
<div>
if you do care about accessibility.
I think the answer is, no, if you're not going to "submit" a form, there's no need for the <form tag. Very often, our interactive controls are in places that would not be considered a "form" - checkboxes here, select menus there. I think most of them work just fine without a
Accessibility, I don't know anything about.