mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 15:47:53 -05:00
add alt text for icons
This commit is contained in:
parent
188b51bbbe
commit
cb3ba550d5
1 changed files with 5 additions and 0 deletions
|
@ -20,6 +20,7 @@ const getComponentForItem = (item) => {
|
|||
<SocialMessage
|
||||
datetime={item.datetime_created}
|
||||
iconSrc="/svgs/studio/activity-project.svg"
|
||||
iconAlt="project activity icon"
|
||||
imgClassName="studio-activity-icon"
|
||||
key={item.id}
|
||||
>
|
||||
|
@ -45,6 +46,7 @@ const getComponentForItem = (item) => {
|
|||
<SocialMessage
|
||||
datetime={item.datetime_created}
|
||||
iconSrc="/svgs/studio/activity-project.svg"
|
||||
iconAlt="project activity icon"
|
||||
imgClassName="studio-activity-icon"
|
||||
key={item.id}
|
||||
>
|
||||
|
@ -70,6 +72,7 @@ const getComponentForItem = (item) => {
|
|||
<SocialMessage
|
||||
datetime={item.datetime_created}
|
||||
iconSrc="/svgs/studio/activity-edit.svg"
|
||||
iconAlt="edit activity icon"
|
||||
imgClassName="studio-activity-icon"
|
||||
key={item.id}
|
||||
>
|
||||
|
@ -90,6 +93,7 @@ const getComponentForItem = (item) => {
|
|||
<SocialMessage
|
||||
datetime={item.datetime_created}
|
||||
iconSrc="/svgs/studio/activity-curator.svg"
|
||||
iconAlt="curator activity icon"
|
||||
imgClassName="studio-activity-icon"
|
||||
key={item.id}
|
||||
>
|
||||
|
@ -115,6 +119,7 @@ const getComponentForItem = (item) => {
|
|||
<SocialMessage
|
||||
datetime={item.datetime_created}
|
||||
iconSrc="/svgs/studio/activity-curator.svg"
|
||||
iconAlt="curator activity icon"
|
||||
imgClassName="studio-activity-icon"
|
||||
key={item.id}
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue