<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - AX: text-transform shouldn’t impact the way text is read in VoiceOver"
href="https://bugs.webkit.org/show_bug.cgi?id=165088">165088</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>AX: text-transform shouldn’t impact the way text is read in VoiceOver
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Safari Technology Preview
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>macOS 10.12
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>Accessibility
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>code@sylvaingamel.fr
</td>
</tr>
<tr>
<th>CC</th>
<td>webkit-bug-importer@group.apple.com
</td>
</tr></table>
<p>
<div>
<pre>When a text-transform is applied to text, for example a button, then screen-reader reads the text with text-transform applied, not original semantic value.
This is impacting accessibility of web pages the following way:
- let say you have a button "Add to Cart" in you page.
- CSS ensure that all buttons texts are rendered as uppercase
Expected result:
VoiceOver would read "add to card" as separate words
Real result:
VoiceOver is spelling-out first word "Add" as "A D D".
This behavior is quite confusing for blind users and those using screenreaders.
You can check this example with Voice Over enabled on macOS.
<a href="https://jsfiddle.net/sgamel/qyp5avne/">https://jsfiddle.net/sgamel/qyp5avne/</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>