Addon Manager is not usable with a screen reader (NVDA) or keyboard only
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 30/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- python
- 领域
- accessibility, desktop
调研方向
Start in package_list.py: PackageListItemModel.data() returns nothing for DisplayRole and AccessibleTextRole, and the delegate's paint() ignores option.state. Then check CompositeView.addon_selected(), which hides the focused list without moving focus, and the Enter/Return handling for opening an addon. Done means screen readers announce each item, Enter opens an addon, focus stays visible and is preserved. The author says a pull request for points 1 to 6 is coming, so check with the maintainers before starting; points 7 to 9 need design decisions.
由索引模型根据 Issue 内容生成。
描述
I am a blind FreeCAD user working with the NVDA screen reader on Windows 11. The Addon Manager is currently not usable for me. After reading the source code, here is what causes it:
Blocking
PackageListItemModel.data()(package_list.py) returns nothing forDisplayRoleorAccessibleTextRole. Items are painted by the delegate, so screen readers announce every item as empty.- Opening an addon is only connected to
clicked(mouse). Enter/Return does nothing. - The list uses
NoSelection, so the selected item is never announced, and the delegate'spaint()ignoresoption.state: there is no visible keyboard focus (WCAG 2.4.7). - In expanded/compact view,
CompositeView.addon_selected()hides the focused list without moving focus, so keyboard focus is lost.
Major
5. Icon-only buttons have no accessible name: the view selector (tooltip only), sort order button and loading "stop" button (no text, no tooltip), back button (tooltip only), gear menu (announced as the untranslated placeholder "Gear Tools…").
6. The search field (placeholder only), sort and filter combo boxes have no label.
7. The filter combo mixes two criteria with disabled header items and resets to index 0 after each activated signal, which makes arrow-key navigation confusing.
8. Status messages (install finished, restart required, errors) are set on a QLabel and not announced to assistive technologies.
9. Colour contrast in addonmanager_colors.py: the light-theme orange rgb(255,149,0) is 2.2:1 on white (WCAG minimum 4.5:1), the light-theme green is 4.4:1, the dark-theme red is 4.35:1 on #353535. The comment says "7:1".
There is currently no setAccessibleName, AccessibleTextRole or keyboard shortcut anywhere in the repository.
I am submitting a pull request that fixes points 1 to 6. Points 7 to 9 need design decisions from the maintainers.
- 主要语言
- Python
- 星标
- 24
- 派生
- 36
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
FreeCAD/AddonManager 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 56/100
FreeCAD/AddonManager#534 ·
-
难度 4/5 3-5 天 新手友好度 22/100
FreeCAD/AddonManager#529 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 52/100
FreeCAD/AddonManager#528 ·
-
难度 3/5 1-2 天 新手友好度 55/100
FreeCAD/AddonManager#527 · 1 条评论 ·
-
Restarting FC after addon install will disable the 3Dconnexion plugin可能已有人在做 @flaviut 于 24 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 30/100
FreeCAD/AddonManager#526 ·
查看 FreeCAD/AddonManager 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
AIR-Bench Foundation reads the first letter of the word after "answer" as the model's choice可能已有人在做 @beartester34 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
modelscope/evalscope#2330 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
Distribution plot crashes when a numeric feature is constant in the train or test set可能已有人在做 @adembilge 今天认领。 未关闭bug good first issue
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 10 天内回复