# Bug DREAM-333 - Focus should return to trigger element on closing attribute help text dialog

Project: Stream Design System
Status: closed
URL: https://community.openproject.org/work_packages/DREAM-333

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Frontend components and Primer design system, Modules and project features / Project settings, Modules and project features / Project attributes |
| Target versions | 16.2.0 |
| Observed in versions | 16.1.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.1.x |
| Requires doc change | No |
| Accessibility | Yes |
| Pull preview |  |
| List | a11y report 2025 |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Behrokh Satarnejad |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

*   Activate an attribute help text for the project description field
    
*   Go to the project settings
    
*   Via keyboard, navigate to the help text icon and press enter
    
*   Close the dialog via keyboard (either via ESC, or by pressing Enter on the closing &quot;X&quot;)
    

### What is the buggy behavior?

*   the focus jumps to the next field in the form
    

### What is the expected behavior?

*   the focus should be on the element that triggered the dialog (so the question mark)
    
*   Note: Technically, this is a generic issue with the async dialogs and should be solved generically.
    

###   

### Environment information

**OpenProject version**

_16.1_

**Browser**

*   [x] Chrome
*   [x] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [ ] Other (please specify)

**Operating System**

*   [ ] Windows
*   [x] Mac OS X
*   [ ] Mobile iOS
*   [ ] Mobile Android
*   [ ] Linux (please specify distro)
*   [ ] Chrome OS
*   [ ] Other (please specify)

**Language**

_German_
