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

SAMIGO > Fill in the Blank > Warning for Forbidden Characters

    XMLWordPrintable

    Details

    • Test Plan:
      Hide
      1. Turn on a screen reader, e.g., NVDA or JAWS.
      2. Create a site with Tests & Quizzes.
      3. Go to the Tests & Quizzes Add page and start creating an assessment from scratch with the Assessment Builder option.
      4. From the Add Question menu, select Fill in the Blank.
      5. In the "Fill in the Blank Field Markers" text box, enter one unacceptable character and one acceptable character, e.g. the following:
        .)
      6. With your keyboard, use the Tab key (or arrow key, for a screen reader user) to navigate out of the answer markers field. Desired behavior: You are provided a warning as to which of the characters you entered cannot be used and prompted to change it to a different one. You can hear the warning with the screen reader. For a sighted user, this warning message should display adjacent to the Custom Markers field in question. Keyboard focus should NOT have left the area you most recently tabbed or arrowed into, so you can go back to the targeted field right away to fix the error.
      7. Change the markers in the field to two unacceptable characters, e.g.:
        *|
      8. With your mouse, click out of the answer markers field. Desired behavior: You are provided a warning indicating the two characters you entered cannot be used and prompted to change them to different ones. You can hear the warning with the screen reader. For a sighted user, this warning message should display adjacent to the Custom Markers field in question. Keyboard focus should NOT have left the area you most recently tabbed or arrowed into, so you can go back to the targeted field right away to fix the error.
      9. Read the instructional text under the Defining Answers section of the page. It should continue to display the default fill in the blank markers (i.e., {}) in the examples for authoring (because the custom ones you tried to enter are invalid).
      10. Change the markers in the field to two copies of the same acceptable character, e.g.:
        ((
      11. Tab or click out of the custom markers field. Desired behavior: You are provided a warning indicating that you entered two of the same character for the answer markers and prompted to change one of the markers to a different one. You can hear the warning with the screen reader. For a sighted user, this warning message should display adjacent to the Custom Markers field in question. Keyboard focus should NOT have left the area you most recently tabbed or arrowed into, so you can go back to the targeted field right away to fix the error.
      12. Read the instructional text under the Defining Answers section of the page. It should continue to display the default fill in the blank markers (i.e., {}) in the examples for authoring (because the custom ones you tried to enter are invalid).
      13. Change the characters in the answer markers field to two different acceptable characters, e.g.:
        ()
      14. Tab or click out of the custom markers field and read the text under the Defining Answers section of the page. It should include the acceptable custom markers in the examples for authoring.
      Show
      Turn on a screen reader, e.g., NVDA or JAWS. Create a site with Tests & Quizzes . Go to the Tests & Quizzes Add page and start creating an assessment from scratch with the Assessment Builder option. From the Add Question menu, select Fill in the Blank . In the "Fill in the Blank Field Markers" text box, enter one unacceptable character and one acceptable character, e.g. the following: .) With your keyboard, use the Tab key (or arrow key, for a screen reader user) to navigate out of the answer markers field. Desired behavior: You are provided a warning as to which of the characters you entered cannot be used and prompted to change it to a different one. You can hear the warning with the screen reader. For a sighted user, this warning message should display adjacent to the Custom Markers field in question. Keyboard focus should NOT have left the area you most recently tabbed or arrowed into, so you can go back to the targeted field right away to fix the error. Change the markers in the field to two unacceptable characters, e.g.: *| With your mouse, click out of the answer markers field. Desired behavior: You are provided a warning indicating the two characters you entered cannot be used and prompted to change them to different ones. You can hear the warning with the screen reader. For a sighted user, this warning message should display adjacent to the Custom Markers field in question. Keyboard focus should NOT have left the area you most recently tabbed or arrowed into, so you can go back to the targeted field right away to fix the error. Read the instructional text under the Defining Answers section of the page. It should continue to display the default fill in the blank markers (i.e., {}) in the examples for authoring (because the custom ones you tried to enter are invalid). Change the markers in the field to two copies of the same acceptable character, e.g.: (( Tab or click out of the custom markers field. Desired behavior: You are provided a warning indicating that you entered two of the same character for the answer markers and prompted to change one of the markers to a different one. You can hear the warning with the screen reader. For a sighted user, this warning message should display adjacent to the Custom Markers field in question. Keyboard focus should NOT have left the area you most recently tabbed or arrowed into, so you can go back to the targeted field right away to fix the error. Read the instructional text under the Defining Answers section of the page. It should continue to display the default fill in the blank markers (i.e., {}) in the examples for authoring (because the custom ones you tried to enter are invalid). Change the characters in the answer markers field to two different acceptable characters, e.g.: () Tab or click out of the custom markers field and read the text under the Defining Answers section of the page. It should include the acceptable custom markers in the examples for authoring.

      Description

      In Tests and Quizzes Fill in the Blank question, there is an option to change the Field Markers, with a list of forbidden markers. When the user enters new markers, all the examples below update to show these markers instead of the default curly brackets.
      Since the site checks for the characters without reloading, I think an error should show immediately if the characters are forbidden, as soon as the user clicks out of the Field Markers box. This way, it will be clear why the examples don't update, and the user will be able to change their input early.
      This will also help with the current behavior in Tests and Quizzes, where a user receives several errors on saving, making them harder to see separately. Instead, the user sees an error message immediately on making a mistake, and is able to fix their mistake without waiting until they save the page

      Here is an example to demonstrate the desired behavior: https://www.w3.org/WAI/tutorials/forms/notifications/#on-focus-change

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  jesusmmp Jesus Maria Mendez
                  Reporter:
                  tkelsey Thomas Kelsey
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration