Closed clapierre closed 2 years ago
Ace performs its checks on the version of the document that a browser would see, via a "headless browser". So I believe the error is correct, because id="js-test-src"
would appear on two elements after the script runs . I can think of a few different approaches that wouldn't cause this error:
<noscript>
tags <p>Javascript is <noscript>not</noscript> enabled.</p>
innerHTML='<b>JavaScript is enabled. This test passes.</b>';
<span id="js-test-src"><b>JavaScript is enabled...</b></span>
and just copy the innerHTML.If for some reason Ace still reports an error, then please let us know.
Closing this issue as the behaviour is expected.
1.1.1 Command line version
Received this error for a JavaScript replacement of text in our Javascript test in our Enhanced Image Description EPUBTest.org book.
Minor | WCAG 2.0 A | duplicate-idaXe | " Extended description using a progressively enhanced details and summary "Text/testDetailsEnhanced.xhtml#epubcfi(/4/10[extdesc-190]/6/2[js-test-src])Snippet:"JavaScript is enabled. This test passes." "JavaScript is enabled. This test passes."
Here is the code for this xhtml page
Here is a link to the testBook, this is test # 190