Axe violations on course dashboard

Description

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.

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Activity

Show:
Michael Terry
December 22, 2017, 4:46 PM

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?

Michael Terry
December 22, 2017, 4:49 PM

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.

Question retracted.

Anthony Mangano
December 22, 2017, 4:52 PM

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.

Fixed

Assignee

Michael Terry

Reporter

Anthony Mangano

Reach

None

Impact

None

Platform Area

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Actual Points

None

Category of Work

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Story Points

1

Sprint

None

Priority

Unset
Configure