File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -27,19 +27,16 @@ export default function Prizes({ pointPrizes, prizes }) {
27
27
< div
28
28
styleName = "prize-fill"
29
29
key = { rank }
30
- // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
31
- tabIndex = { 0 }
32
- role = "figure"
33
- aria-label = { `${ rank } ${ getOrdinal ( rank ) } prize is ${ ! _ . isUndefined ( prizes [ index ] ) ? '$' : '' } ${ pair . join ( ' + ' ) } ` }
34
30
>
35
- < div id = { `rank${ rank } ` } styleName = "prize-card" aria-hidden = "true" >
36
- < p styleName = "prize-rank" >
31
+ { /* eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex */ }
32
+ < div id = { `rank${ rank } ` } tabIndex = { 0 } styleName = "prize-card" aria-label = { `${ rank } ${ getOrdinal ( rank ) } prize is ${ ! _ . isUndefined ( prizes [ index ] ) ? '$' : '' } ${ pair . join ( ' + ' ) } ` } >
33
+ < p styleName = "prize-rank" aria-hidden = "true" >
37
34
{ rank }
38
35
< span styleName = "rank-ordinal" >
39
36
{ getOrdinal ( rank ) }
40
37
</ span >
41
38
</ p >
42
- < p styleName = "prize-money" >
39
+ < p styleName = "prize-money" aria-hidden = "true" >
43
40
{
44
41
! _ . isUndefined ( prizes [ index ] ) && (
45
42
< span styleName = "prize-currency" >
You can’t perform that action at this time.
0 commit comments