1
0

Improve accessibility of iconfont icons

Iconfont icons are of no value to screenreader users; in our case,
they get alternative text. By adding 'aria-hidden="true"' to the
<span> holding the iconfont icon, we avoid the screenreader trying
to announce the iconfont icon.
This commit is contained in:
Matthias Mees
2016-10-26 11:29:25 +02:00
parent fbcd6d9c98
commit 7410465496
35 changed files with 345 additions and 346 deletions

View File

@ -55,7 +55,7 @@
});
</script>
{/if}
<span class="msg_success"><span class="icon-ok-circled"></span> {$CONST.ENTRY_SAVED}</span>
<span class="msg_success"><span class="icon-ok-circled" aria-hidden="true"></span> {$CONST.ENTRY_SAVED}</span>
<a href="{$entrylink}" target="_blank">{$CONST.VIEW}</a>
{/if}
{/if}
@ -65,4 +65,4 @@
</div>
</div>
</body>
</html>
</html>