<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: Fieldset without legend with VoiceOver"
href="https://bugs.webkit.org/show_bug.cgi?id=152343">152343</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>AX: Fieldset without legend with VoiceOver
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Macintosh
</td>
</tr>
<tr>
<th>OS</th>
<td>Mac OS X 10.11
</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>craig+webkit@craigfrancis.co.uk
</td>
</tr>
<tr>
<th>CC</th>
<td>webkit-bug-importer@group.apple.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=267467" name="attach_267467" title="Example HTML">attachment 267467</a> <a href="attachment.cgi?id=267467&action=edit" title="Example HTML">[details]</a></span>
Example HTML
When a form contains a <fieldset> that does not include a <legend>, then the label for inputs are incorrect.
So with the attached file, VoiceOver will describe the field as:
"Field A, edit text, Intro (not a legend). Field A, Field A"
You will notice the repetition of "Field A" three times.
If the <p> is changed into a <legend> this becomes:
"Field A, edit text, Intro (a legend)"
This second example is correct, where it just includes the field <label>, type, and the associated <legend>.
I suspect the problem is when a <legend> does not exist, WebKit just takes all of the fieldsets text instead, resulting in the duplication.
This was also tested on WebKit nightly r194142.</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>