HTML企业官网

esl-feedback-design-system — HTML 企业官网模板

作者 itsfedor

面向 ESL 学生反馈文档的 HTML 设计系统,提供语义色板、带插槽标记的模板、静态合规检查与渲染 QA 工具。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

1 个预览视图
作者提供的预览
作者提供的预览首屏预览

来自项目 README 的原始预览。

目前有 1 张原始预览,可打开完整图片查看设计细节。

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-07查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

5 个语义颜色角色,每个含 base、tint、ink 三档,并针对九种背景做 WCAG 对比度校验

02

颜色不单独承载含义,修改卡用文字标签重复类别,图例顺序固定,支持色盲模拟阅读

03

6 个字号、4px 间距网格、3 种圆角、无阴影,超出比例的值会被 linter 拒绝

04

移动优先布局(390px)、滚动表格容器、:focus-visible 轮廓、打印样式表,无内联样式与第三方 JavaScript

05

提供 IELTS 分数卡变体:按技能的点状等级与柔和色块,复用同一套 tokens

模板详细介绍

该项目把 ESL 教学反馈文档的排版规则固化成一套可检查的 HTML 设计系统,主要覆盖两类文档:作业分析与 IELTS 分数卡。系统用 5 个语义颜色角色(语法、用词、句子流畅度、风格与口语、标点)替代零散色值,每个角色包含 base、tint、ink 三档,并针对其所在的九种背景做对比度校验;颜色不单独承载含义,每张修改卡同时用文字标签重复类别,以保证在红绿色盲模拟下仍可读。排版方面收敛为 6 个字号、4px 间距网格、3 种圆角且不使用阴影,检查工具会拒绝任何超出该比例的值。

使用流程分四步:复制 templates 目录下的作业分析模板或分数卡模板,填写所有 <!-- SLOT --> 标记,只使用系统内类名;运行 check_design.py 做静态合规检查(预期 9/9);运行 qa_run.py 在无头 Chromium 中检查控制台错误、横向溢出、字体、音频并截图;交付后如需修改应生成带日期的新文件而非直接编辑。examples 目录提供两份合成演示文档,均通过 linter 9/9 与 Playwright QA,报告保存在 assets 中。

限制与边界:qa_run.py 要求文档至少包含一个带 source 的 <audio>,纯文字文档需加 --allow-no-audio;工具依赖 Python 标准库与 Playwright(需另行安装 playwright 包及 Chromium)。仓库未提供框架版本号,也未声明生产就绪程度;演示图片、字体、图标等第三方素材需按各自许可单独核对。

HTML企业官网

适合你的项目吗?

适用场景

  • 为 ESL 学生生成结构统一的作业分析反馈文档
  • 制作 IELTS 诊断分数卡,按技能展示等级与评语
  • 在交付前用静态检查与无头浏览器 QA 验证文档合规性与渲染表现
  • 作为教学团队内部反馈文档的样式与检查规范

适合人群

  • 需要统一 ESL 反馈文档格式的教师或教学团队
  • 希望用可检查的规则约束 HTML 文档样式的开发者
  • 关注对比度与色盲可读性的反馈文档制作者

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    安装 Playwright:python3 -m pip install playwright,然后 python3 -m playwright install chromium

  2. 2

    复制 templates 下的模板并填写所有 <!-- SLOT --> 标记,只使用系统内类名

  3. 3

    运行 python3 tools/check_design.py doc.html 做静态合规检查,预期 9/9

  4. 4

    运行 python3 tools/qa_run.py doc.html 做渲染 QA;纯文字文档需加 --allow-no-audio

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
  • qa_run.py 要求文档至少包含一个带 source 的 <audio> 元素;纯文字文档必须加 --allow-no-audio 参数才能通过渲染 QA。
  • 渲染 QA 依赖外部 Playwright 工具链,需自行安装 playwright 包并下载 Chromium 浏览器,非纯标准库即可运行。
  • 模板使用限制:只能使用系统内定义的类名,不得引入新的颜色、字号或间距值,否则 linter 会失败。
  • 交付后如需修改,必须生成带日期的新文件,而不能直接编辑已交付的文档。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

`qa_run.py` expects at least one `<audio>` with a source; for written-only documents pass `--allow-no-audio`.

README 原文

python3 -m pip install playwright python3 -m playwright install chromium

README 原文

Only classes from the system; no new colours, sizes or spacings.

README 原文

A later change means a new dated file, never an edit.

README 原文
https://github.com/itsfedor/esl-feedback-design-system/blob/main/LICENSEhttps://github.com/itsfedor/esl-feedback-design-system/blob/main/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-07。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料一般 · 68 / 100
技术栈
HTML
网站类型
企业官网
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2026-10-07
截图检查日期
2026-10-07

目前没有记录演示链接。请依据仓库说明在本地评估;仅凭截图无法确认交互行为。

目录记录的主要技术栈是 HTML。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

审核声明: [email protected] · 2026-10-08

