Highlighted

Can Dreamweaver created radio buttons without labels?

Enthusiast ,
Jul 30, 2020

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">
            

 

Views

47

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Can Dreamweaver created radio buttons without labels?

Enthusiast ,
Jul 30, 2020

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">
            

 

Views

48

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 30, 2020 0
Adobe Community Professional ,
Jul 30, 2020

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.

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 30, 2020 0
Enthusiast ,
Jul 30, 2020

Copy link to clipboard

Copied

I'l have to refresh my knowledge on Snippet and Emmet.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 30, 2020 0
Adobe Community Professional ,
Jul 30, 2020

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.





 

Nancy O'Shea, ACP
Alt-Web.com

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 30, 2020 0
Adobe Community Professional ,
Jul 30, 2020

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/


Ben

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 30, 2020 1