Skip to content

Commit

Permalink
Update packages/ui/components/AppCard.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Fran Méndez <[email protected]>
  • Loading branch information
KhudaDad414 and fmvilas authored Nov 30, 2023
1 parent 0482955 commit 6e17d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/components/AppCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const AppCard = ({isActive = false, name, description, badges, className,
if (isClient) ariaDescriptionParts.push('client');
if (isServer) ariaDescriptionParts.push('server');
const protocols = badges.map(badge => badge.toLowerCase()).join(', ');
if (protocols) ariaDescriptionParts.push(`uses the ${protocols} protocols`);
if (protocols) ariaDescriptionParts.push(`uses the following protocols: ${protocols}`);

const ariaDescription = `This application, named ${name}, is ${ariaDescriptionParts.join(' and ')}.`;

Expand Down

0 comments on commit 6e17d58

Please sign in to comment.