fix(at-spi): 补全 deepin-update-ui AT-SPI 无障碍名称 - #333
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
Reviewer's Guide通过为静态和动态交互控件设置唯一、可预测的 objectName/accessibleName,并新增 AT-SPI 预期名称基线,使 deepin-update-ui 的无障碍名称覆盖率达到 100%,同时补充 REUSE 元数据。 Flow diagram for predictable control namingflowchart TD
Static[Static controls] --> ObjectName[setObjectName unique identifier]
Static --> AccessibleName[setAccessibleName accessibility label]
Dynamic[Dynamic action buttons] --> EnumName[QMetaEnum action name]
ObjectName --> ATSPIScan[AT-SPI scan]
AccessibleName --> ATSPIScan
EnumName --> ATSPIScan
ATSPIScan --> Coverage[100% named controls]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
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. |
f8d95a8 to
2fa234d
Compare
Add setObjectName for 8 gap widgets and set unique objectName for 4 existing widgets across 3 source files. Per DDE-198, setObjectName is the test locator anchor; setAccessibleName is retained only for pre-existing screen-reader semantics, not as a test locator. 为deepin-update-ui中8个缺口控件添加setObjectName,并为4个已有控件 补充唯一objectName。按DDE-198规则,setObjectName为测试定位锚点; setAccessibleName仅保留既有读屏语义,不作为测试定位锚点。 Log: 补全deepin-update-ui的AT-SPI无障碍名称 Influence: 补全后AT-SPI覆盖率达100%,辅助技术可正确定位所有交互控件。
2fa234d to
2b9d4a6
Compare
|
TAG Bot New tag: 1.0.62 |
任务概述
为
deepin-update-ui补全 AT-SPI 无障碍名称,使辅助技术能够正确定位所有交互控件。扫描结果
补全内容
共修改 3 个源码文件,为 5 个缺口控件新增
setObjectName+setAccessibleName,并为 4 个已有控件补充唯一objectName(消除跨文件重复):验证
dde-update与dde-rollback本地编译通过tests/at/spi/expected_names.yaml作为回归基线关联
Multica 任务:DDE-163
Summary by Sourcery
Complete AT-SPI naming for update and recovery UI controls to make all interactive elements reliably discoverable by assistive technologies.
New Features:
Bug Fixes:
Enhancements:
Tests:
Chores: