Properly set aria-hidden on note content only if CW is present and show content has not been clicked

This commit is contained in:
TalonTheDragon 2023-05-21 16:12:13 +02:00
parent 84ea25771d
commit 0b7e9068bc
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@
<div
class="body"
v-bind="{
'aria-hidden': !showContent ? 'true' : null,
'aria-hidden': note.cw && !showContent ? 'true' : null,
tabindex: !showContent ? '-1' : null,
}"
>