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:
@ -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>
|
Reference in New Issue
Block a user