Skip to content
Commit 62607945 authored by Tom Quirk's avatar Tom Quirk
Browse files

fix(GlBadge): set badge's role when icon-only

For accessibility, we set role="img" when
badges are icon-only (no slot content).
Then, developers can set the "aria-label"
so screenreaders pronounce the badge appropriately.
parent cfab4298
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment