This is a migrated thread and some comments may be shown as answers.

difference between roles and class

2 Answers 41 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
marion
Top achievements
Rank 1
marion asked on 10 Jun 2013, 11:04 AM
I am new to Kendoui and have been setting up my own css sheet to modify minor elements of the the Kendo defaults and need to know the difference between roles and classes.  I am familiar to the concept of class from using html coding, but I am new to the concept of roles.  Could someone give an idiots brief to how the roles affect the layout and whether they can also be modified?
Many thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 10 Jun 2013, 11:35 AM
Hi Marion,

Roles have no effect on layout. They are related to accessibility and WAI-ARIA. You don't have to use them unless you would like to benefit from data attribute widget initialization. The Kendo UI widgets render all required role attributes automatically.

Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Accepted
marion
Top achievements
Rank 1
answered on 10 Jun 2013, 12:15 PM
Many thanks
Tags
General Discussions
Asked by
marion
Top achievements
Rank 1
Answers by
Dimo
Telerik team
marion
Top achievements
Rank 1
Share this question
or