Page MenuHomePhabricator

Can't use the arrow keys to select back-to-back refs in Firefox
Open, LowPublic1 Story Points

Description

This may be related to T147827: Cursoring across focusable nodes has problems in Safari 10.

  1. Start in the visual editor/visual mode.
  2. Add wikitext that looks like this: Sentence.<ref>One</ref><ref>Two</ref> Next sentence.
  3. Click in the middle of the sentence.
  4. Try to use arrow keys to select one of those refs.

Result: It skipped from "Sentence." to "Next" without selecting either ref.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 30 2017, 4:40 PM
Schnark added a subscriber: Schnark.Jul 1 2017, 8:03 AM

I tested this with https://de.wikipedia.org/wiki/Browser_Extensions#Kompatibilit.C3.A4t refs 9 and 10 in Firefox, and it works almost as expected for me. Only when going from left to right, I need to press the right arrow key twice between the two references, going from right to left only needs one keypress.
But I am able to select the two references and placing the cursor between them.

For me, it took a couple of key presses to get between things, but it never highlighted either ref.

Deskana triaged this task as Low priority.Jul 25 2017, 7:26 PM
Deskana moved this task from To Triage to TR1: Releases on the VisualEditor board.
Deskana added a subscriber: Deskana.

The behaviour here is very inconsistent. It seems to alternate between working fine, then taking extra key presses to do anything, then skipping some of the references, then skipping them all. The problem is intermittent.

This does not seem to be breaking anything at present.

Deskana set the point value for this task to 1.Oct 11 2017, 9:41 PM