File tree 2 files changed +3
-2
lines changed
__tests__/shared/components/ProfilePage/Skill/__snapshots__
src/shared/components/ProfilePage/Skill
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ exports[`renders a skill correctly 1`] = `
5
5
className = " src-shared-components-ProfilePage-Skill-___styles__container___bW089"
6
6
>
7
7
<div
8
+ aria-label = " Test Skill Icon"
8
9
className = " src-shared-components-ProfilePage-Skill-___styles__skill-icon___1-d49"
9
10
>
10
11
<FallbackIcon
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ const Skill = ({
22
22
isVerified,
23
23
} ) => (
24
24
< div styleName = "container" >
25
- < div styleName = "skill-icon" >
26
- { assets && assets . keys ( ) . includes ( `./id-${ tagId } .svg` ) ? < img src = { assets ( `./id-${ tagId } .svg` ) } alt = "Skill Icon" /> : < FallbackIcon /> }
25
+ < div styleName = "skill-icon" aria-label = { ` ${ tagName } Icon` } >
26
+ { assets && assets . keys ( ) . includes ( `./id-${ tagId } .svg` ) ? < img src = { assets ( `./id-${ tagId } .svg` ) } alt = { ` ${ tagName } Icon` } /> : < FallbackIcon /> }
27
27
</ div >
28
28
< div styleName = "name-wrapper" >
29
29
< div styleName = "name" >
You can’t perform that action at this time.
0 commit comments