Skip to content

Commit 3ac318f

Browse files
Frontend: Update challenge-list.html to improve accessibility and navigation by adding an ID to the challenge list section and updating the scroll-to button target. (#4974)
1 parent a4e450b commit 3ac318f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/views/web/challenge-list.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<section class="ev-sm-container ev-view challenge-container">
1+
<section id="challenge-list-top" class="ev-sm-container ev-view challenge-container">
22
<p class="text-med-black fs-30 no-margin">All Challenges</p>
33
<!-- tabs for challenges -->
44
<div class="row">
@@ -54,7 +54,7 @@
5454

5555
<!-- scroll up button -->
5656
<div id = "scroll-up" ng-class="challengeList.scrollUp()" >
57-
<a class="ev-btn-scroll" scroll-to= "ongoing-challenges" offset= "800"><strong><i class="align-right fa fa-chevron-up"></i></strong></a>
57+
<a class="ev-btn-scroll" scroll-to="challenge-list-top" offset="800"><strong><i class="align-right fa fa-chevron-up"></i></strong></a>
5858
</div>
5959

6060
<!-- simple loader -->

0 commit comments

Comments
 (0)