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

Make Preferences Dialog Scroll vertically when zoomed #16317

Merged
merged 2 commits into from
Mar 16, 2023

Conversation

tidy-dev
Copy link
Contributor

@tidy-dev tidy-dev commented Mar 14, 2023

Closes https://github.com/github/accessibility-audits/issues/3265

Description

This makes it so that when at user zooms on Preferences/Options dialog. The content is still navigable.

Considerations for this change:

  1. Could have attempted to add a media query for all dialogs.. but, I was concerned about unintended changes/there maybe some dialog that needs special attention. But.. maybe worth revisiting as I assume this will become a frequent problem in our busier dialogs?
  2. This approach opens up the concern of scrollbars on top of scrollbars for some dialogs. Discussed in the accessibility channel and this seems like this is the lesser of two evils (the other being content being unaccessible). But, totally open to other ideas.

Screenshots

macOS

CleanShot.2023-03-14.at.14.09.00.mp4

Windows

CleanShot.2023-03-14.at.14.15.25.mp4

Release notes

Notes: [Fixed] The Preferences/Options dialog content is still visible when zoomed.

Copy link
Member

@niik niik left a comment

Choose a reason for hiding this comment

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

  1. Could have attempted to add a media query for all dialogs.. but, I was concerned about unintended changes/there maybe some dialog that needs special attention. But.. maybe worth revisiting as I assume this will become a frequent problem in our busier dialogs?

Probably but I'm happy to approve this as-is to unblock us

2. This approach opens up the concern of scrollbars on top of scrollbars for some dialogs. Discussed in the accessibility channel and this seems like this is the lesser of two evils (the other being content being unaccessible). But, totally open to other ideas.

👍 No other great ideas

@tidy-dev tidy-dev merged commit 99f7474 into development Mar 16, 2023
@tidy-dev tidy-dev deleted the scrollable-dialogs branch March 16, 2023 16:07
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