Skip to content
Snippets Groups Projects
Commit 4700528a authored by Moritz Strohm's avatar Moritz Strohm Committed by Jan-Hendrik Willms
Browse files

fix for BIESt #533

parent 411ad44f
No related branches found
No related tags found
No related merge requests found
......@@ -330,7 +330,9 @@ class Icon
]);
if (!isset($result['alt']) && !isset($result['title'])) {
$result['alt'] = basename($this->shape);
//Add an empty alt attribute to prevent screen readers from
//reading the URL of the icon:
$result['alt'] = '';
}
$classNames = 'icon-role-' . $this->role;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment