squirrelscan
GitHub

Table Duplicate Name

Checks that data tables have unique accessible names

Checks that data tables have unique accessible names

Rule ID a11y/table-duplicate-name
Category Accessibility
Scope Per-page
Severity warning
Weight 3/10

Solution

When a page has multiple data tables, each should have a unique accessible name to help users distinguish between them. Use <caption>, aria-label, or aria-labelledby with unique text for each table.

Enable / Disable

Disable this rule

[rules]
disable = ["a11y/table-duplicate-name"]

Disable all Accessibility rules

[rules]
disable = ["a11y/*"]

Enable only this rule

[rules]
enable = ["a11y/table-duplicate-name"]
disable = ["*"]

Type to search…

↑↓ navigate↵ openesc close