The idea is to insert a span in the text layer with an aria-role set to img and use the bounding box provided by the attribute field in the tag dict in order to have non-null dimensions for the image to make it "visible".
PDFWorkerUtil
PDFWorker
unicorn/prefer-optional-catch-binding
DOMFilterFactory.#createUrl
Headers
IPDFStream
ignoreErrors
FontFaceObject
Metadata
class
OptionalContentConfig
ensureMinFontSizeComputed
<body>
PromiseCapability
Promise.withResolvers()
workerPort
workerSrc