<?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>261565</bug_id>
          
          <creation_ts>2023-09-14 10:56:06 -0700</creation_ts>
          <short_desc>AX: text-transform: full-size-kana must not affect AT/speech output</short_desc>
          <delta_ts>2024-08-14 14:40:56 -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 Technology Preview</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cstrong%20style%3D%22text-transform%3A%20full-size-kana%22%3Eじゅう%3C%2Fstrong%3E%20must%20read%20the%20same%20as%20じゅう%20not%20じゆう%20(but%20look%20like%20じゆう%20not%20じゅう)%20.%3Cbr%3E%0A%3Cstrong%20style%3D%22text-transform%3A%20full-size-kana%22%3E%20カップ%20%3C%2Fstrong%3E%20must%20read%20the%20same%20as%20カップ%20not%20カツプ%20(but%20look%20like%20カツプ%20not%20カップ)%20.%0A</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>245557</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="fantasai">fantasai.bugs</reporter>
          <assigned_to name="Joshua Hoffman">jhoffman23</assigned_to>
          <cc>andresg_22</cc>
    
    <cc>jcraig</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1977528</commentid>
    <comment_count>0</comment_count>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2023-09-14 10:56:06 -0700</bug_when>
    <thetext>Overview
  text-transform: full-size-kana must not affect speech output.

Steps to Reproduce:
  1. Load testcase:
     https://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cstrong%20style%3D%22text-transform%3A%20full-size-kana%22%3Eじゅう%3C%2Fstrong%3E%20must%20read%20the%20same%20as%20じゅう%20not%20じゆう%20(but%20look%20like%20じゆう%20not%20じゅう)%20.%3Cbr%3E%0A%3Cstrong%20style%3D%22text-transform%3A%20full-size-kana%22%3E%20カップ%20%3C%2Fstrong%3E%20must%20read%20the%20same%20as%20カップ%20not%20カツプ%20(but%20look%20like%20カツプ%20not%20カップ)%20.%0A
  2. Verify that &apos;text-transform: full-size-kana&apos; is supported by comparing the visual rendering.
  3. Use VoiceOver to compare the speech rendering.

Additional Information:
  https://www.w3.org/TR/css-text-3/#text-transform-property
  Note that the mapping in the Small Kana Mapping Table is not a case mapping. These are different letters (with related, but different pronunciations) that happen to look similar. See examples in spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1977529</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-09-14 10:56:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/115504070&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1977531</commentid>
    <comment_count>2</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2023-09-14 11:02:51 -0700</bug_when>
    <thetext>From some discussion with Elika, this might need to be limited to ruby, or at a minimum, we’d need test cases to make sure the other values (like text-transform: uppercase) were not affected by the change. 

Note that I’m still unclear as to why text-transform would be used in a way that affects the core meaning of the text, so perhaps we should discuss or require addition information before the change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2033624</commentid>
    <comment_count>3</comment_count>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2024-05-06 19:51:22 -0700</bug_when>
    <thetext>&gt; Note that I’m still unclear as to why text-transform would be used in a way that affects the core meaning of the text, so perhaps we should discuss or require addition information before the change.


This is explained in detail in the spec (linked above).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2042829</commentid>
    <comment_count>4</comment_count>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2024-06-24 14:52:48 -0700</bug_when>
    <thetext>`full-width` should also get the same treatment (use underlying untransformed text for AT), fwiw.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2051681</commentid>
    <comment_count>5</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2024-08-09 10:23:07 -0700</bug_when>
    <thetext>I disagree about `full-width`... That&apos;s mostly likely an AT bug in automatic language detection; the characters are unambiguous, but the AT is choosing the wrong voice language. Filed &lt;rdar://133412477&gt; for that.

I&apos;ll also file a CSS spec issue for the &quot;casing for accessibility&quot; note, because it doesn&apos;t take into account the spacing context we discussed for AT like HoverText where rendered `full-width` chars would be expected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052117</commentid>
    <comment_count>6</comment_count>
      <attachid>472124</attachid>
    <who name="fantasai">fantasai.bugs</who>
    <bug_when>2024-08-12 10:52:26 -0700</bug_when>
    <thetext>Created attachment 472124
testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052178</commentid>
    <comment_count>7</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2024-08-12 14:39:20 -0700</bug_when>
    <thetext>FYI fantasai: https://github.com/w3c/csswg-drafts/issues/10732</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052449</commentid>
    <comment_count>8</comment_count>
    <who name="Joshua Hoffman">jhoffman23</who>
    <bug_when>2024-08-13 12:35:30 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/32125</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2052820</commentid>
    <comment_count>9</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-08-14 14:40:54 -0700</bug_when>
    <thetext>Committed 282258@main (00c8f4758364): &lt;https://commits.webkit.org/282258@main&gt;

Reviewed commits have been landed. Closing PR #32125 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>472124</attachid>
            <date>2024-08-12 10:52:26 -0700</date>
            <delta_ts>2024-08-12 10:52:26 -0700</delta_ts>
            <desc>testcase</desc>
            <filename>small-kana-reading.html</filename>
            <type>text/html</type>
            <size>351</size>
            <attacher name="fantasai">fantasai.bugs</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxtZXRhIGNoYXJzZXQ9dXRmLTg+CjxzdHJvbmcgc3R5bGU9InRleHQt
dHJhbnNmb3JtOiBmdWxsLXNpemUta2FuYSI+44GY44KF44GGPC9zdHJvbmc+IG11c3QgcmVhZCB0
aGUgc2FtZSBhcyDjgZjjgoXjgYYgbm90IOOBmOOChuOBhiAoYnV0IGxvb2sgbGlrZSDjgZjjgobj
gYYgbm90IOOBmOOCheOBhikgLjxicj4KPHN0cm9uZyBzdHlsZT0idGV4dC10cmFuc2Zvcm06IGZ1
bGwtc2l6ZS1rYW5hIj4g44Kr44OD44OXIDwvc3Ryb25nPiBtdXN0IHJlYWQgdGhlIHNhbWUgYXMg
44Kr44OD44OXIG5vdCDjgqvjg4Tjg5cgKGJ1dCBsb29rIGxpa2Ug44Kr44OE44OXIG5vdCDjgqvj
g4Pjg5cpIC4K
</data>

          </attachment>
      

    </bug>

</bugzilla>