nextcloud / nextcloud/calendar

Wrong focus after closing "New calendar"

Open
#4,127 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug feature: accessibility
Dominant language
JavaScript
Stars
1.2k
Forks
332
Avg merge
16h 13m
Merged PRs (30d)
137

Description

Steps to reproduce
  1. Open the app
  2. Attempt to create a new calendar
  3. Close the menu again
Expected behavior

Focus should be moved back to where it was before – in this case to the "New event" button.

Actual behaviour

Closing "New event" popover moves focus to the start of the page

Calendar app version

3.x

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by opening the app, attempting to create a new calendar, and closing the menu. Trace the focus handling for the New event button and the New calendar or New event popover, then verify that closing the popover restores focus to the previously focused control instead of moving it to the page start.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
accessibility, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.