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
squirrel.toml
toml[rules]
disable = ["a11y/table-duplicate-name"]Disable all Accessibility rules
squirrel.toml
toml[rules]
disable = ["a11y/*"]Enable only this rule
squirrel.toml
toml[rules]
enable = ["a11y/table-duplicate-name"]
disable = ["*"]