<?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>229118</bug_id>
          
          <creation_ts>2021-08-15 02:51:04 -0700</creation_ts>
          <short_desc>AX: position:absolute; on a &lt;caption&gt; element prevents VoiceOver from reading the table</short_desc>
          <delta_ts>2021-08-15 03:01:31 -0700</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>Safari 14</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 14</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>a11ybugreportsnz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andresg_22</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1784371</commentid>
    <comment_count>0</comment_count>
      <attachid>435561</attachid>
    <who name="">a11ybugreportsnz</who>
    <bug_when>2021-08-15 02:51:04 -0700</bug_when>
    <thetext>Created attachment 435561
A demo of a table caption that causes this bug

If a table has a &lt;caption&gt; element with the CSS rule &quot;position: absolute&quot;, VoiceOver cannot read the contents of the table, and gets &quot;stuck&quot;.

This mainly occurs when you use the left/right swipe gestures to move the VoiceOver cursor.

It is common to see &apos;screen reader only&apos; content in websites. This is typically implemented with an &apos;.sr-only&apos; CSS class or similar, such as in Bootstrap.
Most &apos;.sr-only&apos; implementations use the &apos;position: absolute&apos; CSS rule.
This means, if a content author wants to visually hide a table caption but preserve accessibility for screen readers, this bug will occur - making it impossible to access the table&apos;s contents.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1784372</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-08-15 02:51:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/81951964&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>435561</attachid>
            <date>2021-08-15 02:51:04 -0700</date>
            <delta_ts>2021-08-15 02:51:04 -0700</delta_ts>
            <desc>A demo of a table caption that causes this bug</desc>
            <filename>Caption Element VO Bug Demo 2.html</filename>
            <type>text/html</type>
            <size>1774</size>
            <attacher>a11ybugreportsnz</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sIGxhbmc9J2VuLW56Jz4KCjxoZWFkPgogICAgPHRpdGxlPmlP
UyArIFNhZmFyaSArIFZvaWNlT3ZlciB0YWJsZSBjYXB0aW9uIGJ1ZyBkZW1vPC90aXRsZT4KICAg
IDxzdHlsZT4KICAgICAgICB0ZCwKICAgICAgICBjYXB0aW9uIHsKICAgICAgICAgICAgYm9yZGVy
OiAxcHggc29saWQgYmxhY2s7CiAgICAgICAgICAgIHBhZGRpbmc6IDEwcHg7CiAgICAgICAgfQoK
ICAgICAgICBib2R5IHsKICAgICAgICAgICAgZm9udC1mYW1pbHk6IC1hcHBsZS1zeXN0ZW07CiAg
ICAgICAgfQogICAgPC9zdHlsZT4KPC9oZWFkPgoKPGJvZHk+CiAgICA8aDE+aU9TICsgU2FmYXJp
ICsgVm9pY2VPdmVyICZsdDt0YWJsZSZndDsgJmx0O2NhcHRpb24mZ3Q7IGJ1ZyBkZW1vPC9oMT4K
CiAgICA8aDI+Vm9pY2VPdmVyIGdldHMgJ3N0dWNrJyBvbiBwb3NpdGlv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FibGU8
L2xpPgogICAgICAgIDxsaT5Zb3Ugd2lsbCBub3RpY2UgdGhhdCBWb2ljZU92ZXIgZ2V0cyAnc3R1
Y2snIG9uICJCdWdneSBDYXB0aW9uIiBhbmQgY2Fubm90IGFubm91bmNlIHRoZSB0YWJsZTwvbGk+
CiAgICA8L29sPgoKICAgIDx0YWJsZT4KICAgICAgICA8Y2FwdGlvbiBzdHlsZT0ncG9zaXRpb246
IGFic29sdXRlOyBjb2xvcjogdHJhbnNwYXJlbnQ7IGJvcmRlci1jb2xvcjogdHJhbnNwYXJlbnQ7
Jz5CdWdneSBDYXB0aW9uPC9jYXB0aW9uPgogICAgICAgIDx0Ym9keT4KICAgICAgICAgICAgPHRy
PgogICAgICAgICAgICAgICAgPHRkPkFwcGxlPC90ZD4KICAgICAgICAgICAgICAgIDx0ZD4kMi45
OSBlYWNoPC90ZD4KICAgICAgICAgICAgPC90cj4KICAgICAgICAgICAgPHRyPgogICAgICAgICAg
ICAgICAgPHRkPlBlYXI8L3RkPgogICAgICAgICAgICAgICAgPHRkPiQ3Ny44NSBlYWNoPC90ZD4K
ICAgICAgICAgICAgPC90cj4KICAgICAgICA8L3Rib2R5PgogICAgPC90YWJsZT4KPC9ib2R5PgoK
PC9odG1sPg==
</data>

          </attachment>
      

    </bug>

</bugzilla>