Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-79705

User profile: checkbox profile fields rendered in a way that is not accessible

XMLWordPrintable

    • MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE
    • MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE
    • MDL-79705-401
    • MDL-79705-402
    • MDL-79705-403
    • Hide
      1. Log in as admin
      2. Navigate to Users > User profile fields in site administration
      3. Create a new Checkbox field
        • Name: My test checkbox
      4. Create a new user
        • My test checkbox: Yes (checked)
      5. View profile of created user
      6. Confirm My test checkbox shows "Yes"
      7. Create a second new user
        • My test checkbox: No (not checked)
      8. View profile of second created user
      9. Confirm My test checkbox shows "No"
      10. Navigate to Reports from user menu
      11. Create a new report from Users report source
        • Include default setup: Yes
      12. Add User > My test checkbox column to the report
      13. Confirm admin user shows empty for the "My test checkbox" column
      14. Confirm first test user shows "Yes"
      15. Confirm second test user shows "No"
      Show
      Log in as admin Navigate to Users > User profile fields in site administration Create a new Checkbox field Name: My test checkbox Create a new user My test checkbox: Yes (checked) View profile of created user Confirm My test checkbox shows "Yes" Create a second new user My test checkbox: No (not checked) View profile of second created user Confirm My test checkbox shows "No" Navigate to Reports from user menu Create a new report from Users report source Include default setup: Yes Add User > My test checkbox column to the report Confirm admin user shows empty for the "My test checkbox" column Confirm first test user shows "Yes" Confirm second test user shows "No"

      Steps to reproduce:

      1. Go to admin -> users -> accounts -> user profile fields.
      2. Create a new field of type 'Checkbox' with name 'Test checkbox'.
      3. Go to your profile.
      4. (If the 'Test checkbox' field is not visible, just edit your profile and save, to set a value.)
      5. Once you can see the Test checkbox field

      Expected result: the value would be presented in a way that would make sense to users of assisstive techology.

      Actual result: The HTML is:

      <li class="contentnode">
        <dl>
          <dt>Test checkbox</dt>
          <dd><input disabled="disabled" type="checkbox" name="profile_field_checkbox"></dd
        </dl>
      </li>
      

      I don't really know why we are nesting one-element <dl> inside another list, but worse, we have a checkbox with no label.

            pholden Paul Holden
            timhunt Tim Hunt
            Tim Hunt Tim Hunt
            Huong Nguyen Huong Nguyen
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 12 minutes
                3h 12m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.