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

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 7.6.0, 6.26.0, 8.0.0-M5
    • 6.27.0, 7.7.0, 8.0.0-M6
    • wicket
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: