- From: Mohammad Haneef P <mohammad.haneef@prakat.in>
- Date: Fri, 23 Jun 2017 16:53:59 +0530
- To: <wai-eo-editors@w3.org>
- Message-ID: <009b01d2ec13$40004920$c000db60$@prakat.in>
Hi Team, I was using the WCAG EM Report tool, and found a bug, after entering all the details, when we download the HTML report the collapsible function does not work, PFB the image Below: The reason it is not working is because the function name is missing in the script, which is function (a) { var b=-1!==[!0,"true"].index Of(a.getAttribute("aria-expanded")); a.setAttribute("aria-expanded",!b); var c=a.parentNode.parentNode.nextSibling;c.classList.toggle("collapsed") } When we add the function name toggleCriterionText as below the collapse function works PFB the screenshot below: function toggleCriterionText(a) { var b=-1!==[!0,"true"].indexOf(a.getAttribute("aria-expanded")); a.setAttribute("aria-expanded",!b); var c=a.parentNode.parentNode.nextSibling;c.classList.toggle("collapsed") } If we can fix this in the online template then it would be helpful for all. Thanks and regards Mohammad Haneef P Accessibility Evangelist,
Attachments
- image/png attachment: image003.png
- image/png attachment: image002.png
- image/jpeg attachment: image005.jpg
Received on Friday, 23 June 2017 12:04:02 UTC