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

Defines accessibility options for connections.

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

The accessibility label of connection elements.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    connectionDefaults: {
        accessibility: {
            ariaLabel: "Process flow connection"
        }
    },
    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 role description of connection elements.

Default: "Connection"

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    connectionDefaults: {
        accessibility: {
            ariaRoleDescription: "Workflow Link"
        }
    },
    shapes: [
        { id: "1", x: 100, y: 100, content: { text: "Start" } },
        { id: "2", x: 300, y: 100, content: { text: "End" } }
    ],
    connections: [
        { from: "1", to: "2" }
    ]
});
</script>

The accessibility role of connection elements.

Default: "graphics-symbol"

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    connectionDefaults: {
        accessibility: {
            role: "presentation"
        }
    },
    shapes: [
        { id: "1", x: 100, y: 100, content: { text: "A" } },
        { id: "2", x: 300, y: 100, content: { text: "B" } }
    ],
    connections: [
        { from: "1", to: "2" }
    ]
});
</script>