How to find the error file?
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- nuxt
- 领域
- accessibility, tooling
调研方向
在使用 @nuxtjs/html-validator 的 Nuxt 项目中复现报告的验证错误,从 issue 中显示的 route 和 line/column 输出开始。追踪这些诊断信息的组装方式,并将完成定义为报告足够的源代码上下文,以识别受影响的文件或组件;未指定测试文件,因此请在相关输出路径旁添加覆盖测试。
由索引模型根据 Issue 内容生成。
描述
Problem:
I can't find the exact problem pointed by @nuxtjs/html-validator.
Expected:
To have more detail for each error, like the filename, or at least the surrounding code.
I have a big medium-size project with dozens of pages and components.
I've just installed @nuxtjs/html-validator and run.
It has successfully found some errors:
ERROR HTML validation errors found for /my-url-route
inline
591:375 error <h1> cannot be empty, must have text content empty-heading
591:649 error Anchor link must have a text describing its purpose wcag/h30
593:866 error <input> is missing required "type" attribute element-required-attributes
593:866 error <input> element does not have a <label> input-missing-label
As I have only 1 <h1> tag, it was easy to find the first bug, but as I use lot's of components, in some cases, I can't know exactly where the problems are.
I feel like I'm missing something fundamental here. Am I not using the took correctly?
- 主要语言
- TypeScript
- 星标
- 204
- 派生
- 24
- 平均合并
- 15 小时 6 分钟
- 30 天内合并 PR
- 12
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nuxt-modules/html-validator 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 38/100
nuxt-modules/html-validator#824 · 1 个 reaction ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 45/100
nuxt-modules/html-validator#821 ·
维护者通常 1 天内回复
-
ignore option being ignored when prerendering可能重新可做 关联的 PR 已关闭且未合并。 未关闭bug
难度 3/5 1-2 天 新手友好度 45/100
nuxt-modules/html-validator#768 ·
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
nuxt-modules/html-validator#302 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 10/100
nuxt-modules/html-validator#122 ·
维护者通常 1 天内回复
查看 nuxt-modules/html-validator 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
QuantumNous/new-api#7839 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
bug p2 triaged
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
test: make the #3408 Claude OAuth token fixture obviously fake so secret scanners stop flagging it未关闭
难度 2/5 1-3 小时 新手友好度 76/100
code-yeongyu/senpi#3436 ·
维护者通常 1 天内回复
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
难度 1/5 1 小时以内 新手友好度 78/100
lingdojo/kana-dojo#32505 · 1 条评论 · 5 个 reaction ·
维护者通常 1 天内回复