RE: Where to file a bug on a bookmarklet?

Hi, Philip –
Thanks for replying!
Please use the Check serialized DOM of current page<javascript:(function()%7bfunction%20c(a,b)%7bvar%20c=document.createElement(%22textarea%22);c.name=a;c.value=b;d.appendChild(c)%7dvar%20e=function(a)%7bfor(var%20b=%22%22,a=a.firstChild;a;)%7bswitch(a.nodeType)%7bcase%20Node.ELEMENT_NODE:b+=a.outerHTML;break;case%20Node.TEXT_NODE:b+=a.nodeValue;break;case%20Node.CDATA_SECTION_NODE:b+=%22%3c![CDATA[%22+a.nodeValue+%22]]\%3e%22;break;case%20Node.COMMENT_NODE:b+=%22%3c\!--%22+a.nodeValue+%22--\%3e%22;break;case%20Node.DOCUMENT_TYPE_NODE:b+=%22%3c!DOCTYPE%20%22+a.name+%22%3e\n%22%7da=a.nextSibling%7dreturn%20b%7d(document),d=document.createElement(%22form%22);d.method=%22POST%22;d.action=%22https://validator.w3.org/nu/%22;d.enctype=%22multipart/form-data%22;d.target=%22_blank%22;d.acceptCharset=%22utf-8%22;c(%22showsource%22,%22yes%22);c(%22content%22,e);document.body.appendChild(d);d.submit()%7d)();> bookmarklet to generate initial results. Then use the Check for WCAG 2.0 parsing compliance<javascript:(function()%7bvar%20removeNg=true;var%20filterStrings=[%22tag%20seen%22,%22Stray%20end%20tag%22,%22Bad%20start%20tag%22,%22violates%20nesting%20rules%22,%22Duplicate%20ID%22,%22first%20occurrence%20of%20ID%22,%22Unclosed%20element%22,%22not%20allowed%20as%20child%20of%20element%22,%22unclosed%20elements%22,%22not%20allowed%20on%20element%22,%22unquoted%20attribute%20value%22,%22Duplicate%20attribute%22];var%20filterRE,root,results,result,resultText,i,cnt=0;filterRE=filterStrings.join(%22|%22);root=document.getElementById(%22results%22);if(!root)%7balert(%22No%20results%20container%20found.%22);return%7dresults=root.getElementsByTagName(%22li%22);for(i=0;i%3cresults.length;i++)%7bresult=results[i];if(result.className!==%22%22)%7bresultText=(result.innerText!==undefined?result.innerText:result.textContent)+%22%22;if(resultText.match(filterRE)===null)%7bresult.style.display=%22none%22;result.className=result.className+%22%20steveNoLike%22;cnt++%7delse%20if(removeNg==true)%7bif(resultText.indexOf(%22not%20allowed%20on%20element%22)!==-1&&resultText.indexOf(%22ng-%22)!==-1)%7bresult.style.display=%22none%22;result.className=result.className+%22%20steveNoLike%22;cnt++%7d%7d%7d%7dalert(%22Complete.%20%22+cnt+%22%20items%20removed.%22)%7d)();> bookmarklet to filter them.
Lisa Louise

From: Philip Taylor <P.Taylor@Rhul.Ac.Uk>
Sent: Monday, September 30, 2019 11:36 AM
To: Lisa Louise Davis (Aquent) <v-lidav@microsoft.com>
Cc: www-validator@w3.org; jukkakk@gmail.com
Subject: Re: Where to file a bug on a bookmarklet?

Lisa Louise Davis (Aquent) wrote:
Still hoping for an answer to my question.

Jukka has already noted that :


Using the W3C validator directly on the page mentioned,
https://www.uwb.edu/brand/website/accessibility/examples/inaccessible-page<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.uwb.edu%2Fbrand%2Fwebsite%2Faccessibility%2Fexamples%2Finaccessible-page&data=02%7C01%7Cv-lidav%40microsoft.com%7C7b7a199155e5484d1b7308d745d51d20%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C637054653949069370&sdata=m6ofokm8u14M0iJwjbU%2B8af13IbszqQfz%2BtSDJ9mlEE%3D&reserved=0>
does not seem to cause any messages (hidden or visible) of the type "End tag form seen, but there were open elements.”

with which analysis I agree.  Thus there does not appear to be a bug to report.
Philip Taylor

Received on Wednesday, 2 October 2019 17:38:09 UTC