Replace anchor without href with accessible link or button (merges into #2019) #2022
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 PR by cubic
This PR addresses the comment in #2019 – feat(default-app): Simplify pattern list with clickable names and minimal actions
File:
packages/patterns/default-app.tsxLine: 186
Comment:
This fix was automatically generated. Please review the changes carefully before merging.
Summary by cubic
Replaced a non-accessible anchor with a proper link in default-app to support keyboard navigation, addressing the accessibility comment from #2019. Added href and preventDefault to preserve the existing visit() behavior.
Written for commit 1c99fca. Summary will update automatically on new commits.