diff --git a/frontend/src/components/feather/FeatherPostCard.vue b/frontend/src/components/feather/FeatherPostCard.vue index 338806a..83d18f9 100644 --- a/frontend/src/components/feather/FeatherPostCard.vue +++ b/frontend/src/components/feather/FeatherPostCard.vue @@ -17,6 +17,7 @@ import type { FeatherPost } from '@/types/feather' const props = defineProps<{ post: FeatherPost }>() defineEmits<{ follow: [post: FeatherPost] + media: [post: FeatherPost, index: number] menu: [post: FeatherPost] open: [post: FeatherPost] profile: [profileId: number] @@ -127,12 +128,20 @@ function relativeTime(timestamp: number): string { class="feather-media" :class="`feather-media--${Math.min(post.media.length, 4)}`" > - + type="button" + class="feather-media__item" + :aria-label=" + phone.t('Apps.feather.openImage', { + number: String(index + 1), + }) + " + @click.stop="$emit('media', post, index)" + > + +