@@ -73,6 +73,8 @@ export default function ChallengeViewSelector(props) {
73
73
< div styleName = "mask right" />
74
74
< div styleName = "challenge-view-selector" >
75
75
< a
76
+ tabIndex = "0"
77
+ role = "link"
76
78
onClick = { ( e ) => { handleSelectorClicked ( e , DETAIL_TABS . DETAILS ) ; } }
77
79
onKeyPress = { ( e ) => { handleSelectorClicked ( e , DETAIL_TABS . DETAILS ) ; } }
78
80
styleName = { getSelectorStyle ( selectedView , DETAIL_TABS . DETAILS ) }
@@ -82,6 +84,8 @@ DETAILS
82
84
{
83
85
numRegistrants ? (
84
86
< a
87
+ tabIndex = "0"
88
+ role = "link"
85
89
onClick = { ( e ) => {
86
90
handleSelectorClicked ( e , DETAIL_TABS . REGISTRANTS ) ;
87
91
} }
@@ -100,6 +104,8 @@ REGISTRANTS (
100
104
trackLower === 'design' && checkpointCount > 0
101
105
&& (
102
106
< a
107
+ tabIndex = "0"
108
+ role = "link"
103
109
onClick = { ( e ) => { handleSelectorClicked ( e , DETAIL_TABS . CHECKPOINTS ) ; } }
104
110
onKeyPress = { ( e ) => { handleSelectorClicked ( e , DETAIL_TABS . CHECKPOINTS ) ; } }
105
111
styleName = { getSelectorStyle ( selectedView , DETAIL_TABS . CHECKPOINTS ) }
@@ -113,6 +119,8 @@ CHECKPOINTS (
113
119
{
114
120
numSubmissions ? (
115
121
< a
122
+ tabIndex = "0"
123
+ role = "link"
116
124
onClick = { ( e ) => { handleSelectorClicked ( e , DETAIL_TABS . SUBMISSIONS ) ; } }
117
125
onKeyPress = { ( e ) => { handleSelectorClicked ( e , DETAIL_TABS . SUBMISSIONS ) ; } }
118
126
styleName = { getSelectorStyle ( selectedView , DETAIL_TABS . SUBMISSIONS ) }
@@ -126,6 +134,8 @@ SUBMISSIONS (
126
134
{
127
135
numWinners ? (
128
136
< a
137
+ tabIndex = "0"
138
+ role = "link"
129
139
onClick = { ( e ) => { handleSelectorClicked ( e , DETAIL_TABS . WINNERS ) ; } }
130
140
onKeyPress = { ( e ) => { handleSelectorClicked ( e , DETAIL_TABS . WINNERS ) ; } }
131
141
styleName = { getSelectorStyle ( selectedView , DETAIL_TABS . WINNERS ) }
0 commit comments