There are 5 updates, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-e63796d0-1778-4ec6-99fb-03641c81ec46 XWIKI-22514 Closed

Add SonarQube accessibility rules

 
View issue   ยท   Add comment
 

5 updates

 
cid:jira-generated-image-avatar-ff3896b5-2733-42d4-8a7f-1b8f6aaae168 Changes by Charpentier Lucas on 20/Aug/26 17:48
 
Documentation in Release Notes: N/A
Documentation: N/A
Assignee: Charpentier Lucas
Resolution: Cannot Reproduce
Status: Open Closed
 
 

1 comment

 
cid:jira-generated-image-avatar-ff3896b5-2733-42d4-8a7f-1b8f6aaae168 Charpentier Lucas on 20/Aug/26 17:48
 

I checked, rule by rule, which of SonarCloud's 116 accessibility-tagged rules
(sonarcloud.io/organizations/xwiki/rules?tags=accessibility, covering HTML, CSS,
JavaScript and TypeScript) are active in the "Sonar way" profiles we actually use for
xwiki-platform. All 116 are active, except 6 HTML rules that are DEPRECATED (Flash wmode,
ismap, non-consecutive headings, link-to-image, fieldset-without-legend, table-without-caption)
and correctly excluded.

One caveat: on xwiki-platform itself, HTML and TypeScript aren't analyzed at all today (0 lines of
web/ts in the project's language distribution, only java, js, css and xml show up), so
those rules never get a chance to run there in practice. JS and CSS are analyzed and do report
other issues, just none tagged accessibility so far.

So this is already fully covered by our current setup, on top of the Docker functional tests we
already run with axe-core against real pages. No SonarCloud configuration change is needed.

Closing as already covered.