- From: Eric Eggert <ee@w3.org>
- Date: Fri, 23 Jun 2017 14:11:03 +0200
- To: "Mohammad Haneef P" <mohammad.haneef@prakat.in>
- Cc: wai-eo-editors@w3.org
- Message-ID: <7E7EF9C0-1FB0-4CE2-BBF7-AFA26FA008EC@w3.org>
Hi Mohammad,
Thanks for reporting the issue!
I have just tested it here and it does working the browser I use. Can
you tell us what browser you are using, so we can see if there is an
incompatibility?
Best, Eric
On 23 Jun 2017, at 13:23, Mohammad Haneef P wrote:
> 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,
--
Eric Eggert
Web Accessibility Specialist
Web Accessibility Initiative (WAI) at World Wide Web Consortium (W3C)
Received on Friday, 23 June 2017 12:11:18 UTC