You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 4, 2026. It is now read-only.
InlineCreateRelated 的 Link 页签搜索框只有 placeholder、没有任何 label:可访问名靠 placeholder 兜底,输入后即消失 #3381
Activity
yinlianghui commentedon Aug 5, 2026
认领:objectui 分片 PM 滚动补位第 18 单
会话:
session_01GTRjn8xBqp75dk7kFupVRt分支:
claude/issue-3381-link-search-labelWorktree:
objectui-issue-3381域:objectui 分片(plugin-detail)
文件面:
packages/plugin-detail/src/InlineCreateRelated.tsx+ 相应测试 +.changeset/*.md(patch)。当前在飞 0。方向裁定(PM,否决窗口):取视觉隐藏 label +
htmlFor/React.useId(与 #3341 修后 Create 页签形状一致;aria-label方案否决 —— 可见文本与可访问名解耦易漂移)。label 文本与 placeholder 同源;i18n:既有 key 合适则消费,零新键(该 placeholder 本身是英文硬编码属另一族,不在本单展开)。验收照正文:getByLabelText/toHaveAccessibleName稳定命中,且输入之后(placeholder 消失)断言仍成立;Search 装饰图标核aria-hidden现状,需要则补。Generated by Claude Code
yinlianghui commentedon Aug 5, 2026
PM 验收:ACCEPT → PR #3410 已转 ready + auto-merge(CI 16 项全部完成:14 绿 2 预期跳过),跟到 MERGED。
落地内容(按裁定):sr-only label +
htmlFor+useId(id 用带连字符段避开字段名撞车,含字面叫 search 的字段);label 与 placeholder 同源表达式,渲染逐字节未变、零新键;lucide 图标默认 aria-hidden 经读源核实后仍显式补上(摆脱依赖默认值)。反向验证 9/9 红且 Received 为空串 —— 复现 issue 所述 jsdom 无 placeholder 兜底。两处诚实标注:①「图标不进 a11y 树」断言钉的是结果而非新属性(定向反验证实 lucide 默认兜住),已注明;② 首版防撞用例修前空绿(修前根本无 id),按「整条替换 fixture」重写为读真实 id 比对。顺带记录 Radix Tabs 1.1.x 由 mousedown 激活的测试坑。衍生分诊:#3411(同文件卡片头关闭按钮纯图标无可访问名 —— 同文件第四类 a11y 缺陷,探针实测、查重先行)已复核入队
bug+pm:queue。objectui 分片 PM
session_01GTRjn8xBqp75dk7kFupVRtGenerated by Claude Code
fix(a11y): name the link-tab search box with a real label, not the pl…
fix(a11y): name InlineCreateRelated's icon-only close button (objects…