Opening Media Library modal with Fotoweb scrolls to oAuth2 revoke authentication button

Created on 16 July 2024, 4 months ago
Updated 30 July 2024, 4 months ago

Problem/Motivation

When opening the media library, Drupal sets the focus on the first tabbable element in the modal. When using the Fotoweb widget and the oAuth2 authentication method there is a "Revoke authentication" button, which is by default the first tabbable content. That means the view jumps immediately to the bottom of the modal, which is confusing.

Steps to reproduce

Proposed resolution

Set a tabindex="1" to the <iframe> element, so that the browser does not immediately jump down when opening the Fotoweb widget.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇩🇪Germany szeidler Berlin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024