Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85805375
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
4 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/src/components/edit_status_modal/edit_status_modal.vue b/src/components/edit_status_modal/edit_status_modal.vue
index 502a937f62..ea9cc30fd7 100644
--- a/src/components/edit_status_modal/edit_status_modal.vue
+++ b/src/components/edit_status_modal/edit_status_modal.vue
@@ -3,6 +3,7 @@
v-if="isFormVisible"
class="edit-form-modal-view"
@backdrop-clicked="closeModal"
+ :aria-label="$t('post_status.edit_status')"
>
<div class="edit-form-modal-panel panel">
<div class="panel-heading">
diff --git a/src/components/media_modal/media_modal.vue b/src/components/media_modal/media_modal.vue
index 24c03a63f1..3c2c62c8a7 100644
--- a/src/components/media_modal/media_modal.vue
+++ b/src/components/media_modal/media_modal.vue
@@ -3,6 +3,7 @@
v-if="showing"
class="media-modal-view"
@backdrop-clicked="hideIfNotSwiped"
+ :aria-label="$t('media_modal.modal_label')"
>
<SwipeClick
v-if="currentMedia.type === 'image'"
diff --git a/src/components/popover/popover.js b/src/components/popover/popover.js
index c34b6d9d70..ef360e9ee6 100644
--- a/src/components/popover/popover.js
+++ b/src/components/popover/popover.js
@@ -113,9 +113,16 @@ const Popover = {
}
}
- const attrs = {
+ const allAttrs = {
...this.$attrs,
}
+ const {
+ 'aria-hidden': _unused0,
+ 'aria-label': _unused1,
+ ...rest
+ } = allAttrs
+
+ const attrs = { ...rest }
if (this.hideTrigger) {
attrs['aria-hidden'] = true
diff --git a/src/components/post_status_modal/post_status_modal.vue b/src/components/post_status_modal/post_status_modal.vue
index 8a9be3daec..ae6ef7cfed 100644
--- a/src/components/post_status_modal/post_status_modal.vue
+++ b/src/components/post_status_modal/post_status_modal.vue
@@ -4,6 +4,7 @@
:is-open="modalActivated"
class="post-form-modal-view"
@backdrop-clicked="closeModal"
+ :aria-label="$t('post_status.new_status')"
>
<div class="post-form-modal-panel panel">
<div class="panel-heading">
diff --git a/src/components/status/status.vue b/src/components/status/status.vue
index 0a29a0498c..5ac2bc1957 100644
--- a/src/components/status/status.vue
+++ b/src/components/status/status.vue
@@ -199,7 +199,6 @@
:class="{ '-strikethrough': !mainStatus.parent_visible }"
:status-id="mainStatus.parent_visible && mainStatus.in_reply_to_status_id"
:link="isPage"
- :aria-label="$t('tool_tip.reply')"
@navigate="$emit('requestFocus', mainStatus.parent_visible && mainStatus.in_reply_to_status_id)"
>
<i18n-t
diff --git a/src/components/status_history_modal/status_history_modal.vue b/src/components/status_history_modal/status_history_modal.vue
index 5403844d38..21b2ed4e87 100644
--- a/src/components/status_history_modal/status_history_modal.vue
+++ b/src/components/status_history_modal/status_history_modal.vue
@@ -2,11 +2,15 @@
<Modal
v-if="modalActivated"
class="status-history-modal-view"
+ aria-labelledby="status-history-modal-title"
@backdrop-clicked="closeModal"
>
<div class="status-history-modal-panel panel">
<div class="panel-heading">
- <h1 class="title">
+ <h1
+ id="status-history-modal-title"
+ class="title"
+ >
{{ $t('status.status_history') }} ({{ historyCount }})
</h1>
</div>
diff --git a/src/components/user_reporting_modal/user_reporting_modal.vue b/src/components/user_reporting_modal/user_reporting_modal.vue
index 7e58516c38..4b2490bc0f 100644
--- a/src/components/user_reporting_modal/user_reporting_modal.vue
+++ b/src/components/user_reporting_modal/user_reporting_modal.vue
@@ -1,11 +1,13 @@
<template>
<Modal
v-if="isOpen"
+ aria-labelledby="user-reporting-title"
@backdrop-clicked="closeModal"
>
<div class="user-reporting-panel panel">
<div class="panel-heading">
<i18n-t
+ id="user-reporting-title"
tag="h1"
keypath="user_reporting.title"
class="title"
diff --git a/src/i18n/en.json b/src/i18n/en.json
index 586b2efef6..23e0868622 100644
--- a/src/i18n/en.json
+++ b/src/i18n/en.json
@@ -187,6 +187,7 @@
}
},
"media_modal": {
+ "modal_label": "Media view",
"previous": "Previous",
"next": "Next",
"counter": "{current} / {total}",
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Oct 11, 9:44 AM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1785697
Default Alt Text
(4 KB)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment