What is the problem?
If I change the OCR transcription tool (e.g. from Tesseract to Google), I can no longer use the arrow keys or enter when editing the wikitext.
It seems to happen if I click anywhere in the tool selection dropdown apart from directly on the radio buttons or the "Advanced Options" link.
Even after I have closed the OCR selection tool, pressing the up and down arrow keys changes the radio button that switches between tools, as if it still has focus.
I have only been able to reproduce this on Firefox (including the latest 104), not on Chrome or Safari.
Steps to reproduce problem
- Edit a transcription page (e.g. https://en.wikisource.org/w/index.php?title=Page:Prevention_of_Bribery_Ordinance_1970_(Cap._201).pdf/20&action=edit )
- Click the down arrow next to "Transcribe text"
- In the dropdown, click on the words "Google OCR"
- Put your cursor in the wikitext editing box
- Press enter or use the arrow keys
Expected behavior: Enter and arrow keys make the appropriate changes to the wikitext.
Observed behavior: Nothing appears to happen. However, if you open the tool selection dropdown again you might notice the selected tool has changed.
Environment
Environment: https://en.wikisource.org Wikisource – (ee7fe53) 06:44, 12 August 2022.
Browser: Firefox 91, 104.