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
    • Resolution: Unresolved
    • Minor
    • None
    • 4.2.0
    • Accessibility, Others
    • MOODLE_402_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:

              Clockify

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