fix: 补全 AT-SPI objectName 定位锚点 (DDE-162) - #497
Conversation
|
Hi @MyLeeJiEun. Thanks for your PR. I'm waiting for a linuxdeepin member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Reviewer's Guide本 PR 在 14 个 UI 源码文件中为 dock、快捷面板、菜单、动作及投屏等控件补充稳定的 AT-SPI 对象名称,并新增 expected_names.yaml 作为自动化覆盖率基线;同时同步 SPDX 年份。变更不涉及既有业务逻辑,但本地未完成编译验证,审核时应重点核对名称清单与实际控件创建位置、类型及运行时 AT-SPI 结果是否一致。 File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
1a09590 to
529b0af
Compare
7ab7d69 to
7a8cc91
Compare
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
c68e983 to
6f22ab0
Compare
6f22ab0 to
57f78da
Compare
57f78da to
4cca778
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: BLumia, MyLeeJiEun The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Add setObjectName() to 18 widget instances across 14 files as the AT-SPI test locator anchor. Per DDE-198, setObjectName() (objectName → AT-SPI AccessibleId) is the sole test locator anchor; setAccessibleName() is reserved for screen-reader semantics only and is not used as a locator. 为 14 个文件的 18 个控件实例补全 setObjectName(),作为 AT-SPI 测试定位锚点。 依 DDE-198 规则,setObjectName() 为唯一定位锚点,setAccessibleName() 仅保留读屏语义。 Log: 补全 AT-SPI 定位锚点(objectName) Influence: 提升托盘加载器控件的无障碍访问覆盖率,方便辅助技术与测试定位。 Closes DDE-162
4cca778 to
db26233
Compare
|
/merge |
|
This pr cannot be merged! (status: blocked) |
|
/forcemerge |
|
This pr force merged! (status: blocked) |
Closes DDE-162
概述
为 dde-tray-loader 仓库补全 AT-SPI 无障碍访问支持,对缺少
setObjectName()/setAccessibleName()调用的 Qt/DTK 控件实例逐一补全,方便辅助技术(屏幕阅读器等)识别和操作。改动内容
setObjectName()/setAccessibleName()调用。setObjectName();setObjectName()和setAccessibleName()。tests/at/spi/expected_names.yaml,记录补全后控件的期望名称清单。覆盖率对比
说明
expected_names.yaml中qml_elements为空。测试
setObjectName()/setAccessibleName()调用,不修改已有逻辑,不涉及格式化、lint 或重构。Summary by Sourcery
Complete AT-SPI naming coverage for dock and loader controls to make them reliably discoverable by assistive technologies.
New Features:
Enhancements:
Tests: