Using role=‘presentation’ on HTML data tables prevents information from being read out correctly by screen readers.
If your HTML table contains data you want to make accessible to all visitors, be sure to remove the attribute role=‘presentation’ from the TABLE element.
If you are using the HTML table for layout purposes, add the attribute role=”presentation” to the TABLE element. You then need to change all TH elements to TD elements and remove semantic elements like CAPTION.
Screen readers interpret TH and CAPTION elements as part of a data table. If these elements are part of a presentation HTML table, the results can be very confusing to individuals using assistive technology.
WEBSITE ACCESSIBILITY TESTING & REMEDIATION SERVICES: Mary Gillen is an experienced Website Accessibility Compliance Auditor and Remediator. She can test your website to determine if it meets accessibility standards:
WCAG 2.1: 312 checkpoints covering A, AA and AAA W3 accessibility guidelines
Section 508: 15 US federal guidelines covered by 59 accessibility checkpoints