Please add ARIA roles/attributes
See original GitHub issuerole=slider
when single image/slide
role=listbox
for multiple items carousel (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_listbox_role)
ARIA is the accessibility standard for interactive widgets.
Issue Analytics
- State:
- Created 9 years ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Using ARIA: Roles, states, and properties - MDN Web Docs
ARIA defines semantics that can be applied to elements, with these divided into roles (defining a type of user interface element) and states ......
Read more >ARIA in HTML - W3C
Authors MAY use the ARIA role and aria-* attributes to change the exposed meaning (semantics) of HTML elements, in accordance with the ...
Read more >ARIA Roles and Attributes: How to Actually Use Them
ARIA breaks down into 3 categories: roles, properties, and states. Roles define the purpose of an element, properties help better describe what ...
Read more >What the Heck is ARIA? A Beginner's Guide to ARIA ... - Lullabot
ARIA is a set of attributes you can add to HTML elements that define ways to make web content and applications accessible to...
Read more >Sensible usage of ARIA roles and attributes - ADG
Adding descriptions to elements using aria-describedby ARIA provides an attribute which allows to attach other elements as descriptions to an ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Reading the link for listbox it doesn’t look overly appropriate for an image carousel. Yes there are multiple items and technically you can ‘select’ one. But it’s more of a selecting which image/item to look at. It’s not a list box in the sense of a
<select>
element that denotes ‘pick one of these to then do something about’.Looking down the list of roles available, none of them (maybe banner for some people’s purposes) seem to be appropriate for a sliding/fading carousel. If anything, I think this should be left to the individual implementor to add the role to the containing/individual item elements so they can decide if their specific implementation matches a real role. Just my thoughts.
Good plan. This is not something to rush. 😃