gautamkrishnar / nothing-private

Do you think you are safe using private browsing or incognito mode?. :smile: :imp: This will prove that you're wrong. Previously hosted at nothingprivate.ml
https://nothingprivate.gkr.pw
GNU General Public License v3.0
2.15k stars 151 forks source link

[a11y] Unable to submit form with 'Enter' key #130

Closed lachieh closed 3 years ago

lachieh commented 3 years ago

Describe the bug When using the main form, it is not possible to submit the form using the enter key, while the text input is focused. This is not really an issue, but it is better for accessibility (visual and motor ability) to use semantic elements and their standard behavior. Since this is actually submitting data, a form element is more suited.

To Reproduce Steps to reproduce the behavior:

  1. Go to main page
  2. Click on the only text input
  3. Press enter key
  4. Nothing happens

Expected behavior As above, except:

  1. Form submits

Context: All browsers