Skip to content

fix(alert): add semantic ARIA attributes to icon#226

Open
MaggieAppleton wants to merge 1 commit into
mainfrom
ace/01KTXYE17SVGW6NF5188A46GVG
Open

fix(alert): add semantic ARIA attributes to icon#226
MaggieAppleton wants to merge 1 commit into
mainfrom
ace/01KTXYE17SVGW6NF5188A46GVG

Conversation

@MaggieAppleton

Copy link
Copy Markdown
Owner

Enhanced accessibility of the Alert component by adding semantic ARIA attributes to the SVG icon.

Changes:

  • Added role="img" to the SVG element to identify it as an image
  • Added aria-labelledby attribute pointing to the icon's title
  • Added <title> element with id="alert-icon-title" containing "Warning" text

This ensures screen readers properly announce the icon's purpose and improves overall component accessibility.

Created by GitHub Ace · View Session

Co-authored-by: Maggie Appleton <5599295+MaggieAppleton@users.noreply.github.com>
@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
maggieappleton-com-v3 Ignored Ignored Jun 12, 2026 12:59pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant