[MGNLFORM-27] Using Radios or checkboxes, a additional fieldset is missing when the legend is empty. Created: 05/Aug/09  Updated: 03/Dec/13  Resolved: 06/Aug/09

Status: Closed
Project: Magnolia Form Module
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.0.2

Type: Bug Priority: Minor
Reporter: Teresa Miyar Assignee: Teresa Miyar
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

Using Radios or checkboxes, a additional fieldset is missing when the legend is empty. Radios and checkboxes have to wrapped with a fieldset and describe by an optional legend.

wrong:

<div>
<label for="field-1" id="">
<input type="checkbox" value="h" name="" id="field-1" />
Bitte rufen Sie mich schnellstmöglich zurück.
</label>
</div>

better:

<div>
<fieldset>
<legend>Legend</legend> (this is optional)
<label for="field-1">
<input type="checkbox" id="field-1" name="checkbox-grp1" />
<span>Checkboxoption 1</span>
</label>
</fieldset>
</div>


Generated at Mon Feb 12 05:36:08 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.