File tree 8 files changed +18
-12
lines changed
__tests__/shared/components
challenge-listing/Filters/__snapshots__
Filters/ChallengeSearchBar 8 files changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ exports[`Default render 1`] = `
79
79
/>
80
80
</span >
81
81
<div
82
- aria-label = " Search "
82
+ aria-label = " Find members by username or skill "
83
83
className = " src-shared-components-TopcoderHeader-___style__search-icon___3w5nA"
84
84
data-menu = " search"
85
85
onBlur = { [Function ]}
@@ -366,7 +366,7 @@ exports[`Render with open menu 1`] = `
366
366
/>
367
367
</span >
368
368
<div
369
- aria-label = " Search "
369
+ aria-label = " Find members by username or skill "
370
370
className = " src-shared-components-TopcoderHeader-___style__search-icon___3w5nA"
371
371
data-menu = " search"
372
372
onBlur = { [Function ]}
@@ -690,7 +690,7 @@ exports[`Render with specified profile 1`] = `
690
690
</span >
691
691
</div >
692
692
<div
693
- aria-label = " Search "
693
+ aria-label = " Find members by username or skill "
694
694
className = " opened src-shared-components-TopcoderHeader-___style__search-icon___3w5nA"
695
695
data-menu = " search"
696
696
onBlur = { [Function ]}
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ exports[`Matches shallow shapshot 1`] = `
4
4
<div
5
5
className = " src-shared-components-SortingSelectBar-___style__sortingBar___3esqf"
6
6
>
7
- <h1
7
+ <h2
8
8
className = " src-shared-components-SortingSelectBar-___style__title___36eG5"
9
9
>
10
10
title
11
- </h1 >
11
+ </h2 >
12
12
<div
13
13
className = " src-shared-components-SortingSelectBar-___style__view-options-toggle-container___1N4rY"
14
14
>
@@ -80,10 +80,10 @@ exports[`Matches shallow shapshot 2`] = `
80
80
<div
81
81
className = " src-shared-components-SortingSelectBar-___style__sortingBar___3esqf"
82
82
>
83
- <h1
83
+ <h2
84
84
className = " src-shared-components-SortingSelectBar-___style__title___36eG5"
85
85
>
86
86
title
87
- </h1 >
87
+ </h2 >
88
88
</div >
89
89
` ;
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ exports[`Matches shallow shapshot 1`] = `
16
16
className = " src-shared-components-challenge-listing-Filters-ChallengeSearchBar-___style__SearchButton___3GzR0 src-shared-components-challenge-listing-Filters-ChallengeSearchBar-___style__active___8LjMb"
17
17
onClick = { [Function ]}
18
18
onKeyPress = { [Function ]}
19
+ role = " button"
20
+ tabIndex = " 0"
19
21
>
20
22
<ZoomIcon
21
23
className = " src-shared-components-challenge-listing-Filters-ChallengeSearchBar-___style__zoomIcon___3d_cL"
@@ -44,6 +46,8 @@ exports[`Matches shallow shapshot 2`] = `
44
46
className = " src-shared-components-challenge-listing-Filters-ChallengeSearchBar-___style__SearchButton___3GzR0"
45
47
onClick = { [Function ]}
46
48
onKeyPress = { [Function ]}
49
+ role = " button"
50
+ tabIndex = " 0"
47
51
>
48
52
<ZoomIcon
49
53
className = " src-shared-components-challenge-listing-Filters-ChallengeSearchBar-___style__zoomIcon___3d_cL"
Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ export default function SortingSelectBar({
9
9
} ) {
10
10
return (
11
11
< div styleName = "sortingBar" >
12
- < h1 styleName = "title" >
12
+ < h2 styleName = "title" >
13
13
{ title }
14
- </ h1 >
14
+ </ h2 >
15
15
{
16
16
options ? (
17
17
< div styleName = "view-options-toggle-container" >
Original file line number Diff line number Diff line change @@ -361,7 +361,7 @@ export default class TopcoderHeader extends React.Component {
361
361
{ userMenuHandle }
362
362
{ authButtons }
363
363
< div
364
- aria-label = "Search "
364
+ aria-label = "Find members by username or skill "
365
365
role = "button"
366
366
tabIndex = { 0 }
367
367
data-menu = "search"
Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ export default function ChallengeHeader(props) {
262
262
< div styleName = "prizes-ops-container" >
263
263
< div styleName = "prizes-outer-container" >
264
264
< h2 styleName = "prizes-title" >
265
- PRIZES
265
+ Key Information
266
266
</ h2 >
267
267
< Prizes prizes = { prizes && prizes . length ? prizes : [ 0 ] } pointPrizes = { pointPrizes } />
268
268
{
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ function ChallengeCard({
131
131
to = { challengeDetailLink }
132
132
styleName = "challenge-title"
133
133
openNewTab = { openChallengesInNewTabs }
134
- > < h3 > { challenge . name } </ h3 >
134
+ > < p > { challenge . name } </ p >
135
135
</ Link >
136
136
< div styleName = "details-footer" >
137
137
< span styleName = "date" >
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ export default function ChallengeSearchBar({
36
36
styleName = { `SearchButton ${ query ? 'active' : '' } ` }
37
37
onClick = { ( ) => onSearch ( query . trim ( ) ) }
38
38
onKeyPress = { ( ) => onSearch ( query . trim ( ) ) }
39
+ tabIndex = "0"
40
+ role = "button"
39
41
>
40
42
< ZoomIcon styleName = "zoomIcon" />
41
43
</ span >
You can’t perform that action at this time.
0 commit comments