Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-5089

Generated HTML inputs for radio or checkbox property display should have a label

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3 M2
    • Fix Version/s: 2.3 RC1
    • Component/s: {Unused} Core
    • Labels:
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      The current HTML is:

      <span id="xwiki-form-[property]-[counter]" class="xwiki-form-listclass">
      <input type="radio" value="single" name="Some.Class_0_[property]">Option value</span>
      

      and should be:

      <label for="xwiki-form-[property]-[counter]" class="xwiki-form-listclass">
      <input type="radio" value="single" name="Some.Class_0_[property]" id="xwiki-form-[property]-[counter]">Option value</label>
      

        Attachments

          Activity

            People

            • Assignee:
              sdumitriu Sergiu Dumitriu
              Reporter:
              sdumitriu Sergiu Dumitriu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: