<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>230226</bug_id>
          
          <creation_ts>2021-09-13 11:45:42 -0700</creation_ts>
          <short_desc>AX iOS: Make PDFs loaded via &lt;embed&gt; accessible</short_desc>
          <delta_ts>2022-03-07 05:47:26 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Accessibility</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=229556</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=230167</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tyler Wilcock">tyler_w</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andresg_22</cc>
    
    <cc>brennan.young</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1793032</commentid>
    <comment_count>0</comment_count>
      <attachid>438061</attachid>
    <who name="Tyler Wilcock">tyler_w</who>
    <bug_when>2021-09-13 11:45:42 -0700</bug_when>
    <thetext>Created attachment 438061
Testcase

&lt;embed name=&quot;plugin&quot; src=&quot;file:///path/to/example.pdf&quot; type=&quot;application/pdf&quot;&gt;

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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1793033</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-09-13 11:46:10 -0700</bug_when>
    <thetext>&lt;rdar://problem/83065664&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1848704</commentid>
    <comment_count>2</comment_count>
    <who name="Brennan Young">brennan.young</who>
    <bug_when>2022-03-07 05:47:26 -0800</bug_when>
    <thetext>Note that only well-formed PDF/UA files contain the semantic information needed to generate an accessibility tree accurately. &quot;Ordinary&quot; 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.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>438061</attachid>
            <date>2021-09-13 11:45:42 -0700</date>
            <delta_ts>2021-09-13 11:45:42 -0700</delta_ts>
            <desc>Testcase</desc>
            <filename>file_230226.txt</filename>
            <type>text/plain</type>
            <size>744</size>
            <attacher name="Tyler Wilcock">tyler_w</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUw+DQo8aHRtbD4NCiAgICA8Ym9keSBtYXJnaW53aWR0aD0iMCIgbWFyZ2lu
aGVpZ2h0PSIwIiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjogcmdiKDEyOCwgMTI4LCAxMjgpOyBo
ZWlnaHQ6IDEyMDBweDsiPg0KICAgICAgICA8ZW1iZWQgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAw
JSIgbmFtZT0icGx1Z2luIiBzcmM9ImZpbGU6Ly8vVXNlcnMvdHdpbGNvL0RvY3VtZW50cy9leGFt
cGxlLnBkZiIgdHlwZT0iYXBwbGljYXRpb24vcGRmIj4NCiAgICAgICAgPGRpdiBpZD0iYW5ub3Rh
dGlvbkNvbnRhaW5lciI+DQogICAgICAgICAgICA8c3R5bGU+I2Fubm90YXRpb25Db250YWluZXIg
e292ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiBhYnNvbHV0ZTsgcG9pbnRlci1ldmVudHM6IG5v
bmU7IHRvcDogMDsgbGVmdDogMDsgcmlnaHQ6IDA7IGJvdHRvbTogMDsgZGlzcGxheTogLXdlYmtp
dC1ib3g7IC13ZWJraXQtYm94LWFsaWduOiBjZW50ZXI7IC13ZWJraXQtYm94LXBhY2s6IGNlbnRl
cjt9IC5hbm5vdGF0aW9uIHtwb3NpdGlvbjogYWJzb2x1dGU7IHBvaW50ZXItZXZlbnRzOiBhdXRv
O30gdGV4dGFyZWEuYW5ub3RhdGlvbiB7cmVzaXplOiBub25lO30gaW5wdXQuYW5ub3RhdGlvblt0
eXBlPSdwYXNzd29yZCddIHtwb3NpdGlvbjogc3RhdGljOyB3aWR0aDogMjAwcHg7IG1hcmdpbi10
b3A6IDEwMHB4O30gPC9zdHlsZT4NCiAgICAgICAgPC9kaXY+DQogICAgPC9ib2R5Pg0KPC9odG1s
Pg0K
</data>

          </attachment>
      

    </bug>

</bugzilla>