• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Can Dreamweaver created radio buttons without labels?

Advocate ,
Jul 30, 2020 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

282

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
community guidelines
Community Expert ,
Jul 30, 2020 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.

 

Votes

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
community guidelines
Advocate ,
Jul 30, 2020 Jul 30, 2020

Copy link to clipboard

Copied

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

Votes

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
community guidelines
Community Expert ,
Jul 30, 2020 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— Product User, Community Expert & Moderator

Votes

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
community guidelines
Community Expert ,
Jul 30, 2020 Jul 30, 2020

Copy link to clipboard

Copied

LATEST

I am with Nancy on this. To back this up, have a look at https://www.w3.org/WAI/tutorials/forms/labels/

Wappler, the only real Dreamweaver alternative.

Votes

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
community guidelines