Chuyển đến nội dung
Skillpedia
Website và giao diện (frontend)75k · #3053

text-in-images

Skill này làm gì

Skill này kiểm tra các trang web tìm hình ảnh hiển thị chữ thay vì văn bản thật. Skill dành cho các nhóm web muốn nội dung mà mọi người đều đọc và dịch được.

Khi nào nên dùng

  • ✓Khi một banner hoặc hình ảnh chứa một câu có thể là văn bản HTML thật.
  • ✓Khi một trang có hình ảnh chữ mà không có văn bản thay thế.
  • ✓Khi một đợt rà soát trợ năng báo rằng có chữ không thể thay đổi kích thước.

Liên kết skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/text-in-images/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/text-in-images/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Header của site tôi là một hình có chữ trên đó. Bạn có thể kiểm tra xem chữ đó có nên là văn bản thật không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent tìm các hình ảnh chứa chữ. Sau đó agent gợi ý văn bản thật được tạo kiểu bằng CSS, hoặc thêm văn bản thay thế nếu hình ảnh buộc phải giữ nguyên.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Avoid images of text

Text in images can't be resized by users with low vision, translated automatically, read by screen readers without alt text, or reflowed when zoomed—real text is always more accessible.

Quick Reference

  • Use real HTML text instead of text in images
  • Images of text can't be resized, translated, or read by screen readers
  • Logos and decorative typography are acceptable exceptions
  • Use CSS and web fonts for stylized text effects

Check

Identify images that contain text content. Verify the text could not be presented as real HTML text. Exceptions include logos, decorative typography, and cases where exact visual rendering is essential.

Fix

Replace text images with real HTML text styled with CSS. If images of text are necessary, provide equivalent text in alt attributes. Consider using SVG with embedded text for scalable typography.

Explain

Explain how images of text cannot be resized by users, are not readable by screen readers without alt text, cannot reflow on zoom, and create barriers for translation and text customization.

Code Review

Review the rendered markup and interactive states that affect Avoid images of text. Flag exact elements, roles, labels, focus behavior, or keyboard interactions that violate the rule, and note how to verify the fix with browser accessibility tooling or assistive tech.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/accessibility/text-in-images

Câu hỏi thường gặp

Logo có được miễn không?

Có. Skill nói rằng logo và chữ trang trí là các ngoại lệ được chấp nhận.

Nếu tôi buộc phải giữ hình ảnh thì sao?

Skill khuyên đặt văn bản tương đương trong thuộc tính alt của hình ảnh.

SVG có giúp được với chữ không?

Skill gợi ý SVG có văn bản nhúng như một lựa chọn cho kiểu chữ co giãn được.

Chi tiết

Mô tả gốc của tác giả

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Avoid images of text. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.

repo: thedaviddias/Front-End-Checklist

Độ phổ biến

Sao GitHub
75k
Vị trí xếp hạng
#3053
Giấy phép
MIT
Cập nhật
31/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự