Last modified: 2014-10-20 22:40:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69156, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67156 - OOjs UI: Do not let me tab outside a dialog box in Chrome/Safari
OOjs UI: Do not let me tab outside a dialog box in Chrome/Safari
Status: ASSIGNED
Product: OOjs UI
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal minor
: ---
Assigned To: Editing team bugs – take if you're interested!
: accessibility
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-26 18:47 UTC by WhatamIdoing
Modified: 2014-10-20 22:40 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description WhatamIdoing 2014-06-26 18:47:53 UTC
This is related to Bug 67153, but specific to Safari:


Whatever the dialog box, once you've tabbed through whatever links and buttons are inside that dialog (and on the tab list, which isn't always all of them), then pressing tab takes you outside the dialog box to these items:

1) the browser's URL bar
2) the main Wikipedia search box 
3) the Cancel button (on VisualEditor's toolbar)
4) the Save button (on VisualEditor's toolbar)
5) the top of the article
6) the slug at the top of the article, where it gets stuck forever.

and never lets you get back to the dialog box.  This means that if you press tab one time more than you meant to, you cannot use or close the dialog box without taking your hands off the keyboard.
Comment 1 James Forrester 2014-07-08 19:36:47 UTC
Krenair, is this something that we do as part of the aria-role stuff (and is it something we should do)?
Comment 2 Alex Monk 2014-07-09 23:05:39 UTC
I don't think we do this deliberately. This happens in Chrome for me... Are you sure this is Safari-specific, Sherry?
Comment 3 WhatamIdoing 2014-07-10 01:12:16 UTC
Firefox lets me leave the dialog box, but it eventually tabs back into it.  Safari gets stuck.  I haven't checked Chrome; Safari and Chrome often have the same problems, so it might be anything WebKit/not Mozilla.
Comment 4 Alex Monk 2014-07-10 12:09:18 UTC
In that case this feels like an upstream issue
Comment 5 Alex Monk 2014-07-17 00:50:47 UTC
So after some confusion about this I looked into it again, and I believe that there's two issues here:
* We perhaps shouldn't let tab take the focus out of the dialog box at all
* Tab definitely should not be getting lost and become unable to return to the dialog

Different browsers appear to do different things:
* Chrome on Ubuntu lets it out of the dialog, but it properly goes back and doesn't get stuck.
* Chrome and Safari on Windows just let the tabbing leave the dialog, and then it gets stuck and doesn't return to the beginning of the page
* Firefox (on Ubuntu or Windows) does not let it out of the dialog
Comment 6 Gerrit Notification Bot 2014-09-11 22:18:16 UTC
Change 159902 had a related patch set uploaded by Alex Monk:
Try to stop user from tabbing outside of open dialog box

https://gerrit.wikimedia.org/r/159902
Comment 7 Gerrit Notification Bot 2014-09-30 21:57:25 UTC
Change 159902 merged by jenkins-bot:
Try to stop user from tabbing outside of open dialog box

https://gerrit.wikimedia.org/r/159902
Comment 8 Alex Monk 2014-09-30 21:58:49 UTC
Merged. Hopefully this doesn't break anything else.
Comment 9 Ed Sanders 2014-10-10 10:57:36 UTC
The applied patch throws an exception, see gerrit.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links