[
    {
        "h2": "Accessibility Support"
    },
    {
        "p": "Out of the box, the Telerik and Kendo UI ImageEditor provides extensive accessibility support and enables users with disabilities to acquire complete control over its features."
    },
    {
        "p": "The ImageEditor is compliant with the [Web Content Accessibility Guidelines (WCAG) 2.2 standards](https://www.w3.org/TR/WCAG22/) and [Section 508](http://www.section508.gov/) requirements, follows the [Web Accessibility Initiative - Accessible Rich Internet Applications (WAI-ARIA)](https://www.w3.org/WAI/ARIA/apg/) best practices for implementing the [keyboard navigation](#keyboard-navigation) for its `component` role, provides options for [managing its focus](#managing-the-focus) and is tested against the most popular [screen readers](#screen-readers)."
    },
    {
        "h3": "WAI-ARIA"
    },
    {
        "p": "This section lists the selectors, attributes, and behavior patterns supported by the component and its composite elements, if any."
    },
    {
        "p": "The ImageEditor is a composite component containing:"
    },
    {
        "ul": [
            "ToolBar (`role=toolbar`);",
            "Image canvas (`role=img`);",
            "Edit action pane (`role=form`);"
        ]
    },
    {
        "p": "The ToolBar follows the spec for the ToolBar component:"
    },
    {
        "link": {
            "title": "ToolBar accessibility specification",
            "source": "{{toolbar_a11y_link}}"
        }
    },
    {
        "p": "The image canvas must have an appropriate role and accessible name assigned:"
    },
    {
        "table": {
            "headers": [
                "Selector",
                "Attribute",
                "Usage"
            ],
            "rows": [
                {
                    "Selector": "`.k-imageeditor-canvas>canvas`",
                    "Attribute": "`role=img`",
                    "Usage": "Indicates the canvas' role as an image."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-label` or `aria-labelledby`",
                    "Usage": "Provides an accessible name for the canvas by describing the image content."
                }
            ]
        }
    },
    {
        "p": "The Edit pane (present on performing crop and resize of image) follows the spec for the Form component:"
    },
    {
        "link": {
            "title": "Form accessibility specification",
            "source": "{{form_a11y_link}}"
        }
    },
    {
        "h3": "Managing the Focus"
    },
    {
        "p": "The ImageEditor component is a container that consists of 3 logically separated structural elements:"
    },
    {
        "ul": [
            "ToolBar (`role=\"toolbar\"`);",
            "Image canvas (`role=\"img\"`);",
            "Edit pane (`role=\"form\"`);"
        ]
    },
    {
        "p": "The ToolBar and the inputs and buttons of the Edit pane are part of the page tab sequence. The `Toolbar` implements the keyboard navigation specification for a `ToolBar` component, while the Edit pane implements the spec for the `Form` component. The image canvas is not focusable (it is not part of the page tab sequence), as it could not be interacted using the keyboard."
    },
    {
        "h3": "Keyboard Shortcuts"
    },
    {
        "p": "Apart from the shortcuts specific to the `ToolBar` and the `Form` used in the `ImageEditor`, the component offers the following shortcuts:"
    },
    {
        "table": {
            "headers": [
                "Shortcut",
                "Behavior"
            ],
            "rows": [
                {
                    "Shortcut": "`Tab`",
                    "Behavior": "Focuses next focusable element (the ToolBar or an input/button on the Edit pane)."
                },
                {
                    "Shortcut": "`Shift + Tab`",
                    "Behavior": "Focuses previous focusable element."
                },
                {
                    "Shortcut": "`Ctrl + Z`",
                    "Behavior": "Undo the last modification performed on the image."
                },
                {
                    "Shortcut": "`Ctrl + Y`",
                    "Behavior": "Redo a modification performed on the image."
                }
            ]
        }
    },
    {
        "h3": "Testing"
    },
    {
        "p": "The ImageEditor has been extensively tested automatically with [axe-core](https://github.com/dequelabs/axe-core) and manually with the most popular screen readers."
    },
    {
        "h3": "Screen Readers"
    },
    {
        "p": "The ImageEditor has been tested with the following screen readers and browsers combinations:"
    },
    {
        "table": {
            "headers": [
                "Environment",
                "Tool"
            ],
            "rows": [
                [
                    "Firefox",
                    "NVDA"
                ],
                [
                    "Chrome",
                    "JAWS"
                ],
                [
                    "Microsoft Edge",
                    "JAWS"
                ]
            ]
        }
    },
    {
        "h3": "Resources"
    },
    {
        "ul": [
            {
                "link": {
                    "title": "HTML Canvas Accessibility",
                    "source": "https://pauljadam.com/demos/canvas.html"
                }
            }
        ]
    }
]