Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

add screen reader support via AccessKit

未關閉
#200 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
28/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
rust

研究方向

Start in baseview/src/win/window.rs at wnd_proc (around line 121) and handle WM_GETOBJECT by calling accesskit_windows::Adapter::handle_wm_getobject as described. Find the matching Mac window path and wire AccessKit there too. Done means screen readers (Narrator, NVDA, VoiceOver) can inspect the plugin UI when hosted via baseview.

由索引模型根據 Issue 內容生成。

描述

Hello,

I recently tried to implement a VST plugin using nih-plug (https://github.com/robbert-vdh/nih-plug). nih-plug uses baseview in combination with one of three different UI frameworks, Iced, Vizia and Egui, of which Vizia and Egui already support accessibility when run via winit, but not via baseview. In order to provide screen reader accessibility under Windows and Mac (and presumably other platforms too), the AccessKit crate is used. I opened an issue over on the nih-plug issue tracker (https://github.com/robbert-vdh/nih-plug/issues/174), and @DataTriny stepped up with some really helpful insights.

On Windows, accessibility should be activated when a window receives the WM_GETOBJECT message. As you can see in baseview/src/win/window.rs in the function wnd_proc (starting at line 121), this message is simply ignored. To directly integrate AccessKit, one must call accesskit_windows::Adapter::handle_wm_getobject whenever this message arrives.

These are only instructions for Windows, I assume corresponding measures need to be taken in order to support Mac OS accessibility as well.

It'd be great if someone could take a look at this, I myself am way to unexperienced with that I think, although I'd be happy to help wherever I can.
Testing can be done natively under Windows via Narrator and VoiceOver under Mac OS. Alternatively NVDA, a free and really popular screen reader, can be used under Windows too.

Please let me know if you need more information.

Thank you.

主要語言
Rust
星號
387
分支
128
平均合併
3 天 2 小時
30 天內合併 PR
15

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

RustAudio/baseview 的其他 Issue

查看 RustAudio/baseview 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。