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

Duplicate element IDs in Glossary

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_310_STABLE, MOODLE_311_STABLE
    • Fixed Branches:
      MOODLE_310_STABLE, MOODLE_311_STABLE
    • Pull 3.10 Branch:
      MDL-72673-310
    • Pull 3.11 Branch:
      MDL-72673-311
    • Pull Master Branch:
      MDL-72673-master
    • Testing Instructions:
      Hide
      1. Create a glossary activity.
      2. Add several glossary entries with keywords (keywords are separated by line, not by comma). Make sure that these keywords have leading or trailing spaces and blank lines between them. e.g.

            keyword 1   
         
          keyword 2    
         
        keyword 3
        

      3. Show all of the glossary entries.
      4. Expand one of the keywords select element.
      5. Confirm that all keywords are trimmed (no leading/trailing spaces) and no blank keywords are present.
      6. Click on a Keywords label.
      7. Confirm that the select element corresponding to that Keywords label gets focus.
      8. Check the page with axe DevTools or WAVE
      9. Confirm that there are no duplicate ID errors related to the Keywords select element.
      Show
      Create a glossary activity. Add several glossary entries with keywords (keywords are separated by line, not by comma). Make sure that these keywords have leading or trailing spaces and blank lines between them. e.g. keyword 1   keyword 2   keyword 3 Show all of the glossary entries. Expand one of the keywords select element. Confirm that all keywords are trimmed (no leading/trailing spaces) and no blank keywords are present. Click on a Keywords label. Confirm that the select element corresponding to that Keywords label gets focus. Check the page with axe DevTools or WAVE Confirm that there are no duplicate ID errors related to the Keywords select element.

      Description

      1. Create a glossary activity.
      2. Add several glossary entries with keywords
      3. Check with axe DevTools or WAVE
      4. Duplicate IDs related to the Keywords select element are found by the accessibility checkers

        Attachments

        1. MDL-72673_master_Step 5.png
          MDL-72673_master_Step 5.png
          129 kB
        2. MDL-72673_master_Step 7.png
          MDL-72673_master_Step 7.png
          129 kB
        3. MDL-72673_master_Step 9.png
          MDL-72673_master_Step 9.png
          217 kB
        4. MDL-72673_v3.10_Step 5.png
          MDL-72673_v3.10_Step 5.png
          106 kB
        5. MDL-72673_v3.10_Step 7.png
          MDL-72673_v3.10_Step 7.png
          112 kB
        6. MDL-72673_v3.10_Step 9.png
          MDL-72673_v3.10_Step 9.png
          205 kB
        7. MDL-72673_v3.11_Step 5.png
          MDL-72673_v3.11_Step 5.png
          105 kB
        8. MDL-72673_v3.11_Step 7.png
          MDL-72673_v3.11_Step 7.png
          105 kB
        9. MDL-72673_v3.11_Step 9.png
          MDL-72673_v3.11_Step 9.png
          201 kB

          Activity

            People

            Assignee:
            jpataleta Jun Pataleta
            Reporter:
            jpataleta Jun Pataleta
            Peer reviewer:
            Huong Nguyen Huong Nguyen
            Integrator:
            Andrew Lyons Andrew Lyons
            Tester:
            Angelia Dela Cruz Angelia Dela Cruz
            Participants:
            Component watchers:
            Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              8/Nov/21

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 10 minutes
                2h 10m