Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6364

The autogenerated input field when a form has a default button should not gain the focus when navigating with tab

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.6.0, 6.26.0, 8.0.0-M5
    • Fix Version/s: 6.27.0, 7.7.0, 8.0.0-M6
    • Component/s: wicket
    • Labels:
      None

      Description

      When Form#setDefaultButton(someButton) is used Wicket generates a hidden (with CSS) pair of text input and a button.
      Those should have tabindex="-1" to not steal the focus when the user navigates via tab key.

        Attachments

          Activity

            People

            • Assignee:
              mgrigorov Martin Tzvetanov Grigorov
              Reporter:
              mgrigorov Martin Tzvetanov Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: