RESOLVED FIXED Bug 147881
AX: VoiceOver/Safari does not allow focus on specific "empty links" (with  )
https://bugs.webkit.org/show_bug.cgi?id=147881
Summary AX: VoiceOver/Safari does not allow focus on specific "empty links" (with &nb...
Patrick H. Lauke
Reported 2015-08-11 08:56:42 PDT
Created attachment 258718 [details] Variations of links/spans with different attributes to test focusability While VoiceOver/iOS (8.4) allows user to focus on <a href="#"></a> <a href="#" title="Close"></a> adding a &nbsp; makes VO ignore these links completely. <a href="#">&nbsp;</a> <a href="#" title="Close">&nbsp;</a> Of course, these are arguably inaccessible controls to begin with, but the fact that the first examples without &nbsp; do receive focus would suggest that the links with &nbsp; should in fact also receive focus.
Attachments
Variations of links/spans with different attributes to test focusability (3.91 KB, text/html)
2015-08-11 08:56 PDT, Patrick H. Lauke
no flags
Patrick H. Lauke
Comment 1 2015-08-13 04:39:24 PDT
Just to confirm this behavior is also still present in iOS 9 current seed build
Patrick H. Lauke
Comment 2 2015-08-14 03:38:57 PDT
To clarify: iOS 9 seed build 13A4325c
Radar WebKit Bug Importer
Comment 3 2015-08-14 03:39:12 PDT
Patrick H. Lauke
Comment 4 2016-06-10 04:38:51 PDT
To be clear, the expected behavior and solution, at least in my opinion, would be to allow VO to set focus on links that contain a &nbsp; the same way that completely empty links currently do.
Heydon
Comment 5 2016-06-10 04:42:15 PDT
I can corroborate Patrick's findings. In addition, unencoded whitespace and other space encodings like &#x0020; work. This appears to be a bug with &nbsp;.
Léonie Watson
Comment 6 2016-06-10 04:46:19 PDT
Confirmed. From a VO user's perspective this would be a worthwhile thing to fix.
Patrick H. Lauke
Comment 7 2017-10-20 02:46:03 PDT
At least for links, this now seems resolved in iOS11/Safari/VO. <a href="#">&nbsp;</a> <a href="#" title="Close">&nbsp;</a> now receive VO focus, just the same way that <a href="#"></a> <a href="#" title="Close"></a> do. There's still an issue where pure spans with tabindex="0", like <span tabindex="0" title="Close"></span> don't receive VO focus....but I may file this separately.
chris fleizach
Comment 8 2017-10-20 08:45:46 PDT
(In reply to Patrick H. Lauke from comment #7) > At least for links, this now seems resolved in iOS11/Safari/VO. > > <a href="#">&nbsp;</a> > <a href="#" title="Close">&nbsp;</a> > > now receive VO focus, just the same way that > > <a href="#"></a> > <a href="#" title="Close"></a> > > do. There's still an issue where pure spans with tabindex="0", like > > <span tabindex="0" title="Close"></span> this could be remedied by adding a role="link" > > don't receive VO focus....but I may file this separately.
Note You need to log in before you can comment on or make changes to this bug.