Skip to content

Conversation

gaurav1603
Copy link

This update enhances the accessibility and semantics of the CardTitle component. Currently, the title is rendered as a simple div, which lacks a defined heading role. This change introduces a heading role and an appropriate ARIA level, ensuring that screen readers and assistive technologies can correctly interpret the component as a section heading.

Added role="heading" and aria-level attributes to the CardTitle component.
Ensures semantic meaning without altering the visual structure or converting the element to an actual subheading tag.
Improves accessibility for users relying on screen readers.

Copy link

vercel bot commented Oct 13, 2025

@gaurav1603 is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

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