a11y
This commit is contained in:
parent
8dceffa8d7
commit
cf714c2756
|
@ -18,6 +18,8 @@
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="button-unstyled"
|
class="button-unstyled"
|
||||||
|
:title="$t(isPinned ? 'general.unpin' : 'general.pin' )"
|
||||||
|
:aria-pressed="!!isPinned"
|
||||||
@click.stop.prevent="togglePin(item.name)"
|
@click.stop.prevent="togglePin(item.name)"
|
||||||
>
|
>
|
||||||
<FAIcon
|
<FAIcon
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
:key="item.name"
|
:key="item.name"
|
||||||
class="pinned-item"
|
class="pinned-item"
|
||||||
:to="getRouteTo(item)"
|
:to="getRouteTo(item)"
|
||||||
|
:title="item.labelRaw || $t(item.label)"
|
||||||
>
|
>
|
||||||
<FAIcon
|
<FAIcon
|
||||||
v-if="item.icon"
|
v-if="item.icon"
|
||||||
|
|
|
@ -88,6 +88,8 @@
|
||||||
"admin": "Admin",
|
"admin": "Admin",
|
||||||
"moderator": "Moderator"
|
"moderator": "Moderator"
|
||||||
},
|
},
|
||||||
|
"unpin": "Unpin item",
|
||||||
|
"pin": "Pin item",
|
||||||
"flash_content": "Click to show Flash content using Ruffle (Experimental, may not work).",
|
"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_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.",
|
"flash_fail": "Failed to load flash content, see console for details.",
|
||||||
|
|
Loading…
Reference in New Issue