question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please add ARIA roles/attributes

See original GitHub issue

role=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:closed
  • Created 9 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
alexrussellcommented, Nov 5, 2014

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.

0reactions
EnigmaSolvedcommented, Nov 8, 2014

Good plan. This is not something to rush. 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found