Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: replace div with button for better accessibility #12046

Merged
merged 1 commit into from
Dec 24, 2024

Conversation

TinsFox
Copy link
Contributor

@TinsFox TinsFox commented Dec 24, 2024

This pull request includes several changes to the CreateAppCard component in the web/app/(commonLayout)/apps/NewAppCard.tsx file. The main changes involve replacing div elements with button elements for better accessibility and adding a display name to the CreateAppCard component.

Accessibility improvements:

  • Replaced div elements with button elements to ensure proper semantics and accessibility for interactive elements.

Code quality improvements:

  • Added CreateAppCard.displayName to improve debugging and component identification in development tools.
  • Removed an unnecessary eslint-disable-next-line comment that was no longer needed.

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Dec 24, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Dec 24, 2024
@crazywoola crazywoola merged commit cdaef30 into langgenius:main Dec 24, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants