Pending Review
Last Updated: 02 Dec 2019 11:18 by ADMIN
Anna
Created on: 25 Nov 2019 15:23
Category: ListView
Type: Bug Report
0
[WCAG][Accessibility] ListView and children have roles listbox/option even when selectable is false.

Sometimes, I need to present a dynamic list bound to a dataSource. I believe ListView is the widget for that.

However, ListView adds role="listbox" to the root element and role="option" to children.

Per https://www.w3.org/TR/wai-aria-1.1/#listbox , a listbox is a widget that allows to select an item. A non-selectable ListView should have role="list" and its children should have role="listitem".

1 comment
ADMIN
Angel Petrov
Posted on: 02 Dec 2019 11:18

Hi Anna,

Indeed setting the role to list seems like a valid approach when selection is not enabled. I have already logged this into our system so we could further research on the matter and improve the functionality.

As a token of gratitude for bringing this to our attention I have updated your account points.

Regards,
Angel Petrov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.