Skip to content

Commit

Permalink
Add aria-label to badges
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Oct 25, 2021
1 parent e11b613 commit 8287a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/badges.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var svg_colors = {
};

var badge_svg = multiline(function(){/*
<svg xmlns="http://www.w3.org/2000/svg" width=":width:" height="20">
<svg xmlns="http://www.w3.org/2000/svg" width=":width:" height="20" aria-label=":text: :message:">
<linearGradient id="b" x2="0" y2="100%">
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
<stop offset="1" stop-opacity=".1"/>
Expand Down

0 comments on commit 8287a21

Please sign in to comment.