Hide favicons from screen readers

As ornamental content they shouldn't be announced by screen readers
This commit is contained in:
Jonas Gierer
2019-10-14 10:53:06 +02:00
parent 1e16624de6
commit 22aad972bd

View File

@@ -1,7 +1,7 @@
<template lang="pug">
.card(:class="{ cardActive: isActive }")
.card--meta
img.card--favicon(:src="'https://www.google.com/s2/favicons?domain=' + resource.url")
img.card--favicon(:src="'https://www.google.com/s2/favicons?domain=' + resource.url" aria-hidden="true")
p.card--title {{resource.title}}
p.card--description {{resource.desc}}
.card--links