Problem/Motivation

DataTables generates an empty <tfoot> tag when no footer content is configured. This creates accessibility issues flagged by SiteImprove and violates semantic HTML best practices.

Empty structural elements confuse screen readers and accessibility testing tools.

Proposed resolution

Modify the DataTables initialization to exclude the tfoot element when no footer data exists.

Remaining tasks

  • [ ] Remove tfoot generation logic when footer is empty
  • [ ] Test with accessibility validators
  • [ ] Verify DataTables functionality remains intact

Comments

dstorozhuk created an issue. See original summary.

dstorozhuk’s picture

Issue summary: View changes
dstorozhuk’s picture

Issue summary: View changes
arthur.baghdasar’s picture

Status: Active » Fixed

Included in the 3.0.3

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.