a11y test on `Badge`
We are currently unsure about what a11y tips to give to consumers.
Currently badge won't give any info to screenreaders, since they are rendered using only CSS.
The element connected to Badge needs to tell the user the same info using aria-label.
We need to investigate what recommend:
Here are some usecases we need to check, to make sure they work the same (or if they don't)
badgearound an icon in abuttonbadgearound abutton- inline
badge
Ref: https://linje.entur.no/komponenter/feedback/badge
Currently badge won't give any info to screenreaders, since they are rendered using only CSS.
This is false, at least for NVDA in Chrome on windows
VoiceOver + Edge: "99+ Innboks, knapp, gruppe" "10 Meldinger, knapp, gruppe" VoiceOver + Safari: "99+ Innboks, knapp" "10 Meldinger, knapp"
Elementet går inte att markera och få uppläst i Safari+VoiceOver (macOS), fungerar i Chrome+VoiceOver