I found what seems to be exactly this bug on https://github.com/nvaccess/nvda/issues/3550 . Looking if I can provide an easy fix on the NVDA project. In any case, we can close this issue, it's not a XWiki problem with WCAG, it's a very specific fail from the assistive tools.
Charpentier Lucas on 02/Dec/25 11:33
This looks very much like what's described in https://adrianroselli.com/2025/01/dont-wrap-figure-in-a-link.html : NVDA with Firefox reads everything...
Charpentier Lucas on 02/Dec/25 11:37
For reference, here are screen captures of the DOM where there's a fail:
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.