<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: DOM elements are considered before aria-flowto but not after"
href="https://bugs.webkit.org/show_bug.cgi?id=166704">166704</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>AX: DOM elements are considered before aria-flowto but not after
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Safari 10
</td>
</tr>
<tr>
<th>Hardware</th>
<td>iPhone / iPad
</td>
</tr>
<tr>
<th>OS</th>
<td>iOS 10
</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>jonathan@tumult.com
</td>
</tr>
<tr>
<th>CC</th>
<td>webkit-bug-importer@group.apple.com
</td>
</tr></table>
<p>
<div>
<pre>It seems odd that the DOM ordering is considered for VO until an element with aria-flowto is hit, but then it is possible to not be hit afterwards depending on the chain.
Take this for example:
<div id="item1" role="img"> Item 1 (role=img)</div>
<div id="item2" role="button" aria-flowto="item4"> Item 2 (role=button, flowto=item4)</div>
<div id="item3" role="img"> Item 3 (role=img)</div>
<div id="item4" role="img" aria-flowto="item3"> Item 4 (role=img, flowto=item3)</div>
<div id="item5" role="radio"> Item 6 (role=radio)</div>
item1 is selected first despite no aria-flowto indicating it is in a chain of visibility.
Then item4 and item3 are visited, and it simply repeats between item4 and item3; there's no way to get to item5 at this point.
It seems like either aria-flowto should be the only source of navigation (ignoring DOM elements without it), or it should construct a flow that can let DOM elements after the flow be visited.
I am reproducing on iPad Pro with iOS 10.2.1 via:
1. Enabling VoiceOver
2. Swiping to the right</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>