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

image-redundant-alt

Skill này làm gì

Skill này kiểm tra văn bản thay thế của ảnh xem có chữ thừa không, như ảnh của, hoặc có sao chép các từ gần đó không. Skill dành cho lập trình viên và biên tập viên viết alt text.

Khi nào nên dùng

  • ✓Khi văn bản alt bắt đầu bằng các chữ ảnh của hoặc ảnh chụp.
  • ✓Khi văn bản alt lặp lại chú thích hoặc các từ ngay cạnh bức ảnh.
  • ✓Khi trình đọc màn hình đọc cùng một thông tin hai lần.

Liên kết skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/image-redundant-alt/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/image-redundant-alt/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

“Bạn có thể làm gọn văn bản alt của các ảnh của tôi để không bị lặp lại không?”

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

Cách hoạt động

Agent quét thuộc tính alt để tìm cụm từ thừa và văn bản trùng với nội dung gần đó. Agent gợi ý cách viết ngắn hơn, tập trung vào ý nghĩa của ảnh.

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 redundant image alternative text

Redundant alt text increases the verbosity for screen reader users without adding value, leading to a poorer user experience and slower navigation.

Quick Reference

  • Do not repeat 'image of' or 'picture of' in alt text
  • Avoid alt text that exactly matches adjacent text
  • Keep alt text concise and focused on the image's meaning

Check

Scan image alt attributes for redundant phrases like 'image of', 'photo of', or text that duplicates surrounding content.

Fix

Remove redundant phrases from the alt attribute and ensure the text provides unique, descriptive information.

Explain

Explain why screen readers already announce 'graphic' or 'image', making phrases like 'image of' unnecessary and repetitive.

Code Review

Review the rendered markup and interactive states that affect Avoid redundant image alternative 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/image-redundant-alt

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

Vì sao các cụm như ảnh của là không cần thiết?

Trình đọc màn hình đã thông báo rằng đó là một ảnh, nên lặp lại chỉ gây nhiễu.

Văn bản alt nên tập trung vào điều gì?

Skill nói nó nên đưa ra thông tin mô tả riêng, duy nhất về những gì ảnh thể hiện.

Làm sao kiểm tra kết quả?

Skill gợi ý dùng công cụ trợ năng của trình duyệt hoặc công nghệ hỗ trợ.

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 redundant image alternative 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
#2886
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ự