Details

    • 11 status:
      Resolved

      Description

      SAM-2995 added labels to fill in the blank questions. This meets accessibility specs, but in complex scenarios with multiple blanks and poorly designed questions that form a sentence without the blanks, a sighted user has an advantage still.

      After discussing with Sakai Accessibility Working Group and reviewing other solutions, a proposed solution was to provided hidden text that notes the number of blanks, reads out "blank space 1" etc. and the labels number off.

      Example markup text:

      A Light Year is a measure of {distance}, specifically the distance light travels in a {vacuum} in one year. 
      

      Currently creates:

      <label for="takeAssessmentForm:j_id_jsp_1255670694_141:0:j_id_jsp_1255670694_201:0:deliverFillInTheBlank:j_id_jsp_1255670694_656:0:fib">
      A Light Year is a measure of  </label>&nbsp;<input id="takeAssessmentForm:j_id_jsp_1255670694_141:0:j_id_jsp_1255670694_201:0:deliverFillInTheBlank:j_id_jsp_1255670694_656:0:fib" type="text" name="takeAssessmentForm:j_id_jsp_1255670694_141:0:j_id_jsp_1255670694_201:0:deliverFillInTheBlank:j_id_jsp_1255670694_656:0:fib" value="" onkeypress="return noenter()" size="20"> <label for="takeAssessmentForm:j_id_jsp_1255670694_141:0:j_id_jsp_1255670694_201:0:deliverFillInTheBlank:j_id_jsp_1255670694_656:1:fib">
      , specifically the distance light travels in a  </label>&nbsp;<input id="takeAssessmentForm:j_id_jsp_1255670694_141:0:j_id_jsp_1255670694_201:0:deliverFillInTheBlank:j_id_jsp_1255670694_656:1:fib" type="text" name="takeAssessmentForm:j_id_jsp_1255670694_141:0:j_id_jsp_1255670694_201:0:deliverFillInTheBlank:j_id_jsp_1255670694_656:1:fib" value="" onkeypress="return noenter()" size="20"> <label for="takeAssessmentForm:j_id_jsp_1255670694_141:0:j_id_jsp_1255670694_201:0:deliverFillInTheBlank:j_id_jsp_1255670694_656:2:fib">
       in one year.  </label>&nbsp;<br><br>
      

      Better would be to actually remove the dynamic labels added in SAM-2995 and use:

      <div class="skip" id="WHATEVER ID ASSIGNED PROGRAMMATICALLY">What follows is a fill in the blank question with 2 blanks</div>
      
      A Light Year is a measure of &nbsp;<input id="takeAssessmentForm:j_id_jsp_1255670694_141:0:j_id_jsp_1255670694_201:0:deliverFillInTheBlank:j_id_jsp_1255670694_656:0:fib" type="text" name="takeAssessmentForm:j_id_jsp_1255670694_141:0:j_id_jsp_1255670694_201:0:deliverFillInTheBlank:j_id_jsp_1255670694_656:0:fib" value="" onkeypress="return noenter()" size="20" aria-describedby="WHATEVER ID ASSIGNED PROGRAMMATICALLY" aria-label="Blank 1.  Fill in the blank, read surrounding text"> 
      , specifically the distance light travels in a  &nbsp;<input id="takeAssessmentForm:j_id_jsp_1255670694_141:0:j_id_jsp_1255670694_201:0:deliverFillInTheBlank:j_id_jsp_1255670694_656:1:fib" type="text" name="takeAssessmentForm:j_id_jsp_1255670694_141:0:j_id_jsp_1255670694_201:0:deliverFillInTheBlank:j_id_jsp_1255670694_656:1:fib" value="" onkeypress="return noenter()" size="20" aria-describedby="WHATEVER ID ASSIGNED PROGRAMMATICALLY" aria-label="Blank 2.  Fill in the blank, read surrounding text"> 
       in one year. &nbsp;<br><br>
      

      If there is agreement on this a related approach could be taken for numeric questions.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ottenhoff Sam Ottenhoff
                  Reporter:
                  mclare Matt Clare
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: