Page MenuHomePhorge

No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None
diff --git a/src/components/gallery/gallery.vue b/src/components/gallery/gallery.vue
index 4824327329..de0e30506c 100644
--- a/src/components/gallery/gallery.vue
+++ b/src/components/gallery/gallery.vue
@@ -3,11 +3,10 @@
ref="galleryContainer"
class="Gallery"
:class="{ '-long': tooManyAttachments && hidingLong }"
- role="list"
>
<div
class="gallery-rows"
- role="presentation"
+ role="list"
>
<div
v-for="(row, rowIndex) in rows"
@@ -20,7 +19,7 @@
<div
class="gallery-row-inner"
:class="{ '-grid': grid }"
- role="listitem"
+ role="presentation"
>
<Attachment
v-for="(attachment, attachmentIndex) in row.items"
@@ -35,14 +34,15 @@
:shift-up="!(attachmentIndex === 0 && rowIndex === 0) && shiftUpAttachment"
:shift-dn="!(attachmentIndex === row.items.length - 1 && rowIndex === rows.length - 1) && shiftDnAttachment"
:edit="editAttachment"
- :description="descriptions && descriptions[attachment.id]"
+ :description="descriptions?.[attachment.id]"
:hide-description="size === 'small' || tooManyAttachments && hidingLong"
:style="itemStyle(attachment.id, row.items)"
+ role="listitem"
+ :aria-label="$t('status.attachment') + ' ' + attachmentIndex"
@set-media="onMedia"
@natural-size-load="onNaturalSizeLoad"
@play="() => onMediaStateChange(true, attachment.id)"
@pause="() => onMediaStateChange(false, attachment.id)"
- :aria-label="$t('status.attachment')"
/>
</div>
</div>

File Metadata

Mime Type
text/x-diff
Expires
Wed, Oct 14, 10:30 AM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1787090
Default Alt Text
(1 KB)

Event Timeline