Skip to content

Conversation

jerivas
Copy link
Member

@jerivas jerivas commented Apr 28, 2022

@netlify
Copy link

netlify bot commented Apr 28, 2022

Deploy Preview for css-toggles ready!

Name Link
🔨 Latest commit 467e079
🔍 Latest deploy log https://app.netlify.com/sites/css-toggles/deploys/626adef3db02470009e35963
😎 Deploy Preview https://deploy-preview-19--css-toggles.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@jerivas jerivas requested a review from mirisuzanne April 28, 2022 18:37
Copy link
Member

@mirisuzanne mirisuzanne left a comment

Choose a reason for hiding this comment

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

Functionality seems good to the best of my understanding. I don't know if/how we should handle the case where you could have multiple items toggle their visibility using the same button? Can 'aria-controls' have multiple IDs?

Maybe get one of the JS folks to review the code on these?

@jerivas
Copy link
Member Author

jerivas commented Apr 29, 2022

Re: multiple elements toggled by one trigger: that's a good point. Turns out we can pass a list of space-separated ids 💡

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