- Issue created by @yash.rode
- Status changed to Closed: duplicate
about 1 year ago 7:27am 30 November 2023 - 🇫🇮Finland lauriii Finland
This looks like a duplicate of #2805219: Some dialogs do not receive focus when opened → .
When we open a modal form by clicking any link or button, we expect the focus to be present on the first tabbable element on the modal, but the focus stays on the link.
1. Go to admin/structure/block
2. Click on Place block
button
the focus stays on Place block button instead of first tabbable element.
In the form where we are adding the button/link, add 'data-disable-refocus' => 'true’,
to the attributes. This is not a generic solution find a generic one, otherwise we will have to add data-disable-refocus to all the places where we have modal links.
Closed: duplicate
11.0 🔥
This looks like a duplicate of #2805219: Some dialogs do not receive focus when opened → .