org.sonar.l10n.web.rules.Web.TableWithoutCaptionCheck.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-web-plugin Show documentation
Show all versions of sonar-web-plugin Show documentation
Analyze HTML (also within PHP/Ruby/etc. templates) and JSP/JSF code.
The newest version!
In order to be accessible to visually impaired users, it is important that tables have a caption briefly describing its contents.
Noncompliant Code Example
<table> <!-- Non-Compliant -->
...
<table>
Compliant Solution
<table> <!-- Compliant -->
<caption>New York City Marathon Results 2013</caption>
...
<table>