Add a class for detecting poor accessibility practices
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 活跃
- 技术栈
- css
调研方向
未指定任何文件、测试或入口点。首先审查现有的 CSS 类约定,并确定所提议的 accessibility-debugging 类的预期范围和实现方式;完成标准应包括一组已达成一致的检查以及有文档记录的验证,而 issue 尚未定义这些内容。
由索引模型根据 Issue 内容生成。
描述
I think I got this idea from Katrina awhile back, but perhaps we should offer a class like <html class="debug"> that helps authors avoid some common accessibility pitfalls. The following is a copy/paste of my current styles, not necessarily the implementation we'd use:
article:not(:has(h1, h2, h3, h4, h5, h6)),
fieldset:not(:has(legend)),
figure:not(:has(figcaption)),
section:not([role]):not([aria-label], [aria-labelledby]),
form:not(search > form):not([aria-label], [aria-labelledby]),
table:not(:has(caption)):not([aria-label], [aria-labelledby]),
search > form:not([aria-label], [aria-labelledby]) {
background: initial !important;
}
img:not([alt]) {
filter: invert() !important;
}
label:not([for]),
input:not([name], [id]) {
color: red !important;
}
.iconbutton:not([title], [aria-label]) {
background: red !important;
color: red !important;
}
.print-only:not([aria-hidden="true"]) {
background: red !important;
}
- 主要语言
- CSS
- 星标
- 798
- 派生
- 29
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
bigskysoftware/missing 的其他 Issue
-
enhancement visual
难度 2/5 1-3 小时 新手友好度 65/100
bigskysoftware/missing#175 ·
-
visual
难度 1/5 1 小时以内 新手友好度 78/100
bigskysoftware/missing#172 ·
-
visual
难度 2/5 1-3 小时 新手友好度 78/100
bigskysoftware/missing#171 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 68/100
bigskysoftware/missing#162 · 1 条评论 · 1 个 reaction ·
-
Remove bullets from `<li><input>`可能重新可做 @geoffrey-eisenbarth 于 38 天前认领,目前没有进行中的 PR。 未关闭visual
bigskysoftware/missing#173 · 已指派 1 人 ·
查看 bigskysoftware/missing 的全部 Issue
相似的 Issue
-
good first issue help wanted translation
难度 2/5 1-3 小时 新手友好度 86/100
ChristianHandy/FleetPilot#122 ·
维护者通常 1 天内回复
-
bug hacktoberfest help wanted
难度 2/5 1-3 小时 新手友好度 85/100
useagenthq/useagent#346 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
bug to check
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
[bug]: Base UI Combobox: ComboboxEmpty never shows in an inline Combobox (hidden outside ComboboxContent)可能已有人在做 @asxxb 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复