When working at the patron help desk I would like to enable a patron. The patron's user records already exists, but the barcode field is empty and the status is disabled.
I open the patron's user edit form, put the cursor into the barcode field and get the barcode from the patron's card either by scanning the printed barcode or by reading the rfid tag. The barcode field is filled with the barcode. In addition the barcode scanner or rdif reader sends an enter key to indicate that the last character sent was the last character of the barcode. The enter key from the scanner or reader is exactly the same as the enter key from the keyboard because the scanner/reader is connected as a usb keyboard.
Expected result: The user edit form remains open so that I can also change the status from disabled to enabled and set the new expiration date. I can review all fields that I have changed before submitting them.
Actual result: The enter key from the scanner/reader immediately saves all changes and closes the form.
This is also an accessibility issue because it violates WCAG 2.0 Success Criterion 3.3.4 "Error Prevention" https://www.w3.org/TR/UNDERSTANDING-WCAG20/minimize-error-reversible.html