Live capture hears text written into a dialog as it closes
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 62/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- html, typescript
调研方向
Start with the hidden-ancestor check in src/deps/real.ts, where live capture decides whether a node is hidden, and see how hidden, inert and aria-hidden are handled there. Then read src/providers/rulepack/live-value.ts to follow how the mutation observer records the text. Done when a dialog without open is treated as hidden in the ancestor chain, and a test shows text written just before close is not recorded as heard.
由索引模型根据 Issue 内容生成。
描述
What happens
Live-region capture hears text written into a <dialog> just before the dialog closes.
Example: a Save button inside a modal dialog runs msg.textContent = 'Saved'; dialog.close(), where msg is a polite live region inside the dialog. The mutation observer runs after the task. By then the dialog is closed, so its content is out of the accessibility tree and no screen reader speaks it. The capture still records "Saved", so a required announcement can read as heard.
Expected
A dialog element without the open attribute hides its subtree. Treat it as hidden in the ancestor chain, the same way hidden, inert, and aria-hidden are treated today.
Where
src/deps/real.ts(the hidden-ancestor check in live capture)src/providers/rulepack/live-value.ts
- 主要语言
- TypeScript
- 星标
- 0
- 派生
- 0
- 平均合并
- 8 小时 39 分钟
- 30 天内合并 PR
- 52
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
usabl-dev/usabl 的其他 Issue
-
area: engine enhancement performance
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
area: engine bug
难度 3/5 1-2 天 新手友好度 52/100
维护者通常 1 天内回复
-
area: engine bug
难度 3/5 1-2 天 新手友好度 45/100
维护者通常 1 天内回复
-
area: engine enhancement performance
难度 4/5 1-2 天 新手友好度 45/100
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 35/100
维护者通常 1 天内回复
相似的 Issue
-
[Text] Add Reading Time & Word Count Estimator for Reflection Notes in src/lib/text/reading-time.ts未关闭area:core beginner-friendly community contributions-welcome difficulty:easy enhancement good first issue
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
[fullsend] E2E: scorecard — filecheck GitLab entity metrics unavailable due to initialDelay timing未关闭e2e-failure ready-to-code
难度 2/5 1-3 小时 新手友好度 75/100
redhat-developer/rhdh-plugin-export-overlays#4698 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
devswha/herdr-web-ui#2884 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
b:minor bug
难度 2/5 1-3 小时 新手友好度 78/100
software-mansion/argent#1771 ·
维护者通常 1 天内回复