chore(backlog): 记录 g349 完成

This commit is contained in:
HIsheR
2026-10-27 02:34:06 +08:00
parent a0e4eeb479
commit e7f713795e
2 changed files with 10 additions and 0 deletions
+9
View File
@@ -3527,6 +3527,15 @@
"acceptance": "① 恰好一个原生控件时给控件补派生 id 并把 label 的 for 指过去(组件自带 id 不覆盖);② 无单一原生控件(自绘下拉 / 单选组)改在容器或首个可聚焦元素上写 aria-labelledby 指向 label id;③ label 自带 id 供关联;④ ua verify 新增 checkFormLabel 三条断言;⑤ demo 文案点出关联效果;⑥ npm run check 全绿。",
"status": "done",
"notes": ""
},
{
"id": "g349",
"domain": "tune",
"title": "listbox / radiogroup 补可访问名:无名的容器读屏只念「列表」",
"motivation": "g335 / g337 把可访问名管到了输入控件,自定义角色容器仍是盲区:自动补全、提及、多选、下拉的弹层都是 role=listbox,分段控件的 role=radiogroup,其中五处既无 aria-label 也无 aria-labelledby。读屏进到这些容器只报「列表」「组」,说不出是哪一个列表——而它们恰恰不止一个并存(下拉 + 标签 + 分段同屏)。",
"acceptance": "① autoComplete / mentions / multiSelect / select / segmented 五处容器补中文可访问名;② ua verify 新增 checkRoleNames:role listbox / radiogroup 的入参对象里必须有 aria-label 或 aria-labelledby,按花括号深度圈定本次 h(...) 入参避免误伤隔壁;③ 成功文案同步;④ 负向自检去掉一处名字即红;⑤ npm run check 全绿。",
"status": "done",
"notes": ""
}
]
}