<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:valdrinkoshi@gmail.com" title="valdrinkoshi@gmail.com">valdrinkoshi@gmail.com</a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - AX: Focus should jump into modal dialogs when one appears"
href="https://bugs.webkit.org/show_bug.cgi?id=166670">bug 166670</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>valdrinkoshi@gmail.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - AX: Focus should jump into modal dialogs when one appears"
href="https://bugs.webkit.org/show_bug.cgi?id=166670#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - AX: Focus should jump into modal dialogs when one appears"
href="https://bugs.webkit.org/show_bug.cgi?id=166670">bug 166670</a>
from <span class="vcard"><a class="email" href="mailto:valdrinkoshi@gmail.com" title="valdrinkoshi@gmail.com">valdrinkoshi@gmail.com</a>
</span></b>
<pre>Hi, I faced these issues with the current implementation:
1. if dialog has no children, the focus is not moved to the dialog (it has a valid tabindex, -1 or 0)
2. focus is always moved to the first focusable child, w/o respecting the tab order (e.g. 1st focusable child has tabindex=0, 2nd focusable child has tabindex=1)
3. focus is moved in the dialog only by toggling aria-modal attribute from false to true. I'd expect toggling the visibility of the element would trigger the focus move (e.g. display:none -> display:block)</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>