iter(g99): 加载指示器补可定制播报

This commit is contained in:
HIsheR
2026-10-26 13:17:12 +08:00
parent 44efe8b547
commit a5d4fafab1
7 changed files with 30 additions and 7 deletions
+8
View File
@@ -1148,6 +1148,14 @@
"acceptance": "ModalProps / DrawerProps 新增 closeOnOverlay(缺省 true);传 false 时点遮罩不关闭,× 与 Esc 行为不变;文档参数表与演示(防误关弹窗实例)同步;npm run check 全绿",
"notes": "自补:可用性;遮罩点击处理改成显式卫语句,语义比一长串 && 更清楚",
"status": "done"
},
{
"id": "g99",
"title": "加载指示器补可定制播报文案",
"motivation": "spinner 的 aria-label 写死「加载中」,页面里同时有三处加载时读屏念三次一样的话,用户不知道在等什么;组件没有出口让调用方说明加载对象",
"acceptance": "SpinnerProps 新增可选 label,缺省仍是「加载中」(不传即旧行为);role=status 保持不变;文档参数与手把手步骤、演示(带 label 的实例)同步;npm run check 全绿",
"notes": "自补:无障碍;纯透传一个可选参数,行为向后兼容",
"status": "open"
}
]
}