vale: add Qt.QDocImageAltInlineCmd rule
Warns when brace-delimited \image or \inlineimage alt text contains an
inline QDoc command (\\b, \\e, \\uicontrol, etc.). Alt text must be plain
text for accessibility. Adds test fixtures covering the brace-delimited
SHOULD WARN cases, the scanner-truncation SHOULD NOT WARN case (plain alt
text stops at '\\'), and clean brace-delimited alt text.
Change-Id: I30fcf441ad0e33a26bd93311ae9400f0b6507a1b
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
| commit | 77cbe5dc504e641a3962ef123cdfad82310b9e5b |
| parent | 2b40da66948a833a5157b828bdfe2c4611df2641 |
| author | Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> |
| committer | Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> |
| commit time | Tue, 26 May 2026 09:46:48 +0000 |