Trong Neova Chạy ngay từ lần crawl: không cần thiết lập gì.
Quy tắc được rà soát lần cuối ngày 17 tháng 10 năm 2026 · Hướng dẫn cập nhật ngày 27 tháng 7 năm 2026
Thực hành tốt về khả năng tiếp cận, không phải yêu cầu của WCAG. Một ô tiêu đề không có văn bản không cho người dùng trình đọc màn hình biết tên cột hoặc tên hàng.
Bạn có thể làm gì
Thêm văn bản vào ô tiêu đề. Dùng phần tử td nếu ô đó không phải tiêu đề.
Vì sao Neova đánh dấu
Trình đọc màn hình đọc header cùng mỗi ô dữ liệu, nên header trống khiến ô không có ngữ cảnh.
Người dùng di chuyển trong bảng nghe các giá trị mà không có tên cột hay tên hàng.
Thực hành tốt, bản thân nó không phải yêu cầu của WCAG.
Every data table needs th cells with real, descriptive text and a scope attribute so screen readers can announce the correct column or row for each cell. Empty or icon only headers leave assistive technology users without context and trigger the axe empty table header rule.
Give every th visible text that names the column or the row.
Add scope col or scope row so header associations are explicit.
For complex tables, use the id and headers attributes for exact mapping.
Do not fake headers with bold styled cells; use real th elements.
Accessible tables need th cells with real text and a scope so screen readers announce the right column or row for every data cell.
Quick Reference
Element Code: AC-024
Issue: Table header cells (th) are empty or lack text
Impact: Screen readers cannot announce column or row context for data cells
Table headers define the meaning of columns and rows. Without header text, screen readers cannot provide context when users navigate data cells, making tables unusable.
Why This Matters for Your Website
Data tables are critical for presenting structured information. Inaccessible tables exclude users from understanding your data.
How to Fix This Issue
Add text to headers: Describe what each column contains
Use scope attribute: scope="col" or scope="row"
For complex tables: Use id/headers for explicit associations
Tools for Detection
axe DevTools: Reports empty table headers
WAVE: Shows table structure issues
TL;DR (The Simple Version)
Your table headers are empty. Add text to each th cell that describes what the column or row contains.
Why Empty Headers Break Screen Readers
A sighted reader infers structure from position and styling: the top row is clearly labels, the left column clearly names each row. A screen reader has none of that visual context. It relies on the th element and its text to announce, for each data cell, which column and row it belongs to. When a header cell is empty, contains only an icon, or is faked with a bold styled td, the assistive technology has nothing to say, and the user hears a wall of numbers with no meaning. This is a real barrier, and it maps directly to WCAG success criterion 1.3.1, Info and Relationships. Accessible tables also help every visitor, which is why we treat them alongside checks like links must have discernible text and sufficient text contrast.
Correct Markup Patterns
For a simple table, use th for every header and set scope so the association is explicit.
For a complex table with grouped or multi level headers, connect cells explicitly with id on the header and headers on the data cell, so the relationship survives even when scope alone is ambiguous.
Header Techniques and When to Use Them
Technique
When to Use
Example
Th With Text
Every data table
Name the column or row clearly
Scope Col or Row
Simple grids
scope on each header cell
ID and Headers
Complex, grouped headers
Map each cell to its headers
Caption
Any table needing a title
Describe the table's purpose
This very table uses th with scope for both its column and row headers, so a screen reader announces each cell in context.
What's Changed Since
The requirement itself is stable, because WCAG 1.3.1 has anchored it for years and WCAG 2.2 did not change the table rules. What has improved is tooling and enforcement. Automated checkers like axe DevTools and WAVE reliably flag the empty table header condition, and axe core now ships inside many CI pipelines, so this defect can be caught before release rather than in an audit. The old habit of building layout with tables has also faded, which means most remaining tables are genuine data tables that truly need proper headers. When you fix these, also confirm related structure with checks such as a correct heading structure.
Frequently Asked Questions
What Does Discernible Text Mean for a Table Header?
It means each th cell contains real, readable text that names what the column or row holds, not an empty cell, a spacer, or an icon with no label. Screen readers read that text to give context to every data cell.
How Do I Fix an Empty Table Header?
Add descriptive text to each th element and set scope col or scope row so the association is explicit. For grouped or multi level headers, connect cells with the id and headers attributes.
What Is the Difference Between Th and Td?
A th is a header cell that labels a column or row, and assistive technology treats its text as context for the related data cells. A td is a regular data cell. Using a styled td instead of a th removes that context.
Do I Need the Scope Attribute on Every Header?
For simple tables, scope col and scope row make the header to cell relationship unambiguous and are strongly recommended. For complex tables with grouped headers, use id and headers instead, which give exact control.
Which Tools Detect Missing Table Header Text?
axe DevTools and WAVE both flag empty or missing table headers, and axe core can run inside automated test pipelines. They report the empty table header condition so you can fix it before shipping.
Is This an SEO Problem or Only Accessibility?
It is primarily an accessibility requirement under WCAG 1.3.1, but accessible, well structured tables are also easier for search engines to parse. Fixing it improves usability for assistive technology users and supports clean semantic markup.
Tìm lỗi này trên trang của bạn
Neova chạy mục kiểm tra này và mọi mục khác trong mỗi lần crawl, rồi viết cách sửa thành ticket cho nhóm của bạn.
Ứng dụng máy tính cho Mac, Windows và Linux
Tất cả 696 mục kiểm tra, mỗi mục kèm nguồn
Search Console và Analytics 4, kết nối chỉ đọc
Ticket sang Jira, Linear và Asana
Tải NeovaGói Desktop Free, hoặc dùng thử Solo miễn phí 14 ngày, không cần thẻ.