You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Har undersøkt dette, og kan ikke reprodusere feilen. Kan du legge ved et videoeksempel?
list-vo.mov
(video er fra en annen branch, men får samme i main i spor)
Feilen ligger i eksempelet ditt hvis du ser i koden til høyre: <ul role="list">. role="list" er ikke nødvendig her siden det er implisitt for <ul>- og <ol>-elementer.
Jeg har heller ikke sett at det skaper noen feil med VoiceOver, og sannsynligvis vil det ikke føre til UU-problemer, men w3 anbefaler å unngå unødvendige roles - 3.2 Avoid specifying redundant roles
What's wrong?
Both
<UnorderedList>
and<OrderedList>
incorrectly add role="list" to the HTML list element.As
<ul>
and<ol>
already are list elements, adding role="list" is unnecessary and can potentially cause screen readers to announce the element twice.How to reproduce?
Steps to reproduce the behavior:
<UnorderedList>
and<OrderedList>
The text was updated successfully, but these errors were encountered: