Skip to content

Hide "Was this page helpful?" popup from focus when not visible #2271

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

Closed
wants to merge 2 commits into from

Conversation

quiteolly
Copy link
Contributor

Elements that get hidden with opacity: 0 still get exposed to keyboard users and are potentially focusable, even while they are invisible and are ignored by some (not all) screen readers. While display: none on the elements would remove the transitions, visibility: hidden should not have this effect in modern browsers and should correctly remove its children from focus order. The transitions should still be tested by someone else for good measure.

Other components on the website probably require similar changes to be made accessible.

@ghost
Copy link

ghost commented Feb 15, 2022

CLA assistant check
All CLA requirements met.

Copy link
Contributor

@orta orta left a comment

Choose a reason for hiding this comment

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

Cool, thanks!

@jakebailey
Copy link
Member

Hm, #2338 was accepted first. Probably this could replace it if it still works?

@jakebailey
Copy link
Member

Going to just close this; the other fix came from the accessibility team so I think the current state is "good enough".

@jakebailey jakebailey closed this May 20, 2023
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.

3 participants