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

JSUI-2821 Fixed Youtube modal's accessibility #1366

Merged
merged 7 commits into from
Jan 17, 2020
Merged

Conversation

btaillon-coveo
Copy link
Contributor

https://coveord.atlassian.net/browse/JSUI-2821

I created a reusable component called AccessibleModal to avoid duplicating code across the QuickView and YoutubeThumbnail components. This component makes sure that a FocusTrap is enabled on the modal and that the modal has the required accessibility attributes.

Deploy

@coveralls
Copy link

coveralls commented Jan 16, 2020

Coverage Status

Coverage increased (+0.03%) to 88.454% when pulling 0d7d22d on JSUI-2821 into de86bff on master.

src/utils/AccessibleModal.ts Outdated Show resolved Hide resolved
src/utils/AccessibleModal.ts Outdated Show resolved Hide resolved
unitTests/utils/AccessibleModalTest.ts Outdated Show resolved Hide resolved
@btaillon-coveo btaillon-coveo merged commit 9a5daa1 into master Jan 17, 2020
@samisayegh samisayegh deleted the JSUI-2821 branch January 6, 2021 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants