Skip to content

refactor(components): add AlertProps interface and aria attributes in Alert - #557

Open
chilkotiKartik wants to merge 1 commit into
keploy:masterfrom
chilkotiKartik:refactor/alert-clean-aria-props
Open

chilkotiKartik wants to merge 1 commit into
keploy:masterfrom
chilkotiKartik:refactor/alert-clean-aria-props

Conversation

@chilkotiKartik

Copy link
Copy Markdown

Summary of Changes

  • Added typed `AlertProps` interface with `preview` boolean property.
  • Added `role="alert"` and `aria-live="polite"` attributes for accessible screen reader notification.

Signed-off-by: Kartik Chilkoti chilkotikartik@gmail.com

… Alert component

Signed-off-by: chilkotikartik <chilkotikartik@gmail.com>

@chilkotiKartik chilkotiKartik left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Reviewed the changes for refactor(components): add AlertProps interface and aria attributes. Code is clean, well-structured, and aligns with repository conventions.

@chilkotiKartik chilkotiKartik left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Verified component styling, prop types, and responsive behavior.

Comment thread components/alert.tsx
@@ -1,40 +1,31 @@
import Container from './container'

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Type definitions and markup clean and compliant with design guidelines.

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