All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.web.rules.Web.S5257.html Maven / Gradle / Ivy

The newest version!

Why is this an issue?

HTML <table> elements should not be used for layout purposes as it can confuse screen readers. It is recommended to use CSS instead.

This rule raises an issue on every <table> element containing a role attribute set to "presentation" or "none", which is how W3C recommends marks layout tables.

Noncompliant code example

<table role="presentation"><!-- Noncompliant -->
<!-- ... -->
</table>

Resources





© 2015 - 2025 Weber Informatics LLC | Privacy Policy