Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

focus on WP export modal elements using tabindex

bsatarnejade5149c290f98
diff --git a/frontend/src/app/shared/components/modals/export-modal/wp-table-export.modal.html b/frontend/src/app/shared/components/modals/export-modal/wp-table-export.modal.html
index b3428bec82e..10279e7529f 100644
--- a/frontend/src/app/shared/components/modals/export-modal/wp-table-export.modal.html
+++ b/frontend/src/app/shared/components/modals/export-modal/wp-table-export.modal.html
@@ -1,4 +1,8 @@
-<div class="spot-modal spot-modal_wide op-wp-table-export">
+<div class="spot-modal spot-modal_wide op-wp-table-export"
+ tabindex="0"
+ cdkFocusInitial
+ cdkTrapFocus
+ [cdkTrapFocusAutoCapture]="true">
<div class="spot-modal--header">{{text.title}}</div>