Skip to content

Commit

Permalink
Add an extra aria-label to icons
Browse files Browse the repository at this point in the history
Fixes #2300
  • Loading branch information
cbeer committed Jun 18, 2020
1 parent 27a63f0 commit 610ba55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/blacklight/icon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ def icon_label
def options
{
class: classes,
"aria-hidden": (true if aria_hidden)
"aria-hidden": (true if aria_hidden),
"aria-label": icon_label
}
end

Expand Down

0 comments on commit 610ba55

Please sign in to comment.