Normal view

Received — 15 October 2025 Drupal - Open Source Content Platform | #Celebr8D8

Keyboard focus moves to form after using pager items

Hi, working on an AJAX view with exposed form (not in its own block) and pagination (Full pager) enabled, noticing that when I use a pager item, it successfully displays updated content and does not reload the page as expected, but switches focus to my <body> tag, and when I hit tab, the first element it goes to is the first input element in this form.

I wrote JS to monitor which was clicked, re-set focus to the pager items after ajaxSuccess, etc, and I watch it do this successfully, then another XHR response loads and focus is set on the body.

I tried on another view of my site to rule out anything custom we'd done with the page in question and same behaviour there. I only have the one site, all pages running the same theme etc, so I don't have a good way to test this out to determine if its OOB like I think it is.

Trying to solve this for keyboard users/accessibility purposes, wondering if anyone has found a workaround, or even clues for debugging code I could add to try to determine what's doing this. Thanks!

submitted by /u/Far-Comfortable4462
[link] [comments]

Secret Login module Drupal 11

Secret Login module Drupal 11

The Secret Login Module allows users to log in through a custom URL defined in the Drupal configuration. When the custom URL is set, a secure tokenized URL is also generated. Users can log in using both the custom URL and the token. This feature is useful for quickly accessing an admin or other user account on a Drupal site without requiring a username or password.

Features

Allows administrators to define a custom URL in the configuration for all users.

  • Allows administrators to define a custom URL in the configuration for all users.
  • When this URL is accessed, the user is automatically logged in as an administrator along with another assigned role on the Drupal site.
  • The Module also provides a one-time login URL token for a configured user, along with a button to enable or disable the functionality. The token URL is valid for one hour, after which a new token is automatically generated.
  • It also provides a search functionality by username and email, which helps in quickly finding a user — especially when there are hundreds of users on the Drupal site.

When the URL token is set in the module configuration, it appears in green, indicating that it is ready to use

This module is designed to facilitate easy user login through a custom URL specified by the administrator in the configuration settings.

submitted by /u/VishalYadav-09
[link] [comments]
❌