Copy link to clipboard
Copied
Is there a way for me to create radio buttons using Adobe Dreamweaver 20.2 without the labels?
<input type="radio" name="radio5" id="radio5" value="radio5">
<label for="radio5">Radio Button </label>
would rather have this
<input type="radio" name="radio5" id="radio5" value="radio5">
Copy link to clipboard
Copied
Inserting a Radio Button in Code View will give you <input type="radio">, but aside from that, there's nothing built into DW that will give you what you're looking for, short of creating a Snippet or using Emmet.
Copy link to clipboard
Copied
I'l have to refresh my knowledge on Snippet and Emmet.
Copy link to clipboard
Copied
I don't recommend removing form lables. They are there for a reason. Labels distinguish similar form elements from each other and provide visual cues to users. Labels are also an integral part of web accessibility. Visually impaired users who rely on screen readers need labels to help them navigate through form fields.
Without labels, radio buttons mean nothing.
================
With labels, everything makes sense.
Copy link to clipboard
Copied
I am with Nancy on this. To back this up, have a look at https://www.w3.org/WAI/tutorials/forms/labels/