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

Vimeo iframe does not pass events to parent #953

Open
pgouldmiro opened this issue Oct 12, 2023 · 1 comment
Open

Vimeo iframe does not pass events to parent #953

pgouldmiro opened this issue Oct 12, 2023 · 1 comment

Comments

@pgouldmiro
Copy link

We currently use the Vimeo iframe within a modal.

We listen for keyboard events, in particular the Esc key to close the modal. This is important both from a usability perspective, but as well as accessibility to ensure keyboard-only users are not trapped in content (WCAG Success Criterion 2.1.2).

It appears that no user input events get passed from the Vimeo iframe back to the parent. This means that if the user is focused within the Vimeo iframe, we cannot intercept the Esc key event to close the modal.

Expected Behavior

User input event should be passed back to the parent, preferably using window.postMessage().

Actual Behavior

No user input events get passed from the Vimeo iframe back to the parent

Steps to Reproduce

  1. Embed a Vimeo iframe onto a page
  2. Using the Tab key, tab until one of the elements within the Vimeo iframe is focused
  3. Press the Esc key
  4. Event listeners on the parent page will not receive the event
@rkrishnan8594
Copy link
Contributor

Thanks for leaving this feedback @pgouldmiro. This is not a feature the SDK currently supports, but we've filed an internal ticket to explore eventually adding support.

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

No branches or pull requests

2 participants