Bug 39328

Summary: Buttons should maintain focus after toggling
Product: Koha Reporter: Jake Deery <jake.deery>
Component: AccessibilityAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: trivial    
Priority: P5 - low CC: martin.renvoize, matt.blenkinsop, oleonard
Version: unspecified   
Hardware: Macintosh   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Jake Deery 2025-03-14 08:34:59 UTC
A customer's accessibility report has highlighted to us a malfunction on some of our button focus behaviours. To paraphrase the auditor:

"When it is activated on highlight / unhighlight, the focus moves to a random location on the page, such as to the "1" pagination button. That is, as opposed to staying on the activated link. Witnessed on iOS.

Also witnessed on OPAC details, via iOS, with the "Add to cart" link. When activated, the focus moves to a random location on the page, such as to the decorative folder icon preceding the link's label. That is, as opposed to staying on the activated link, which now has an updated label of "In your cart".

Again on iOS, with the "highlight/unhighlight" links on OPAC details. When activated, the focus moves to a random location on the page, such as to the "Print" link. That is, as opposed to staying on the activated button.

Additionally, with the sortable header column buttons, on search history, on iOS. When activated, the focus moves to a random location on the page, such as to the "Enter search here" input field. That is, as opposed to staying on the activated button.

Lastly, on iOS, on the OPAC details page, with the "+/-" buttons in the holdings table. When activated, the focus moves to a random location on the page, such as to the first table header. That is, as opposed to staying on the activated button."

I'm not sure how much of these issues can be attributed to us, versus iOS/Safari just being... iOS/Safari. I thought I would log here, anyway. :-)

Jake.