Skip to content

Commit

Permalink
fix: Add role attribute to <iconify-icon> tag for accessibility (#29
Browse files Browse the repository at this point in the history
)
  • Loading branch information
mcanouil authored Jul 17, 2024
1 parent dfa762a commit e379e47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _extensions/iconify/iconify.lua
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ return {

return pandoc.RawInline(
'html',
'<iconify-icon inline' .. attributes .. '></iconify-icon>'
'<iconify-icon inline=true role="img"' .. attributes .. '></iconify-icon>'
)
else
return pandoc.Null()
Expand Down

0 comments on commit e379e47

Please sign in to comment.