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 @@ -644,22 +644,29 @@ exports[`Render with specified profile 1`] = `
644
644
>
645
645
<div
646
646
className = " src-shared-components-TopcoderHeader-___style__user-menu-handle___r6kbg"
647
+ role = " button"
647
648
style = {
648
649
Object {
649
650
" color" : " #555555" ,
650
651
}
651
652
}
653
+ tabIndex = { 0 }
652
654
/>
653
- <div
654
- className = " src-shared-components-TopcoderHeader-___style__avatar___3BqbY"
655
+ <span
656
+ role = " link"
657
+ tabIndex = { 0 }
655
658
>
656
- <ThemedAvatar
657
- composeAdhocTheme = " deeply"
658
- composeContextTheme = " softly"
659
- mapThemrProps = { [Function ]}
660
- themePriority = " adhoc-context-default"
661
- />
662
- </div >
659
+ <div
660
+ className = " src-shared-components-TopcoderHeader-___style__avatar___3BqbY"
661
+ >
662
+ <ThemedAvatar
663
+ composeAdhocTheme = " deeply"
664
+ composeContextTheme = " softly"
665
+ mapThemrProps = { [Function ]}
666
+ themePriority = " adhoc-context-default"
667
+ />
668
+ </div >
669
+ </span >
663
670
</div >
664
671
<div
665
672
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