Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modal focus trapping #172

Merged
merged 46 commits into from
Feb 19, 2024
Merged

Modal focus trapping #172

merged 46 commits into from
Feb 19, 2024

Conversation

susulone
Copy link
Collaborator

Modal:

  • trap focus inside modal
  • fix height issues when content is long

SubModal:

  • trap focus inside modal
  • change min-w-[400px] to only apply with larger screens
  • fix height issues when content is long

DeleteModal:

  • trap focus inside modal

CalendarEventModal:

  • trap focus inside modal

KanbanTask:

  • trap focus inside modal

IconButton:

  • fix sizing issues when only icon is displayed

LabelModal:

  • make checkbox focusable and selectable with keyboard

susulone and others added 30 commits February 15, 2024 11:20
…ldren a tab index and make them loop. Add event listener to be able to close modal with esc.
…en a tab index and make them loop. Add event listener to be able to close modal with esc.
* Polish kanban column layout

* Fix button position

* Add padding to show full outline

* Change height to avoid column warping on drag

* Fix height

* Adjust task positions
* removed couple comments and added backend password update validation

* Type fix

* fixes
…dren a tab index and make them loop. Add event listener to be able to close modal with esc and add aria label for the close task button.
…ble children a tab index and make them loop. Add listener to be able to close modal with esc and add aria label for the close modal button.
@bkruotsalainen bkruotsalainen self-requested a review February 16, 2024 13:49
@Moiman Moiman merged commit 4b21643 into main Feb 19, 2024
5 checks passed
@Moiman Moiman deleted the modal-focus-trapping branch February 19, 2024 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants