equal-access
equal-access copied to clipboard
[Extension] Don't show full data:text/html content on generated HTML report page
Summary
When passing HTML into getCompliance, the full data:text/html... content gets displayed on the generated report page.
This pushes the actual results table waaaay down the page — see screenshot (note the scrollbar):

My suggestion would be to instead show just the label value passed to getCompliance as these are required and unique. Or if the full HTML content must be shown, moving it below the table of results.
@tdjsnelling I agree. We need a general solution, but which tool are you using? Browser, Node, Cypress, Karma? For the browser, we don't have a label, but we should at least be able to snip the length somehow.
@tdjsnelling I agree. We need a general solution, but which tool are you using? Browser, Node, Cypress, Karma? For the browser, we don't have a label, but we should at least be able to snip the length somehow.
Sorry, this is with Node
Easier to reproduce by:
- Load: https://altoromutual.com/?xyz=jdjklsfhsdakjlfhjkdsahfkjsdhafkjhdslkjfhdsjkfhkjdsahfkjasdhkfjhdsakjlfhkjlsadhfkjadshfkjhsdklfhkjasdhfkjdsahfkjasdhfkjhdskjfhasdkljfhkjadshfkjdsahfklsdhfkjlhsadkjfhkadsjfhkjadshfkjdsahfkljadshfkjhasdkjfhkjadshfjkdsahfkjlhasdkjlfhkjasdhfkjlsadhfjklahdsklfjhskjdahfjkashdfkjsdahfkjhsdakjfhdjksafhkjadlshfkjladshfkjlhadskjlfhklasjdhfkjldsahfjkashdfjklhdasjkfhsadkjlhfkjsadhfkjdaslhfljadskjlafjkdashfkjdashlf
- Save report and look at the HTML saved report.
You'll see the URL go across the page under the report. We need some sort of ellipsis with popup / copy.