TypeError: e.forEach is not a function

Created on 22 July 2023, 11 months ago
Updated 23 April 2024, 2 months ago

Problem/Motivation

If the page has a video element, the popup displays without reporting any issues, even if there are issues. The browser console shows the following error:

Uncaught TypeError: e.forEach is not a function
    check editoria11y.min.js:1616
    checkAll editoria11y.min.js:2320
    setTimeout handler*Ed11y/Ed11y.checkAll/< editoria11y.min.js:2319
    checkAll editoria11y.min.js:2318
    e editoria11y.min.js:2276
    initialize editoria11y.min.js:2282
    Ed11y editoria11y.min.js:3180
    attach js_GSuqZg5TS45fuKtrIkwKTSFOicKlknxHfEq5Pxtl_Fo.js:90
    attachBehaviors js_bbPowjPDl2g3K_w8HZv18Jd3HYLyHEt1Ec_lGmP1OQ4.js:182
    attachBehaviors js_bbPowjPDl2g3K_w8HZv18Jd3HYLyHEt1Ec_lGmP1OQ4.js:178
    <anonymous> js_bbPowjPDl2g3K_w8HZv18Jd3HYLyHEt1Ec_lGmP1OQ4.js:704
    listener js_bbPowjPDl2g3K_w8HZv18Jd3HYLyHEt1Ec_lGmP1OQ4.js:692
    domReady js_bbPowjPDl2g3K_w8HZv18Jd3HYLyHEt1Ec_lGmP1OQ4.js:698
    <anonymous> js_bbPowjPDl2g3K_w8HZv18Jd3HYLyHEt1Ec_lGmP1OQ4.js:703
    <anonymous> js_bbPowjPDl2g3K_w8HZv18Jd3HYLyHEt1Ec_lGmP1OQ4.js:706

This issue is also reported in the JS library issue tracker.

Steps to reproduce

Render a video element on a page where editoria11y is enabled.

Proposed resolution

Fix the issue in the JS library, fetch the changes here and release a new version of the module.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Bugs

Created by

πŸ‡§πŸ‡ͺBelgium DieterHolvoet Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024