This is mainly an ergonomy/look & feel problem:

Now that the focus on prev/next buttons is handled by css, clicking one of these leave it highlighted even if the mouse cursor is moved away, because a click event also sets the focus.

This attached patch for branch 7.x.1.x detects that a click event really comes from the mouse (i.e.:not generated by keyboard) and in this case, moves the focus to the visible slide's anchor.

The mouse/keyboard detection is based on the time elapsed between the last mouse button change state and the click event (< 0.1 sec --> mouse click).

Thanks for considering it.

CommentFileSizeAuthor
0001-Set-focus-to-slide-link-upon-mouse-click-on-prev-nex.patch2.49 KBAnonymous (not verified)

Comments

Anonymous’s picture

monnerat created an issue. See original summary.

astonvictor’s picture

Status: Active » Closed (outdated)

D7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.