From cb0b8351a9e3fa20d4a51a196a992c5e1ed1d502 Mon Sep 17 00:00:00 2001 From: Kris Date: Fri, 11 Jul 2025 09:55:48 -0400 Subject: [PATCH] A11Y: onebox avatars/images are decorative, so screenreaders can skip (#33572) Adding `alt=""` to tell screenreaders to skip these, we don't reliably have alt content available for onebox images and they tend to be decorative, so better to omit. learn.microsoft.com onebox with the
link whats new in C# 11, there's a purple C# badge to the left of the
link We already do this in some oneboxes, so this covers some more cases including the generic. --- lib/onebox/templates/_layout.mustache | 2 +- lib/onebox/templates/allowlistedgeneric.mustache | 2 +- lib/onebox/templates/preview_error_onebox.mustache | 2 +- lib/onebox/templates/threadsstatus.mustache | 4 ++-- lib/onebox/templates/twitterstatus.mustache | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/onebox/templates/_layout.mustache b/lib/onebox/templates/_layout.mustache index 028848221f5..78c4b4650a0 100644 --- a/lib/onebox/templates/_layout.mustache +++ b/lib/onebox/templates/_layout.mustache @@ -1,7 +1,7 @@