shapeDefaults.accessibility.roleString(default: "graphics-symbol")

The accessibility role of shape elements.

Example

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapeDefaults: {
        accessibility: {
            role: "listitem"
        }
    },
    shapes: [
        { id: "1", x: 100, y: 100, content: { text: "Item 1" } },
        { id: "2", x: 300, y: 100, content: { text: "Item 2" } }
    ]
});
</script>
In this article
shapeDefaults.accessibility.role
Not finding the help you need?
Contact Support