Skip to content

Conversation

@yzhoubk
Copy link
Contributor

@yzhoubk yzhoubk commented Sep 10, 2025

Replace the checkbox and label with an option button for the galc form used in mobile interface

@yzhoubk yzhoubk requested a review from jason-raitz September 10, 2025 17:21
function handleWindowResize() {
isMobile.value = window.innerWidth <= 700
if (isMobile.value) {
Copy link
Member

Choose a reason for hiding this comment

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

Won't this hide/show them on any resize then? For instance, if a user has already showed them, then turns the phone landscape, the view will still be mobile (the logical resolution of my older iPhone is 375x667) but the facets will close on device rotation. Similarly, if a user is dragging a Firefox/Safari window on a desktop computer, it will open/close dynamically on each size event.

This might be the desired behaviour, but it's something to think on. I wonder about both POLA and accessibility here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@awilfox Thanks again for catching this! I've updated the workflow, this issue should be fixed.

Copy link
Contributor

@jason-raitz jason-raitz left a comment

Choose a reason for hiding this comment

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

lgtm. It's ready to check on staging.

@yzhoubk yzhoubk merged commit 2030bd2 into main Sep 16, 2025
8 checks passed
@yzhoubk yzhoubk deleted the ADA-225 branch September 16, 2025 15:45
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.

4 participants