DEV Community

Discussion on: Accessibility for the web - introduction to ARIA

Collapse
 
arikaturika profile image
Arika O • Edited

Are you referring to the rule of ARIA usages which says we shouldn't change the role of native elements? I modified the code, thx, good observation.

Collapse
 
zwiastunsw profile image
Stefan Wajda • Edited

Not only that! When you change the role of the <ul> element, the screenreader will not announce that this is a list of items, will not announce that it has 3 items :)