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

Accordion.js does not correctly trigger a subsequent accordion in IE11 #1206

Closed
jwheron opened this issue Oct 8, 2019 · 3 comments
Closed
Assignees
Labels
browser-dependency Track browser bugs of particular interest; not a practices issue but may impact APG. Feedback Issue raised by or for collecting input from people outside APG task force wontfix Task force doesn't believe there is a need to make the requested change

Comments

@jwheron
Copy link

jwheron commented Oct 8, 2019

We have a page going to production that uses Bootstrap tab panes and multiple accordions to break apart complex content into a process that (we hope) users will benefit from. During testing, a user (using IE 11) navigated to a subsequent tab and noticed that none of the accordions trigger. We later found that all accordions past the first one fail to trigger in Internet Explorer.

IE reports line 109 as producing an error (no "forEach" defined for the accordion prototype). In testing, I found that changing line 109 from:
accordion.querySelectorAll('.accordion-trigger').forEach(function (trigger) {
to
Array.prototype.slice.call(accordion.querySelectorAll('.accordion-trigger')).forEach(function (trigger) {
completely restored functionality.

@JAWS-test
Copy link

Do you mean the example at http://www.w3.org/TR/wai-aria-practices/examples/accordion/accordion.html? For me it works with the keyboard and mouse in IE 11.

@ZoeBijl
Copy link
Contributor

ZoeBijl commented Oct 25, 2019

@jwheron do you mean to say you dropped APG code into production?

@mcking65 mcking65 added browser-dependency Track browser bugs of particular interest; not a practices issue but may impact APG. Feedback Issue raised by or for collecting input from people outside APG task force wontfix Task force doesn't believe there is a need to make the requested change labels Oct 4, 2021
@mcking65 mcking65 self-assigned this Oct 4, 2021
@mcking65
Copy link
Contributor

mcking65 commented Oct 4, 2021

Closing b/c APG task force has dropped IE support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser-dependency Track browser bugs of particular interest; not a practices issue but may impact APG. Feedback Issue raised by or for collecting input from people outside APG task force wontfix Task force doesn't believe there is a need to make the requested change
Projects
None yet
Development

No branches or pull requests

4 participants