Bug 41055

Summary: Missing accesskey attribute for print button (shortcut P)
Product: Koha Reporter: Johanna Räisä <johanna.raisa>
Component: CirculationAssignee: Johanna Räisä <johanna.raisa>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 41055: add missing accesskey attribute for print button
Bug 41055: add missing accesskey attribute for print button

Description Johanna Räisä 2025-10-20 09:33:21 UTC
The print buttons labeled "Don't check out, confirm hold, and print slip (P)" and "Don't check out and print slip (P)" in circulation.tt are missing the accesskey="p" attribute, which prevents users from using the keyboard shortcut "P" to activate the button.

The button appears when you are trying to checkout an item that is waiting for other patron.
Comment 1 Johanna Räisä 2025-10-20 11:50:37 UTC
Created attachment 188158 [details] [review]
Bug 41055: add missing accesskey attribute for print button

This commit adds the missing accesskey attribute to the print button in the circulation template.

Test plan:
1. Try to checkout an item that is waiting for pickup.
2. Try to print the checkout receipt using the alt+shift+p keyboard shortcut.
3. Verify that nothing happens when using the shortcut.
4. After applying this commit, try the same steps again.
5. Verify that the print button now works with the alt+shift+p keyboard shortcut.

Sponsored-by: Koha-Suomi Oy
Comment 2 Slava Shishkin 2025-10-30 16:11:07 UTC
Created attachment 188668 [details] [review]
Bug 41055: add missing accesskey attribute for print button

This commit adds the missing accesskey attribute to the print button in the circulation template.

Test plan:
1. Try to checkout an item that is waiting for pickup.
2. Try to print the checkout receipt using the alt+shift+p keyboard shortcut.
3. Verify that nothing happens when using the shortcut.
4. After applying this commit, try the same steps again.
5. Verify that the print button now works with the alt+shift+p keyboard shortcut.

Sponsored-by: Koha-Suomi Oy

Signed-off-by: Slava Shishkin <slavashishkin@gmail.com>