Re: Bug with WCAG EM Report tool

Hi Mohammad,

We have found the bug and found a way to fix it. It is already live on 
the Github page, and we will roll it out to the W3.org website in the 
next few days.

Thanks again for reporting this issue and for your detailed description 
of the problem.

Best,
Eric

On 28 Jun 2017, at 12:38, Mohammad Haneef P wrote:

> Hi Eric,
>
>
>
> PFA the Downloadable HTML & CSS  Reports, when you open the downloaded 
> HTML
> file the show criterion box does not work.
>
>
>
> Thanks
>
> Mohammad Haneef P
>
>
>
>
>
> From: Eric Eggert [mailto:ee@w3.org]
> Sent: Friday, June 23, 2017 5:41 PM
> To: Mohammad Haneef P <mohammad.haneef@prakat.in
> <mailto:mohammad.haneef@prakat.in> >
> Cc: wai-eo-editors@w3.org <mailto:wai-eo-editors@w3.org>
> Subject: Re: Bug with WCAG EM Report tool
>
>
>
> 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)





--

Eric Eggert
Web Accessibility Specialist
Web Accessibility Initiative (WAI) at World Wide Web Consortium (W3C)

Received on Friday, 30 June 2017 17:49:58 UTC