https://bugzilla.wikimedia.org/show_bug.cgi?id=26267

           Summary: Pressing enter submits as Cancel/Back instead of
                    Continue
           Product: MediaWiki
           Version: 1.17-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Installation
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: krinklem...@gmail.com
                CC: innocentkil...@gmail.com


Atleast in WebKit browsers during the installation with the new installer as of
1.17-svn pressing Enter in any form element brings me back to the previous
step.

Visually it makes sense for the Back-button to be on the left hand side,
unfortunately browsers by default submit to the closest input[type=submit]
button.

I see in the source code a way to prevent this, namely a hidden duplicate of
the Continue-button before the Back-button (hidden as in,
style="display:none").

However, as smart as browsers are, pressing Enter doesn't submit to the next
submitting element, but to the next 'visible' submitting element.

We need to either put the continue button to the left for real, and drop the
hidden-duplicate thing.
Or find a way to visually hide that duplicate button while still fooling
browsers it's there.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to