Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4125

The app can have several HTML elements with the same id

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.0.1
    • None
    • Accessibility, Others
    • MOODLE_400_STABLE

    Description

      If we use the same HTML id in different pages, when navigating to a new page the element is hidden but it is still part of the DOM. Even if we use unique IDs for each page, a user can open the same page more than once (either in different tabs or using a "loop") so we have the same problem.

      This can cause problems for example with a11y, because aria-labelledby will use the first element found, even if it's hidden.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dpalou Dani Palou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: