Skip to content

Conversation

@sowmyagunturi
Copy link

This PR improves accessibility for the Preview component by:

  • Adding role="button" to indicate it is clickable
  • Adding tabIndex for keyboard focus
  • Adding aria-label for screen readers
  • Handling keyboard events (Enter/Space) to trigger the preview

This ensures that the Preview component is accessible to all users.

Copy link
Collaborator

@luwes luwes left a comment

Choose a reason for hiding this comment

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

can you please edit the code inline? not comment out the old code

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.

2 participants