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

Quiz: Preview link opens in new window without warning

    XMLWordPrintable

Details

    • MOODLE_310_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • MDL-69974-311
    • MDL-69974-master
    • Hide

      Question edit page

      1. Create a course.
      2. Go to the Question bank of that course.
      3. Create a question (Ex: True/False with the name: Test question 1).
      4. Edit that question.
      5. Scroll down to the bottom of the page.
      6. Hover the Preview link.
      7. Verify that there is a tooltip called "Preview Test question 1 in new window".
      8. Turn on Web developer mode, inspect the Preview link and switch to the Accessibility tab.
      9. Verify that there is an ARIA attribute called aria-label with value: Preview Test question 1 in a new window.
      10. Click on the Preview link.
      11. Verify that the Preview windows will be opened in a new tab instead of a popup.

      Quiz edit page

      1. Create a course.
      2. Create a Quiz activity.
      3. Edit the Quiz.
      4. Create a question (Ex: True/False with the name: Test question 1)
      5. Hover the Preview icon.
      6. Verify that there is a tooltip called "Preview Test question 1 in new window".
      7. Turn on Web developer mode, inspect the Preview icon and switch to the Accessibility tab.
      8. Verify that there is an ARIA attribute called aria-label with value: Preview Test question 1 in a new window.
      9. Click on the Preview icon.
      10. Verify that the Preview windows will be opened in a new tab instead of a popup.

       

      Show
      Question edit page Create a course. Go to the Question bank of that course. Create a question (Ex: True/False with the name: Test question 1). Edit that question. Scroll down to the bottom of the page. Hover the Preview link. Verify that there is a tooltip called " Preview Test question 1 in new window ". Turn on Web developer mode, inspect the Preview link and switch to the Accessibility tab. Verify that there is an ARIA attribute called aria-label with value:  Preview Test question 1 in a new window . Click on the Preview link. Verify that the Preview windows will be opened in a new tab instead of a popup. Quiz edit page Create a course. Create a Quiz activity. Edit the Quiz. Create a question (Ex: True/False with the name: Test question 1) Hover the Preview icon. Verify that there is a tooltip called " Preview Test question 1 in new window ". Turn on Web developer mode, inspect the Preview icon and switch to the Accessibility tab. Verify that there is an ARIA attribute called aria-label with value:  Preview Test question 1 in a new window . Click on the Preview icon. Verify that the Preview windows will be opened in a new tab instead of a popup.  

    Description

      Currently, Quiz previews opening in a new window without warning screen reader users

      Attachments

        Activity

          People

            huongn@moodle.com Huong Nguyen
            HuongNV Huong Nguyen
            Tim Hunt Tim Hunt
            Safat Shahin, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Tim Hunt, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 5 hours, 30 minutes
                1d 5h 30m