logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: cf714c2756ac0b5981c269360c2024ab45da5d97
parent 8dceffa8d79331aba1cc4efcc15710e902d938f2
Author: Henry Jameson <me@hjkos.com>
Date:   Wed, 24 Aug 2022 20:24:08 +0300

a11y

Diffstat:

Msrc/components/navigation/navigation_entry.vue2++
Msrc/components/navigation/navigation_pins.vue1+
Msrc/i18n/en.json2++
3 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/components/navigation/navigation_entry.vue b/src/components/navigation/navigation_entry.vue @@ -18,6 +18,8 @@ <button type="button" class="button-unstyled" + :title="$t(isPinned ? 'general.unpin' : 'general.pin' )" + :aria-pressed="!!isPinned" @click.stop.prevent="togglePin(item.name)" > <FAIcon diff --git a/src/components/navigation/navigation_pins.vue b/src/components/navigation/navigation_pins.vue @@ -5,6 +5,7 @@ :key="item.name" class="pinned-item" :to="getRouteTo(item)" + :title="item.labelRaw || $t(item.label)" > <FAIcon v-if="item.icon" diff --git a/src/i18n/en.json b/src/i18n/en.json @@ -88,6 +88,8 @@ "admin": "Admin", "moderator": "Moderator" }, + "unpin": "Unpin item", + "pin": "Pin item", "flash_content": "Click to show Flash content using Ruffle (Experimental, may not work).", "flash_security": "Note that this can be potentially dangerous since Flash content is still arbitrary code.", "flash_fail": "Failed to load flash content, see console for details.",