Skip to content
Merged
3 changes: 2 additions & 1 deletion static/app/components/events/contexts/contextIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,11 @@ export function getLogoImage(name: string): string | null {

export interface ContextIconProps {
name: string;
alt?: string;
Comment thread
ryan953 marked this conversation as resolved.
Outdated
size?: SVGIconProps['size'];
}

export function ContextIcon({name, size: providedSize = 'xl'}: ContextIconProps) {
export function ContextIcon({name, alt, size: providedSize = 'xl'}: ContextIconProps) {
Comment thread
ryan953 marked this conversation as resolved.
Outdated
const size = SvgIcon.ICON_SIZES[providedSize];
const platformIconName = getLogoImage(name);

Expand Down
2 changes: 1 addition & 1 deletion static/app/components/events/contexts/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ export function getContextIcon({
if (getLogoImage(iconName) === null) {
return null;
}
return <ContextIcon name={iconName} {...contextIconProps} />;
return <ContextIcon name={iconName} alt={`${type}: ${iconName}`} {...contextIconProps} />;
}

export function getFormattedContextData({
Expand Down
2 changes: 1 addition & 1 deletion static/app/components/feedback/feedbackSetupPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function FeedbackSetupPanel() {
<NoMarginPanel>
<Container>
<IlloBox>
<img src={feedbackOnboardingImg} />
<img src={feedbackOnboardingImg} alt="" />
</IlloBox>
<StyledBox>
<Fragment>
Expand Down
2 changes: 1 addition & 1 deletion static/app/views/feedback/feedbackEmptyState.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export function FeedbackEmptyState({projectIds, issueTab = false}: Props) {
return (
<OnboardingPanel
data-test-id="user-feedback-empty"
image={<img src={emptyStateImg} />}
image={<img src={emptyStateImg} alt="" />}
>
<h3>{t('What do users think?')}</h3>
<p>
Expand Down
Loading