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

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 2.3 RC1
    • 2.3 M2
    • {Unused} Core
    • Unknown
    • 3.3.2 Labels or Instructions

    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

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

            Dates

              Created:
              Updated:
              Resolved: