New to Kendo UI for jQueryStart a free 30-day trial

Defines accessibility options for shapes.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapeDefaults: {
        accessibility: {
            role: "graphics-symbol",
            ariaRoleDescription: "Diagram Shape",
            ariaLabel: "Process step"
        }
    },
    shapes: [
        { id: "1", x: 100, y: 100, content: { text: "Step 1" } },
        { id: "2", x: 300, y: 100, content: { text: "Step 2" } }
    ],
    connections: [
        { from: "1", to: "2" }
    ]
});
</script>

The accessibility label of shape elements.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapeDefaults: {
        accessibility: {
            ariaLabel: "Workflow step"
        }
    },
    shapes: [
        { id: "1", x: 100, y: 100, content: { text: "Step 1" } },
        { id: "2", x: 300, y: 100, content: { text: "Step 2" } }
    ]
});
</script>

The accessibility role description of shape elements.

Default: "Shape"

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapeDefaults: {
        accessibility: {
            ariaRoleDescription: "Process Node"
        }
    },
    shapes: [
        { id: "1", x: 100, y: 100, content: { text: "Start" } },
        { id: "2", x: 300, y: 100, content: { text: "End" } }
    ]
});
</script>

The accessibility role of shape elements.

Default: "graphics-symbol"

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