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

View File

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