查看当时使用的来源资料

SHA-256: 4c22b13fcb72f97fb02c72ce58a9025b24779ac772eaf8bee074107b115c438a

2026-10-07T16:51:12.880Z

来源文件 / 仓库
<picture>
  <source media="(prefers-color-scheme: dark)" srcset="assets/banner-dark.png">
  <img alt="ESL Feedback Design System — palette, slot-marked templates, a conformance linter and render QA — by Fedor Molodtsov" src="assets/banner-light.png" width="100%">
</picture>

<p align="center"><sub><b>Fedor Molodtsov</b> — AI automation engineer · <a href="https://github.com/itsfedor">github.com/itsfedor</a></sub></p>

# ESL Feedback Design System

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
[![WCAG](https://img.shields.io/badge/contrast-WCAG%20AA-1d7a4f)](docs/design-system.md#contrast-wcag-2x)
[![Playwright QA](https://img.shields.io/badge/render%20QA-Playwright-2EAD33?logo=playwright&logoColor=fff)](tools/qa_run.py)

A small, strict design system for ESL student-feedback documents: homework
analyses and IELTS band cards. One palette, slot-marked HTML templates, a
static conformance linter and a render-QA runner. Built for a real teaching
practice where the student reads feedback on a phone and every document must
behave the same way.

It is a working style turned into a system: 26 drifting font sizes folded into
6, a pile of one-off hex values collapsed into 5 semantic roles, and every
decision pinned by numbers. WCAG contrast minimums with measured values,
colour-blindness simulation, a mobile-first layout at 390px, a print
stylesheet, and two tools that must both be green before a document ships.

## Ship a document in four steps

1. Copy `templates/homework-analysis-template.html` (or the band-card
   variant) and fill every `<!-- SLOT -->` marker. Only classes from the
   system; no new colours, sizes or spacings.
2. `python3 tools/check_design.py doc.html` — static conformance, 9/9 expected.
3. `python3 tools/qa_run.py doc.html` — headless Chromium: console errors,
   overflow, fonts, audio, screenshots.
4. Deliver. A later change means a new dated file, never an edit.

```bash
python3 -m pip install playwright
python3 -m playwright install chromium
```

## Screenshots

![Homework analysis — full desktop view](assets/demo-homework-desktop-full.png)

![IELTS band card — phone view](assets/demo-bandcard-mobile.png)

## Demo documents

[`examples/demo-homework-analysis.html`](examples/demo-homework-analysis.html)
and [`examples/demo-band-card.html`](examples/demo-band-card.html) are
synthetic documents (no real student content). Both pass: linter **9/9** ·
Playwright QA **PASS** at 1440×900 and 390×844 — 0 console errors, 0 px
overflow, Inter loaded, audio present. The machine reports ship in
`assets/qa-report-*.json`.

## What's inside

```
esl-feedback-design-system/
├── templates/   homework-analysis-template.html · band-card-template.html · REPLACE-ME.wav
├── tools/       check_design.py · qa_run.py · selftest.sh · fixtures/
├── examples/    demo-homework-analysis.html · demo-band-card.html · demo-tone.wav
├── docs/        design-system.md (full spec, v1.4)
├── assets/      banners · demo screenshots · QA reports
└── tokens.json  machine-readable palette, type scale, spacing (read by the linter)
```

## The system in one minute

- **Five semantic colour roles** (grammar / word choice / sentence flow /
  style & speech / punctuation), each a base + tint + ink triplet, all
  contrast-checked against the nine backgrounds they sit on.
- **Redundant encoding:** colour never carries meaning alone. Every fix card
  repeats its category as a text chip, and the legend order is fixed — so the
  document still reads under deuteranopia.
- **Six font sizes, one 4px spacing grid, three radii, no shadows.** The
  linter fails any value outside the scale.
- **Mobile-first, print-friendly, accessible:** 390px layout, scrolling table
  wrappers, `:focus-visible` outlines, a print stylesheet, zero inline styles,
  zero third-party JavaScript.
- **A band-card variant** for IELTS diagnostics: dot-scale bands per skill and
  pastel skill-coded blocks (v1.4), same tokens.

Full spec: [docs/design-system.md](docs/design-system.md). Machine-readable
tokens: [tokens.json](tokens.json).

## Tools

| Tool | What it checks |
|---|---|
| `tools/check_design.py` | Structure, version stamp, required components, inline styles, print/focus rules, font scale, palette. Python stdlib only |
| `tools/qa_run.py` | Headless Chromium at desktop + mobile: console and page errors, horizontal overflow (locates the culprit by bisection), fonts, audio sources, screenshots, `qa-report.json` |
| `tools/selftest.sh` | Runs both tools against the known-good / known-bad fixtures and asserts exit codes |

`qa_run.py` expects at least one `<audio>` with a source; for written-only
documents pass `--allow-no-audio`.

## License

MIT © Fedor Molodtsov
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。