Paragraph shading not aligned in justified text when optical alignment is on
If optical margin alignment (story) is ON the paragraph shading doesn't align on the right margin of justified text. hyphens seem to push the edge of the shading out. This is in build 13.1.1 but is also reported in 126.96.36.199. I cannot update to the newest version without buying a new computer—so I won't be anytime soon or maybe ever. So I hope that the bug would get fixed retroactively. My original post is here: https://community.adobe.com/t5/indesign/paragraph-shading-text-width-not-justifying/m-p/10750103#M164426
Thank you for reporting this issue.
We’re going to review this one shortly.
Adobe InDesign team