[
    {
        "h2": "Accessibility Support"
    },
    {
        "p": "Out of the box, the Telerik and Kendo UI DropDownTree provides extensive accessibility support and enables users with disabilities to acquire complete control over its features."
    },
    {
        "p": "The DropDownTree 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."
    },
    {
        "h4": "DropDownTree Wrapping Element"
    },
    {
        "p": "The following table summarizes the selectors and attributes supported by the DropDownTree wrapper element:"
    },
    {
        "table": {
            "headers": [
                "Selector",
                "Attribute",
                "Usage"
            ],
            "rows": [
                {
                    "Selector": "`.k-dropdowntree`",
                    "Attribute": "`role=combobox`",
                    "Usage": "Announces the drop-down element of the button."
                },
                {
                    "Selector": "",
                    "Attribute": "`label for` or `aria-label` or `aria-labelledby`",
                    "Usage": "The input requires an accessible name that will be assigned to it."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-haspopup=tree`",
                    "Usage": "Indicates the presence of a popup with a tree navigation."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-expanded=true/false`",
                    "Usage": "Announces the state of the popup visibility."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-controls=.k-treeview id`",
                    "Usage": "Points to the `treeview` element. Signifies that the `combobox` element controls the `treeview` one."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-describedby=.k-input-inner id`",
                    "Usage": "Announces the selected value of the drop-down."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-readonly=true`",
                    "Usage": "The attribute is rendered only when the drop-down is read-only."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-autocomplete=list`",
                    "Usage": "The attribute is rendered and the value is set to `list` when the filtering feature is enabled."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-invalid=true`",
                    "Usage": "The attribute is rendered only when the drop-down is in a form and announces the valid state of the component."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-busy=true`",
                    "Usage": "The attribute is rendered only when the drop-down is loading data."
                },
                {
                    "Selector": "",
                    "Attribute": "`tabindex=0`",
                    "Usage": "The element must be focusable."
                },
                {
                    "Selector": "`.k-dropdowntree.k-disabled`",
                    "Attribute": "`aria-disabled=true`",
                    "Usage": "The attribute is rendered only when the drop-down is disabled."
                },
                {
                    "Selector": "`.k-input-button`",
                    "Attribute": "`role=button` or `nodeName=button`",
                    "Usage": "The element must either be a `<button>` element or must have `role=\"button\"` assigned."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-label`",
                    "Usage": "The button requires an accessible name that will be assigned to it."
                },
                {
                    "Selector": "",
                    "Attribute": "`tabindex=-1`",
                    "Usage": "The `button` element must not be focusable."
                }
            ]
        }
    },
    {
        "h4": "Popup Listbox"
    },
    {
        "p": "The popup element of the DropDownTree has to implement the WAI-ARIA specification for a Popup List component. The following table summarizes the selectors and attributes supported by the listbox popup of the DropDownTree:"
    },
    {
        "table": {
            "headers": [
                "Selector",
                "Attribute",
                "Usage"
            ],
            "rows": [
                {
                    "Selector": "`.k-animation-container`",
                    "Attribute": "`role=region`",
                    "Usage": "When the component container is appended to the `<body>` element of the document, it requires you to assign a `landmark` role to it. Otherwise, it must be appended to an element with an appropriate `landmark` role."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-label` or `aria-labelledby`",
                    "Usage": "Provides a label when the container has a `region` role assigned."
                }
            ]
        }
    },
    {
        "h4": "TreeView"
    },
    {
        "p": "The tree that is placed in the `popup` element of the component must implement the specification for a TreeView component."
    },
    {
        "link": {
            "title": "TreeView accessibility specification",
            "source": "{{treeview_a11y_link}}"
        }
    },
    {
        "h4": "Adaptive Mode"
    },
    {
        "p": "When the component is in adaptive mode, the popup element follows the specifications of the ActionSheet component."
    },
    {
        "link": {
            "title": "ActionSheet accessibility specification",
            "source": "{{actionsheet_a11y_link}}"
        }
    },
    {
        "h3": "Keyboard Shortcuts"
    },
    {
        "p": "This section lists the keyboard shortcuts supported by the DropDownTree composite elements."
    },
    {
        "h4": "DropDownTree Wrapping Element"
    },
    {
        "p": "The following table summarizes the keyboard combinations and input behavior supported by the DropDownTree wrapper element:"
    },
    {
        "table": {
            "headers": [
                "Shortcut",
                "Behavior"
            ],
            "rows": [
                {
                    "Shortcut": "`Down Arrow`",
                    "Behavior": "Selects the next available item."
                },
                {
                    "Shortcut": "`Up Arrow`",
                    "Behavior": "Selects the previous available item."
                },
                {
                    "Shortcut": "`Alt/Opt(Mac) Down`",
                    "Behavior": "Opens the popup."
                },
                {
                    "Shortcut": "`Alt` (or `Opt` on Mac) + `Up Arrow` or `Esc`",
                    "Behavior": "`Closes the popup."
                },
                {
                    "Shortcut": "`Enter`",
                    "Behavior": "Selects and confirms the focused item."
                },
                {
                    "Shortcut": "`Esc`",
                    "Behavior": "Clears the value when the popup is not open."
                }
            ]
        }
    },
    {
        "h4": "Listbox Popup"
    },
    {
        "p": "The `treeview` element inside the popup must implement the keyboard navigation specification for a TreeView component:"
    },
    {
        "link": {
            "title": "TreeView  specification",
            "source": "{{treeview_kb_link}}"
        }
    },
    {
        "h4": "ActionSheet Popup"
    },
    {
        "p": "In adaptive mode, the popup element of the DropDownTree has to implement the keyboard navigation specification for an ActionSheet component."
    },
    {
        "link": {
            "title": "ActionSheet  specification",
            "source": "{{actionsheet_kb_link}}"
        }
    },
    {
        "p": "The following rules deviate from the standard ActionSheet behavior:"
    },
    {
        "table": {
            "headers": [
                "Shortcut",
                "Behavior"
            ],
            "rows": [
                {
                    "Shortcut": "`Tab`",
                    "Behavior": "Closes the actionsheet and focuses the next focusable element."
                }
            ]
        }
    },
    {
        "h3": "Testing"
    },
    {
        "p": "The DropDownTree 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 DropDownTree 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/treeview/examples/treeview-navigation/",
                    "title": "WAI-ARIA Authoring Practices: TreeView Example"
                }
            },
            {
                "link": {
                    "source": "https://www.w3.org/WAI/ARIA/apg/example-index/combobox/combobox-select-only.html",
                    "title": "WAI-ARIA Authoring Practices: Select-Only Combobox Example"
                }
            },
            {
                "link": {
                    "source": "https://www.w3.org/WAI/ARIA/apg/patterns/combobox/",
                    "title": "WAI-ARIA Authoring Practices: Combobox Pattern "
                }
            },
            {
                "link": {
                    "source": "https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/",
                    "title": "WAI-ARIA Authoring Practices: Select-Only Combobox"
                }
            }
        ]
    }
]