nextcloud / nextcloud/calendar
Appointments modal: set the first focus to the first input in a form
Open
Nobody has claimed this yet.
1. to develop
enhancement
feature: accessibility
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 332
- Avg merge
- 16h 13m
- Merged PRs (30d)
- 137
Description
Is your feature request related to a problem? Please describe.
Regarding accessibility issues the first focus should go to the first form element inside of modal window.
Now the first focus goes to "close" button.
Describe the solution you'd like
See recommendation at https://www.w3.org/TR/wai-aria-practices/examples/dialog-modal/dialog.html
Describe alternatives you've considered
No response
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the appointments modal and inspect how its initial focus is assigned. Compare the behavior with the WAI-ARIA dialog-modal recommendation linked in the issue; done means the first focus enters the first form input rather than the close button.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- accessibility, frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100