I ran the axe a11y tool on the course dashboard and it reported the following errors:
ARIA attributes must conform to valid values:
Suspected cause: ID specified in aria-controls does not exist in the DOM
id attribute value must be unique
Suspected cause: Multiple runs/entitlement cards appear in the DOM for the same course, and the ID for that header is only differentiated by the course number.
We should fix these issues, and investigate any other problems that come up when re-running the axe validator.
I can reproduce the aria-controls value being invalid. But I can't confirm the duplicate ID issue. Can a normal learner get into the state of multiple identical courses appearing on the dashboard? Or was that from some manual tweaking?
Though... We do just use the course_overview.number to build that ID. Which is like T9C1 and could totally be duplicated across partners. So that should be fixed indeed. I'll just have to manually edit some data to test.
To reproduce the duplicate ID issue, try enrolling in multiple runs of the same course. A user may run into this issue if they take a course, fail, and then take it again.