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

return index to consumer by onClick #797

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KathyWang0208
Copy link

@KathyWang0208 KathyWang0208 commented Apr 28, 2024

Here is a case:
we want to pass the specific image when user click one image in image gallery to achieve the aim which user can see the image in image gallery wall.
so we need render image item as a button.
one problem with this is that image-gallery-slide is clickable, and the internal image item also clickable, the behavior is not expected by a11y rules.
so make this change to fix this issue.

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.

None yet

2 participants