<?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>235065</bug_id>
          
          <creation_ts>2022-01-11 04:43:19 -0800</creation_ts>
          <short_desc>AX: HTML AAM Update to aside mapping</short_desc>
          <delta_ts>2023-11-09 23:11:15 -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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://github.com/web-platform-tests/wpt/pull/43028</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="Scott">scottaohara</reporter>
          <assigned_to name="Joone Hur">joone</assigned_to>
          <cc>andresg_22</cc>
    
    <cc>aroselli</cc>
    
    <cc>jcraig</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1829769</commentid>
    <comment_count>0</comment_count>
    <who name="Scott">scottaohara</who>
    <bug_when>2022-01-11 04:43:19 -0800</bug_when>
    <thetext>HTML AAM issue https://github.com/w3c/html-aam/pull/350 revises the mapping of the aside element.

When an aside is scoped to the body element, or main element - allowing generic or presentational elements as ancestors - the aside element would map to the complementary landmark.

some examples:

body
  div
    aside = complementary

or

body 
  main
   aside = complementary

or

body 
  div
    main
      section role=presentation
        aside = complementary


Otherwise, if not scoped to the body or the main element, the aside element would map to the generic role.

body
  main
    section
      aside = generic</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1829770</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-01-11 04:43:28 -0800</bug_when>
    <thetext>&lt;rdar://problem/87391915&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1829778</commentid>
    <comment_count>2</comment_count>
    <who name="Scott">scottaohara</who>
    <bug_when>2022-01-11 05:24:35 -0800</bug_when>
    <thetext>here is a test case https://scottaohara.github.io/testing/aside/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1837953</commentid>
    <comment_count>3</comment_count>
    <who name="Scott">scottaohara</who>
    <bug_when>2022-02-06 15:22:39 -0800</bug_when>
    <thetext>Note: test case has been updated to include instances of where aside would need to map to role=complementary because it has been given an accessible name.  This is not a new change per the update to HTML AAM, but I had forgotten to provide an example in the test case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1989513</commentid>
    <comment_count>4</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2023-11-02 13:57:47 -0700</bug_when>
    <thetext>Did this change make it into a WPT computedrole test?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1989515</commentid>
    <comment_count>5</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2023-11-02 14:00:04 -0700</bug_when>
    <thetext>I think this needs an update to the following test:

https://wpt.fyi/results/html-aam/roles-contextual.html?label=master&amp;label=experimental&amp;aligned&amp;q=label%3Aaccessibility

https://github.com/web-platform-tests/wpt/blob/master/html-aam/roles-contextual.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1990055</commentid>
    <comment_count>6</comment_count>
    <who name="Joone Hur">joone</who>
    <bug_when>2023-11-05 12:26:32 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/20013</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1990877</commentid>
    <comment_count>7</comment_count>
    <who name="Joone Hur">joone</who>
    <bug_when>2023-11-08 09:56:33 -0800</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/43028</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991441</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-11-09 23:11:12 -0800</bug_when>
    <thetext>Committed 270509@main (47f7deca4cff): &lt;https://commits.webkit.org/270509@main&gt;

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

    </bug>

</bugzilla>