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

The app can have several HTML elements with the same id

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.2.0
    • Accessibility, Others
    • MOODLE_402_STABLE

      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.

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

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.