diff --git a/src/app/degree-planner/course-search/course-search.component.html b/src/app/degree-planner/course-search/course-search.component.html index b18a46ed8bb979274f258c20b118b53a575bbf70..54c88a335cc131ee3ba4c3f310a5f4063b7d4cb0 100644 --- a/src/app/degree-planner/course-search/course-search.component.html +++ b/src/app/degree-planner/course-search/course-search.component.html @@ -106,7 +106,7 @@ [cdkDragData]="course" *ngFor="let course of queriedCourses"> <div class="course-wrapper-inner"> - <cse-course-item [course]="course" type="search"></cse-course-item> + <cse-course-item role="button" aria-labelledby="queried-courses-list" [course]="course" type="search"></cse-course-item> </div> </div> </div> diff --git a/src/app/degree-planner/saved-for-later-container/saved-for-later-container.component.html b/src/app/degree-planner/saved-for-later-container/saved-for-later-container.component.html index 274ff4953c68f0c7d364b0701b71777b6de12980..072b31ab2999c4e749a9b08e234632c472ed09c0 100644 --- a/src/app/degree-planner/saved-for-later-container/saved-for-later-container.component.html +++ b/src/app/degree-planner/saved-for-later-container/saved-for-later-container.component.html @@ -15,7 +15,7 @@ [cdkDragDisabled]="mobileView.matches" [cdkDragData]="course"> <div class="course-wrapper-inner"> - <cse-course-item [course]="course" type="saved" class="course-favorite" aria-describedby="saved-courses"></cse-course-item> + <cse-course-item role="button" aria-labelledby="saved-courses" [course]="course" type="saved" class="course-favorite"></cse-course-item> </div> </div> diff --git a/src/app/degree-planner/term-container/term-container.component.html b/src/app/degree-planner/term-container/term-container.component.html index 72dbdf39f1b6d7841d8a20a146dd19e74ca290fd..6c31feb6e0ce11712556a959736ee30f4c344410 100644 --- a/src/app/degree-planner/term-container/term-container.component.html +++ b/src/app/degree-planner/term-container/term-container.component.html @@ -12,7 +12,8 @@ </ng-container> <cse-course-item - aria-describedby="enrolled-courses" + role="button" + aria-labelledby="enrolled-courses" *ngFor="let course of enrolledCourses" type="course" [disabled]="true" @@ -59,7 +60,8 @@ *ngFor="let course of plannedCourses" > <cse-course-item - aria-describedby="planned-courses" + role="button" + aria-labelledby="planned-courses" type="course" [course]="course" [era]="(term$ | async).era"