Bug 230226 - AX iOS: Make PDFs loaded via <embed> accessible
Summary: AX iOS: Make PDFs loaded via <embed> accessible
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-13 11:45 PDT by Tyler Wilcock
Modified: 2022-03-07 05:47 PST (History)
3 users (show)

See Also:


Attachments
Testcase (744 bytes, text/plain)
2021-09-13 11:45 PDT, Tyler Wilcock
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tyler Wilcock 2021-09-13 11:45:42 PDT
Created attachment 438061 [details]
Testcase

<embed name="plugin" src="file:///path/to/example.pdf" type="application/pdf">

These PDFs are rendered fine, but are not accessible to VoiceOver.

https://bugs.webkit.org/show_bug.cgi?id=229556 fixed this for Mac, but not for iOS.
Comment 1 Radar WebKit Bug Importer 2021-09-13 11:46:10 PDT
<rdar://problem/83065664>
Comment 2 Brennan Young 2022-03-07 05:47:26 PST
Note that only well-formed PDF/UA files contain the semantic information needed to generate an accessibility tree accurately. "Ordinary" PDF files (i.e. those without semantic tags) are likely to fail even in the best implementations.

However, PDF/UA in-browser should generate an accessibility tree. It does not.

This problem is not limited to iOS, and also appears on Mac Safari.

A possible workaround is stymied by another bug (223798) with aria-owns.