Skip to content
Snippets Groups Projects
Commit 8cf42aca authored by Thomas Hackl's avatar Thomas Hackl
Browse files

Resolve "Barrierefreiheit: Leeres alt-Attribut bei Verwendung von studip-icon"

Closes #3931

Merge request studip/studip!2785
parent 876f9656
Branches
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@
:role="ariaRole"
v-bind="$attrs"
v-on="$listeners"
:alt="$attrs.alt ?? ''"
/>
<img v-else
:src="url"
......@@ -17,6 +18,7 @@
:role="ariaRole"
v-bind="$attrs"
v-on="$listeners"
:alt="$attrs.alt ?? ''"
/>
</template>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment