Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-36855

Safari issue with multiple input elements in Numeric or Calculated question types

    Details

    • 12 status:
      Resolved
    • 11 status:
      Resolved
    • Previous Issue Keys:
      SAM-3298
    • Test Plan:
      Hide
      1. Create a numeric fill-in-the-blank question (FIN).
      2. Use the following as the question text and save:"Thing 1: {1}

      Thing 2: {2}"

      1. In Safari 11, open the question and click into the input elements. If clicking the second input does not automatically give the first input focus, the test has passed.
      Show
      Create a numeric fill-in-the-blank question (FIN). Use the following as the question text and save:"Thing 1: {1} Thing 2: {2}" In Safari 11, open the question and click into the input elements. If clicking the second input does not automatically give the first input focus, the test has passed.

      Description

      Given a FIN or Calc question, input elements are contained in a label element. The parent label element has `for` attribute equal to the id of its first input (child element).

      In Safari, having multiple inputs as children presents a problem whereby the first input always gets focus whenever another sibling input is clicked. Users thus need to tab thru the inputs to answer questions.

      The issue is related to SAM-3131, and the changes in that commit need to be propagated to FIN and Calc question types.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  agschmidt Andrea Schmidt
                  Reporter:
                  duncan.smith@uct.ac.za Duncan Smith
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code