Some scripts to check: koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt koha-tmpl/intranet-tmpl/prog/js/basketgroup.js koha-tmpl/intranet-tmpl/prog/js/prevent_submit.js koha-tmpl/intranet-tmpl/prog/js/staff-global.js koha-tmpl/intranet-tmpl/prog/js/subscription-add.js koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt See also https://developer.mozilla.org/en-US/docs/Web/Events/keypress
Most mentions of keypress now are in JS libraries, but we have some in our own files: koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt koha-tmpl/intranet-tmpl/prog/js/staff-global.js koha-tmpl/intranet-tmpl/prog/js/subscription-add.js koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt koha-tmpl/opac-tmpl/bootstrap/js/global.js
*** This bug has been marked as a duplicate of bug 36580 ***
I don't think this is a duplicate of 36580, exactly, though they're closely related. This bug was about replacing the deprecated keypress event with a keydown event(?) instead. The instance that prompted me to file 36580 already uses keydown rather than keypress (I think), but uses deprecated methods of identifying which key.
I assumed that if we were going to address deprecated key events we would do so in one place.