[
    {
        "h2": "Accessibility Support"
    },
    {
        "p": "Out of the box, the Telerik and Kendo UI Window provides extensive accessibility support and enables users with disabilities to acquire complete control over its features."
    },
    {
        "p": "The Window 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."
    },
    {
        "table": {
            "headers": [
                "Selector",
                "Attribute",
                "Usage"
            ],
            "rows": [
                {
                    "Selector": "`.k-window:not(.k-dialog)`",
                    "Attribute": "`role=dialog`",
                    "Usage": "Announces the dialog role of the component."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-labelledby=.k-window-title id`",
                    "Usage": "Associate the title of the dialog."
                },
                {
                    "Selector": "`.k-overlay + .k-window`",
                    "Attribute": "`aria-modal=true`",
                    "Usage": "Announces that the dialog is modal. Attribute is added only when the dialog is modal."
                }
            ]
        }
    },
    {
        "p": "Action buttons follow the **Button** specification."
    },
    {
        "link": {
            "title": "Button accessibility specification",
            "source": "{{button_a11y_link}}"
        }
    },
    {
        "h3": "Managing the Focus"
    },
    {
        "ul": [
            "Initial focus - When opened, the Window should be focused.",
            "Action buttons are accessed with `Tab` key",
            "Tab Key Trap is implemented for modal windows"
        ]
    },
    {
        "h3": "Keyboard Shortcuts"
    },
    {
        "table": {
            "headers": [
                "Shortcut",
                "Behavior"
            ],
            "rows": [
                {
                    "Shortcut": "`Alt/Opt(Mac) + DownArrow`",
                    "Behavior": "Minimizes or restores the state, if the focused element is the window"
                },
                {
                    "Shortcut": "`Alt/Opt(Mac) + UpArrow`",
                    "Behavior": "Maximizes or restores the state, if the focused element is the window"
                },
                {
                    "Shortcut": "`Arrow Keys`",
                    "Behavior": "Move the window to the respective direction (UP"
                },
                {
                    "Shortcut": "`Ctrl/Cmd(Mac) + UpArrow`",
                    "Behavior": "Decreases the height of the window triggering the resizing capabilities. Applicable only when the component is resizable."
                },
                {
                    "Shortcut": "`Ctrl/Cmd(Mac) + DownArrow`",
                    "Behavior": "Increases the height of the window triggering the resizing capabilities. Applicable only when the component is resizable."
                },
                {
                    "Shortcut": "`Ctrl/Cmd(Mac) + LeftArrow`",
                    "Behavior": "Decreases the width of the window triggering the resizing capabilities. Applicable only when the component is resizable."
                },
                {
                    "Shortcut": "`Ctrl/Cmd(Mac) + RightArrow`",
                    "Behavior": "Increases the width of the window triggering the resizing capabilities. Applicable only when the component is resizable."
                },
                {
                    "Shortcut": "`Escape`",
                    "Behavior": "Closes the window. When the window is modal, the focus should be returned to the element that triggered the open."
                }
            ]
        }
    },
    {
        "h3": "Testing"
    },
    {
        "p": "The Window 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 Window 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": {
                    "source": "https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/examples/dialog/",
                    "title": "ARIA practices Modal Dialog Example"
                }
            },
            {
                "link": {
                    "source": "https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/",
                    "title": "ARIA Authoring Practices: Modal Dialog Pattern"
                }
            }
        ]
    }
]