Browse Source

Add aria-label

Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
pull/5573/head
Marco Ambrosini 5 years ago
parent
commit
f2a827603a
  1. 4
      src/components/MessagesList/MessagesGroup/Message/MessagePart/Location.vue

4
src/components/MessagesList/MessagesGroup/Message/MessagePart/Location.vue

@ -100,6 +100,10 @@ export default {
mapLink() { mapLink() {
return `https://www.openstreetmap.org/?mlat=${this.latitude}&mlon=${this.longitude}#map=${this.linkZoom}/${this.latitude}/${this.longitude}` return `https://www.openstreetmap.org/?mlat=${this.latitude}&mlon=${this.longitude}#map=${this.linkZoom}/${this.latitude}/${this.longitude}`
}, },
linkAriaLabel() {
return t('spreed', 'Open this location in Openstreetmap')
},
}, },
} }
</script> </script>

Loading…
Cancel
Save