Apply aria-hidden to emoji in SAS verification (#31204)

* Apply aria-hidden to emoji in SAS verification

So that for screen readers the canonical emoji description is preferred & we avoid the user being read each emoji twice.

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update snapshot

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2025-11-10 16:46:30 +00:00
committed by GitHub
parent f6e85a38d2
commit 8608268bc7
2 changed files with 5 additions and 1 deletions

View File

@@ -369,6 +369,7 @@ exports[`VerificationRequestDialog When other device accepted emoji, displays em
class="mx_VerificationShowSas_emojiSas_block"
>
<div
aria-hidden="true"
class="mx_VerificationShowSas_emojiSas_emoji"
>
🐶
@@ -383,6 +384,7 @@ exports[`VerificationRequestDialog When other device accepted emoji, displays em
class="mx_VerificationShowSas_emojiSas_block"
>
<div
aria-hidden="true"
class="mx_VerificationShowSas_emojiSas_emoji"
>
🐱