Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 19, 2024. It is now read-only.
/insomniumPublic archive

Accessibility: Backport modal autofocus in latest insomnia version#166

Open
thgcode wants to merge1 commit intoArchGPT:main
base:main
Choose a base branch
Loading
fromthgcode:fix/modal-autofocus

Conversation

@thgcode
Copy link

This pull request backportsPull request 6945 on Insomnia. This pull request adds a focus scope to the modals and autofocuses it, making a screen reader (for example NVDA) moving the cursor inside of the modal and speaking its contents automatically, instead of requiring the user to guess if the modal was opened and manually moving the keyboard to it.

Tests performed:

With the code on the main branch:

  • With NVDA active, opened insomnium and pressed CTRL+, to open the preferences window.
    NVDA does not identified the modal, requiring the user to press CTRL+HOME and space to open id, the arrow keys caused NVDA to speak other elements not related with the modal.

With the code on this pull request:

  • With NVDA active, opened Insomnium and pressed CTRL+, to open the preferences window.
    NVDA instantly started to speak the modal contents and the arrow keys worked to speak the modal elements.

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@thgcode

[8]ページ先頭

©2009-2025 Movatter.jp