Skip to content

chore(a11y audit): update alt text on badges in contributor page, remove unneeded constants file #7743

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
152 changes: 0 additions & 152 deletions src/constants/img.ts

This file was deleted.

13 changes: 6 additions & 7 deletions src/pages/contribute/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { InternalLinkButton } from '@/components/InternalLinkButton';
import HowItWorks from '@/components/contribute/HowItWorks';
import { YoutubeEmbed } from '@/components/YoutubeEmbed';
import { Columns } from '@/components/Columns';
import * as img from '../../constants/img';

const meta = {
title: 'AWS Amplify Contributor Program',
Expand Down Expand Up @@ -64,24 +63,24 @@ export default function Contribute() {
wrap={'wrap'}
>
<ExportedImage
alt={img.BADGE_FOUNDATIONAL.alt}
alt="AWS Amplify open source contributor Foundational Badge"
height={200}
width={200}
src={img.BADGE_FOUNDATIONAL.src}
src="/assets/badge-foundational.png"
/>

<ExportedImage
alt={img.BADGE_ITERMEDIATE.alt}
alt="AWS Amplify open source contributor Intermediate Badge"
height={200}
width={200}
src={img.BADGE_ITERMEDIATE.src}
src="/assets/badge-intermediate.png"
/>

<ExportedImage
alt={img.BADGE_ADVANCED.alt}
alt="AWS Amplify open source contributor Advanced Badge"
height={200}
width={200}
src={img.BADGE_ADVANCED.src}
src="/assets/badge-advanced.png"
/>
</Flex>

Expand Down