a11y
This commit is contained in:
parent
8dceffa8d7
commit
cf714c2756
@ -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
|
||||
|
@ -5,6 +5,7 @@
|
||||
:key="item.name"
|
||||
class="pinned-item"
|
||||
:to="getRouteTo(item)"
|
||||
:title="item.labelRaw || $t(item.label)"
|
||||
>
|
||||
<FAIcon
|
||||
v-if="item.icon"
|
||||
|
@ -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.",
|
||||
|
Loading…
Reference in New Issue
Block a user