NEW 31210
FKA: Even with "Press Tab to highlight each item on a webpage", anchors that contain position:absolute spans do not receive focus
https://bugs.webkit.org/show_bug.cgi?id=31210
Summary FKA: Even with "Press Tab to highlight each item on a webpage", anchors that ...
Tim McConnell
Reported 2009-11-06 11:35:40 PST
The summary says it all. An <a> that contains a position:absolute <span> will not be part of the page's tab order. e.g. <a href="foo"><span style="position:absolute;">Can't tab</span></a>
Attachments
An HTML file that shows two different links; one that's tab-able and one that is not. (369 bytes, text/html)
2009-11-06 11:36 PST, Tim McConnell
no flags
Tim McConnell
Comment 1 2009-11-06 11:36:43 PST
Created attachment 42664 [details] An HTML file that shows two different links; one that's tab-able and one that is not.
Mark Rowe (bdash)
Comment 2 2009-11-07 05:27:57 PST
Thanks for the reduction!
Mark Rowe (bdash)
Comment 3 2009-11-07 05:28:15 PST
James Craig
Comment 4 2013-10-23 16:49:48 PDT
*** Bug 51333 has been marked as a duplicate of this bug. ***
Ahmad Saleem
Comment 5 2022-08-30 16:07:02 PDT
Firefox Nightly 106 and Safari Technology Preview 152 behave same in this test case and even if you click on visual port and then press 'tab', it focus on address bar, in case of Firefox, the tab does not take focus on links and just keep it to UI elements like back, forward and new tab buttons. In case of Chrome Canary 107, it focus "Can't Tab" but don't show outline (I verified it with shown small status bar in the bottom left corner) and then next tab take you to next link and have focus outline and new tab will take you to UI / Address bar and next tab will again to "Can't Tab". I am not sure on expected behavior, so I will tag others to verify and comment. Thanks!
Note You need to log in before you can comment on or make changes to this bug.