Side Dialog doesn't get focus #1587

Open
opened 2026-01-29 17:55:45 +00:00 by claunia · 0 comments
Owner

Originally created by @mhartman-msft on GitHub (Jan 31, 2025).

Describe the bug
When using the dialog components, the focus moves to the dialog and stays within it until the dialog is closed. Except when the dialog is used as a side dialog.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://blazor.radzen.com/dialog?theme=software#side-dialog'
  2. Click on 'Dialog on Side'
  3. Use tab key to change focussed element
  4. Elements in the background page are focussed instead of those in the dialog.

Alternatively link your repo with a sample project that can be run.

Expected behavior
When using the Side Dialog, focus needs to move and stay within it (accessibility). Same as in example "Open page as a dialog"

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Edge
  • Version: 132
Originally created by @mhartman-msft on GitHub (Jan 31, 2025). <!-- IMPORTANT: Read this first!!! 1. If you own a Radzen Professional or Еnterprise subscription you can report your issue or ask us a question via email at info@radzen.com. Radzen staff will reply within 24 hours (Professional) or 16 hours (Enterprise) 2. The Radzen staff guarantees a response to issues in this repo only to paid subscribers. 3. If you have a HOW TO question start a new forum thread in the Radzen Community forum: https://forum.radzen.com. Radzen staff will close issues that are HOWTO questions. 4. Please adhere to the issue template. Specify all the steps required to reproduce the issue or link a project which reproduces it easily (without requiring extra steps such as restoring a database). --> **Describe the bug** When using the dialog components, the focus moves to the dialog and stays within it until the dialog is closed. Except when the dialog is used as a side dialog. **To Reproduce** Steps to reproduce the behavior: 1. Go to 'https://blazor.radzen.com/dialog?theme=software#side-dialog' 2. Click on 'Dialog on Side' 3. Use tab key to change focussed element 4. Elements in the background page are focussed instead of those in the dialog. Alternatively link your repo with a sample project that can be run. **Expected behavior** When using the Side Dialog, focus needs to move and stay within it (accessibility). Same as in example "Open page as a dialog" **Desktop (please complete the following information):** - OS: Windows 11 - Browser: Edge - Version: 132
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1587