connectionDefaults.accessibilityObject

Defines accessibility options for connections.

Example - configuring accessibility 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>