<?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>233907</bug_id>
          
          <creation_ts>2021-12-06 19:17:34 -0800</creation_ts>
          <short_desc>AX: ARIA &quot;form&quot; role should vend AXSubrole: AXLandmarkForm.</short_desc>
          <delta_ts>2025-05-10 08:45:53 -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>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="James Craig">jcraig</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andresg_22</cc>
    
    <cc>scottaohara</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1820858</commentid>
    <comment_count>0</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2021-12-06 19:17:34 -0800</bug_when>
    <thetext>AX: ARIA &quot;form&quot; role should vend AXSubrole: AXLandmarkForm. AFAIK, AXRole should still be AXGroup.

Seems like this landmark may have been overlooked when the other landmarks were added. There may be additional Radars needed on the platforms to support AT rotor navigation, for example.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1820859</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-12-06 19:17:49 -0800</bug_when>
    <thetext>&lt;rdar://problem/86135614&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1820860</commentid>
    <comment_count>2</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2021-12-06 19:17:53 -0800</bug_when>
    <thetext>From: https://github.com/w3c/core-aam/issues/101</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1839893</commentid>
    <comment_count>3</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2022-02-10 13:27:22 -0800</bug_when>
    <thetext>Update... [AXSubrole: AXLandmarkForm] for role=form but only if the form is labeled, e.g. with aria-label.

Note: There is some ambiguity on whether the landmark mapping should apply to the native &lt;form&gt; element if it has a label like &lt;form title=&quot;foo&quot;&gt;. Seeking comment from ARIA contributors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1839895</commentid>
    <comment_count>4</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2022-02-10 13:30:02 -0800</bug_when>
    <thetext>one of the related ARIA discussions: https://github.com/w3c/core-aam/issues/100</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1839896</commentid>
    <comment_count>5</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2022-02-10 13:31:23 -0800</bug_when>
    <thetext>Joanie made the related ATK change here: https://bugs.webkit.org/attachment.cgi?id=323323&amp;action=prettypatch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1839931</commentid>
    <comment_count>6</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2022-02-10 14:13:53 -0800</bug_when>
    <thetext>I think it&apos;s probably fine to change the subrole for &lt;form title=&quot;foo&quot;&gt; too. It&apos;s already exposed as a labeled AXGroup, so it&apos;d be highly unlikely to cause an interop regression. The new role description and landmark navigation functionality would be an innocuous improvement.

Unlabeled &lt;div role=form&gt; and &lt;form&gt; should remain unmapped.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1839938</commentid>
    <comment_count>7</comment_count>
    <who name="Scott">scottaohara</who>
    <bug_when>2022-02-10 14:20:46 -0800</bug_when>
    <thetext>&quot;Unlabeled &lt;div role=form&gt; and &lt;form&gt; should remain unmapped.&quot;

I agree with this statement, and per our conversation in the ARIA wg today:

&lt;article role=form&gt; - would fall back to &quot;article&quot;
and
&lt;div role=&quot;form article&quot;&gt;...&lt;/div&gt; would also fall back to article due to the lack of an explicit name.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1847975</commentid>
    <comment_count>8</comment_count>
    <who name="Scott">scottaohara</who>
    <bug_when>2022-03-03 10:36:18 -0800</bug_when>
    <thetext>sorry, misread some of the above.  but also since the naming of a form element with native HTML is only possible with the title attribute, then yes - form title=foo should become a form landmark</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1847980</commentid>
    <comment_count>9</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2022-03-03 10:40:28 -0800</bug_when>
    <thetext>Thanks Scott.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2112110</commentid>
    <comment_count>10</comment_count>
    <who name="Rahim Abdi">rahim_abdi</who>
    <bug_when>2025-04-20 12:37:49 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/44316</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2116296</commentid>
    <comment_count>11</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-05-10 08:45:51 -0700</bug_when>
    <thetext>Committed 294748@main (a8728728ea0d): &lt;https://commits.webkit.org/294748@main&gt;

Reviewed commits have been landed. Closing PR #44316 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>