Open cookiecrook opened 1 month ago
FYI @spectranaut and @alice since Acacia testing of PDF may also be possible.
This seems workable. A few thoughts:
All of that said, we could certainly bring in some pdf.js folks to help guide us in the right direction.
I was discussing this with @zcorpan and two other things came up:
If we wanted to write the test assertions using the JS WPT framework, we'd likely need to load pdf.js into the test document, rather than embedding it as an iframe or similar. Otherwise, we'll probably run into issues accessing stuff we need in the iframe.
To clarify, the point it that we can't use Firefox's built-in pdf.js because such content is not reachable by author-level JS. The test needs to run pdf.js itself.
I've got an ARIA action to migrate the PDF role mappings (currently a private Google Doc) into an official AAM doc, as a joint deliverable of W3C and PDFA.
So it occurred to me we might be able to test the web implementation of roles and labels (more?) using Mozilla's PDF.js renderer.
Seems like a good standalone task for a future Accessibility Investigation effort.