<?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>226918</bug_id>
          
          <creation_ts>2021-06-11 06:00:06 -0700</creation_ts>
          <short_desc>AX: CSS list-style influences role/semantics</short_desc>
          <delta_ts>2021-08-10 17:41:48 -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>RESOLVED</bug_status>
          <resolution>WONTFIX</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="Jeff Smith">jeff.smith</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jcraig</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1768916</commentid>
    <comment_count>0</comment_count>
    <who name="Jeff Smith">jeff.smith</who>
    <bug_when>2021-06-11 06:00:06 -0700</bug_when>
    <thetext>When a UL element is provided with &quot;list-style: none&quot; in CSS, the semantics of the UL element are removed. The UL is not announced as a list by VoiceOver, it&apos;s announced as a group of text.

Example: https://codepen.io/jeffsmith/pen/oNZPXGz

Three UL elements are provided in this example:

* The first is a standard UL with no CSS styling.
* The second is a standard UL, with a class added to provide &quot;list-style: none&quot; styling for the list.
* The third is similar to the second, with the explicit role=&quot;list&quot; added to the UL element.

The first list is announced as expected, the second and third are announced as a group of text. Presentational elements (CSS) should not be in a position to be influencing the semantics of HTML and how a screen reader announces those semantics.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1768917</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-06-11 06:00:20 -0700</bug_when>
    <thetext>&lt;rdar://problem/79194628&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1783368</commentid>
    <comment_count>2</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2021-08-10 17:36:28 -0700</bug_when>
    <thetext>Accidentally closed without comment. Standby while I find the link.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1783370</commentid>
    <comment_count>3</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2021-08-10 17:41:48 -0700</bug_when>
    <thetext>Here&apos;s the explanation thread... 
https://twitter.com/cookiecrook/status/1337226933822603270</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>