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

DOMContentLoaded event is not fired #10310

Closed
3 tasks done
Namchee opened this issue Jan 11, 2024 · 2 comments · Fixed by #10770
Closed
3 tasks done

DOMContentLoaded event is not fired #10310

Namchee opened this issue Jan 11, 2024 · 2 comments · Fixed by #10770
Assignees
Labels
idle needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. p2 We want to address this but may have other higher priority items. plus:playground

Comments

@Namchee
Copy link

Namchee commented Jan 11, 2024

Summary

DOMContentLoaded event isn't fired by the playground code. This makes every code that depends on DOMContentLoaded breaks as they won't be executed.

URL

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/tab_role

Reproduction steps

  1. Visit the page
  2. Open the code in playground by clicking the Play link
  3. Issue reproduced

Expected behavior

The tabs should be navigatable with Tab and arrow keys.

Actual behavior

Tab example doesn't work since DOMContentLoaded event is not fired at all.

Device

Desktop

Browser

Chrome

Browser version

Stable

Operating system

Linux

Screenshot

No response

Anything else?

This issue came from mdn/content#29889

Can be hacked by listening to readyState instead. Sample PR.

Validations

@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jan 11, 2024
@argl argl assigned argl and fiji-flo and unassigned argl Jan 31, 2024
@argl argl added p2 We want to address this but may have other higher priority items. plus:playground and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Jan 31, 2024
@mdn mdn deleted a comment from Amirko22 Feb 7, 2024
@mdn mdn deleted a comment from Amirko22 Feb 7, 2024
@mdn mdn deleted a comment from Amirko22 Feb 7, 2024
@github-actions github-actions bot added the idle label Mar 8, 2024
@wbamberg
Copy link
Collaborator

@caugner, this does not seem to be fixed by #10770 .

@wbamberg wbamberg reopened this Apr 16, 2024
@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Apr 16, 2024
@caugner
Copy link
Contributor

caugner commented Apr 16, 2024

@wbamberg Works for me. Please open a new issue for the problem you're experiencing..

@caugner caugner closed this as completed Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idle needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. p2 We want to address this but may have other higher priority items. plus:playground
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants