As designed tab index should go to save, not attachments on edit

briansol

Well-known member
Affected version
2.2
steps to reproduce:

on a pc:
post a reply to a thread
edit reply
type something, hit tab, hit enter.

attachment box opens.


The tab off the text area should default to save, not pop attachments.
 
That would assume that "Save" is the next control. It rarely is and fudging the tabindex here would really not make sense in a lot of contexts.

For example if I try to edit your post:

1599063369959.webp

There's a whole bunch of inputs and controls before the save button. It really only makes sense to have a natural tabindex flow here.

We actually very rarely modify the tab index. Even from "quick reply" when you're replying to a thread, tabbing does take you to "Post reply" but this is because this is actually next in the DOM and therefore that is actually the natural tabindex.

We'd strongly recommend getting in the habit of a different way to quickly save/submit forms. The only reliable and supported way which is nearly always guaranteed to work is the keyboard shortcut Cmd + Enter (macOS) or Ctrl + Enter (Windows).

It works nearly everywhere so it's a good habit to get into.
 
Quick reply has attach and insert quote buttons in more logical order than post reply, yet brings you right to the action button of Post Reply.

Quick reply should match edit, as it is basically the same screen and likely a similar action from the user who quickly is editing their typos/etc.

So, either make quick reply tab to attach files too, or fix it as above. the mix-matched UX is not easy for people.
 
Top Bottom