<?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>191749</bug_id>
          
          <creation_ts>2018-11-16 07:15:53 -0800</creation_ts>
          <short_desc>AX: Description not announced by Voiceover when following links targeting selects or file inputs</short_desc>
          <delta_ts>2026-05-08 01:55:20 -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 12</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 12</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>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Oliver Byford">oliver.byford</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>beeps.grey</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1479400</commentid>
    <comment_count>0</comment_count>
      <attachid>355059</attachid>
    <who name="Oliver Byford">oliver.byford</who>
    <bug_when>2018-11-16 07:15:53 -0800</bug_when>
    <thetext>Created attachment 355059
Reduced test case

This may well affect other types of inputs, but more severe bugs affecting text inputs, text areas, radio buttons and checkboxes (191746, 191748) means it&apos;s impossible to tell.

Given the following markup:

  &lt;a href=&quot;#select&quot;&gt;Link to select&lt;/a&gt;&lt;br&gt;
  &lt;a href=&quot;#file&quot;&gt;Link to input type=&quot;file&quot;&lt;/a&gt;

  &lt;br&gt;&lt;br&gt;

  &lt;label for=&quot;select&quot;&gt;Label for select&lt;/label&gt;&lt;br&gt;
  &lt;span id=&quot;select-description&quot;&gt;Description for select&lt;/span&gt;&lt;br&gt;
  &lt;select id=&quot;select&quot; name=&quot;select&quot; aria-describedby=&quot;select-description&quot;&gt;
    &lt;option value=&quot;one&quot; selected&gt;Option one&lt;/option&gt;
    &lt;option value=&quot;two&quot;&gt;Option two&lt;/option&gt;
    &lt;option value=&quot;three&quot;&gt;Option three&lt;/option&gt;
  &lt;/select&gt;

  &lt;br&gt;&lt;br&gt;

  &lt;label for=&quot;file&quot;&gt;Label for file upload&lt;/label&gt;
  &lt;span id=&quot;file-description&quot;&gt;Description for file upload&lt;/span&gt;
  &lt;input id=&quot;file&quot; name=&quot;file&quot; type=&quot;file&quot; aria-describedby=&quot;file-description&quot;&gt;

Focus the link to each input type and activate it by double-tapping.


For the link to the select:

Expected behaviour:

Voiceover should include the description associated using aria-describedby, as it does when focusing the element by swiping through the document:

&quot;Legend for select, option one, popup button. Description for select. Double-tap to active the picker&quot;

Actual behaviour:

Voiceover does not include the description as part of the announcement, nor the instruction &apos;Double-tap to activate the picker&apos;:

&quot;Legend for select, option one, popup button.&quot;


For the link to file input:

Voiceover should include the description associated using aria-describedby, as it does when focusing the element by swiping through the document:

&quot;Label for file upload, no file selected, button. Description for file upload.&quot;

Voiceover does not include the description as part of the announcement, nor the fact that the focussed element is a button:

&quot;Label for file upload, no file selected.&quot;


Tested in iOS 12.1 (16B92) on an iPhone X (A1901)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1479401</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-11-16 07:16:16 -0800</bug_when>
    <thetext>&lt;rdar://problem/46126478&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2208916</commentid>
    <comment_count>2</comment_count>
    <who name="beeps">beeps.grey</who>
    <bug_when>2026-05-08 01:55:20 -0700</bug_when>
    <thetext>I&apos;ve retested this today in iOS 26.4 and got the following announcements.

When swiping to the `select` element:

&gt; Label for select. Description, Description for select. Option one. Popup button. Double tap to activate the picker. 

When double tapping link to the `select` element: 

&gt; Label for select. Description, Description for select. Option one. Popup button. 

When swiping to the `input type=&quot;file&quot;` element:

&gt; Label for file upload. Description, Description for file upload. No file selected. Button. 

When double tapping link to the `input type=&quot;file&quot;` element:

&gt; Label for file upload. Description, Description for file upload. No file selected. 

The issue of not announcing content associated with `aria-describedby` appears to have been resolved since this bug was raised, although there is still a discrepancy in the level of detail announced between the two navigation methods.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>355059</attachid>
            <date>2018-11-16 07:15:53 -0800</date>
            <delta_ts>2018-11-16 07:15:53 -0800</delta_ts>
            <desc>Reduced test case</desc>
            <filename>link-to-select-file.html</filename>
            <type>text/html</type>
            <size>809</size>
            <attacher name="Oliver Byford">oliver.byford</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sIGxhbmc9ImVuIj4KPGhlYWQ+CiAgPG1ldGEgY2hhcnNldD0i
dXRmLTgiPgogIDx0aXRsZT5MaW5rIHRvIHRleHQgaW5wdXRzIGFuZCB0ZXh0YXJlYXM8L3RpdGxl
Pgo8L2hlYWQ+Cjxib2R5PgogIDxhIGhyZWY9IiNzZWxlY3QiPkxpbmsgdG8gc2VsZWN0PC9hPjxi
cj4KICA8YSBocmVmPSIjZmlsZSI+TGluayB0byBpbnB1dCB0eXBlPSJmaWxlIjwvYT4KCiAgPGJy
Pjxicj4KCiAgPGxhYmVsIGZvcj0ic2VsZWN0Ij5MYWJlbCBmb3Igc2VsZWN0PC9sYWJlbD48YnI+
CiAgPHNwYW4gaWQ9InNlbGVjdC1kZXNjcmlwdGlvbiI+RGVzY3JpcHRpb24gZm9yIHNlbGVjdDwv
c3Bhbj48YnI+CiAgPHNlbGVjdCBpZD0ic2VsZWN0IiBuYW1lPSJzZWx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