Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-71699

hitting enter in a new dialog uses the default action not the selected action

      JENKINS-71438 / https://github.com/jenkinsci/jenkins/pull/7938 switched from native browser dialogs to its own diaglogs.

      However this has regressed the ability to select an action using the enter key.

      instead of the highlighted button getting fired with the enter key, the default appears to be used instead.

      This is an accessibility issue that can lead to dataloss - esp if the dialog is a delete and you have selected the cancel option.

      Steps to reproduce.

      expected results

      The token is not removed (this is the behaviour in Jenkins < 2.415)

      actual results

      The token is removed

          [JENKINS-71699] hitting enter in a new dialog uses the default action not the selected action

          James Nord created issue -
          Markus Winter made changes -
          Assignee New: Markus Winter [ mawinter69 ]
          Markus Winter made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Markus Winter made changes -
          Remote Link New: This issue links to "#8297 (Web Link)" [ 28830 ]
          Markus Winter made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

            mawinter69 Markus Winter
            teilo James Nord
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: