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

fix(accessibility): skip uploadsManager in voiceover if not visible #3379

Closed

Conversation

bkepka-box
Copy link
Contributor

@bkepka-box bkepka-box commented Aug 4, 2023

Without this change voiceover is detecting uploadManager even if it is not visible on the screen.

@bkepka-box bkepka-box requested a review from a team as a code owner August 4, 2023 10:09
@CLAassistant
Copy link

CLAassistant commented Aug 4, 2023

CLA assistant check
All committers have signed the CLA.

@@ -3,6 +3,7 @@
.be.bcu-uploads-manager-container {
position: fixed;
bottom: 0;
display: none;
width: 100%;
max-height: 0;
transition: max-height .5s;
Copy link
Contributor

Choose a reason for hiding this comment

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

there's a transition on this class, does it still work? I think there are conflicts when trying to animate and update the display property at the same time (I think some issues with visibility too)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tjuanitas It still works for me on Chrome and Safari

Screen.Recording.2023-08-07.at.10.16.06.mov

Copy link
Contributor

Choose a reason for hiding this comment

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

that transition occurs when toggling bcu-is-expanded which happens after display: initial is already applied. you'll want to test toggling bcu-is-visible which handles the transition between display: none -> display: initial. this will happen on drag-or-drop or when a file is uploaded

uploader-transition.mov

@bkepka-box bkepka-box closed this Aug 11, 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.

4 participants