File tree 2 files changed +19
-10
lines changed
2 files changed +19
-10
lines changed Original file line number Diff line number Diff line change @@ -652,22 +652,29 @@ exports[`Render with specified profile 1`] = `
652
652
>
653
653
<div
654
654
className = " src-shared-components-TopcoderHeader-___style__user-menu-handle___r6kbg"
655
+ role = " button"
655
656
style = {
656
657
Object {
657
658
" color" : " #555555" ,
658
659
}
659
660
}
661
+ tabIndex = { 0 }
660
662
/>
661
- <div
662
- className = " src-shared-components-TopcoderHeader-___style__avatar___3BqbY"
663
+ <span
664
+ role = " link"
665
+ tabIndex = { 0 }
663
666
>
664
- <ThemedAvatar
665
- composeAdhocTheme = " deeply"
666
- composeContextTheme = " softly"
667
- mapThemrProps = { [Function ]}
668
- themePriority = " adhoc-context-default"
669
- />
670
- </div >
667
+ <div
668
+ className = " src-shared-components-TopcoderHeader-___style__avatar___3BqbY"
669
+ >
670
+ <ThemedAvatar
671
+ composeAdhocTheme = " deeply"
672
+ composeContextTheme = " softly"
673
+ mapThemrProps = { [Function ]}
674
+ themePriority = " adhoc-context-default"
675
+ />
676
+ </div >
677
+ </span >
671
678
</div >
672
679
<div
673
680
className = " opened src-shared-components-TopcoderHeader-___style__search-icon___3w5nA"
Original file line number Diff line number Diff line change @@ -320,10 +320,12 @@ export default class TopcoderHeader extends React.Component {
320
320
color : getRatingColor ( _ . get ( normalizedProfile , 'maxRating.rating' , 0 ) ) ,
321
321
} }
322
322
styleName = "user-menu-handle"
323
+ tabIndex = { 0 }
324
+ role = "button"
323
325
>
324
326
{ normalizedProfile . handle }
325
327
</ div >
326
- { userAvatar }
328
+ < span role = "link" tabIndex = { 0 } > { userAvatar } </ span >
327
329
</ div >
328
330
) ;
329
331
} else {
You can’t perform that action at this time.
0 commit comments