-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.2.0
-
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.