[
    {
        "h2": "Accessibility Support"
    },
    {
        "p": "Out of the box, the Telerik and Kendo UI MultiSelectTree provides extensive accessibility support and enables users with disabilities to acquire complete control over its features."
    },
    {
        "p": "The MultiSelectTree 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": "MultiSelectTree Wrapping Element"
    },
    {
        "table": {
            "headers": [
                "Selector",
                "Attribute",
                "Usage"
            ],
            "rows": [
                {
                    "Selector": "`.k-multiselecttree`",
                    "Attribute": "`role=combobox`",
                    "Usage": "Announces the presence of a combobox as inner element of the multiselect used for filtering."
                },
                {
                    "Selector": "",
                    "Attribute": "`label for` or `aria-label` or `aria-labelledby`",
                    "Usage": "The input needs an accessible name to be assigned to it."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-haspopup=tree`",
                    "Usage": "Indicates the presence of a tree popup."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-expanded=true/false`",
                    "Usage": "Announces the state of the visibility of the popup."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-controls=.k-treeview id`",
                    "Usage": "Points to the treeview element. Signifies that the `combobox` element controls the `treeview`."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-autocomplete=list`",
                    "Usage": "Attribute is rendered and value is set to list when **filtering** feature is enabled."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-describedby=.k-chip-list id`",
                    "Usage": "Points to the taglist element that contains the selected items."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-readonly=true`",
                    "Usage": "Attribute is rendered only when the multiselect is readonly."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-invalid=true`",
                    "Usage": "Attribute is rendered only when the multiselect is in form and announces the valid state of the component."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-busy=true`",
                    "Usage": "Attribute is rendered only when the multiselect is loading data."
                },
                {
                    "Selector": "",
                    "Attribute": "`tabindex=0`",
                    "Usage": "The element should be focusable."
                },
                {
                    "Selector": "`.k-multiselecttree.k-disabled`",
                    "Attribute": "`aria-disabled=true`",
                    "Usage": "Attribute is rendered only when the multiselect is disabled."
                },
                {
                    "Selector": "`.k-input-button`",
                    "Attribute": "`role=button`",
                    "Usage": "The element should either be a `<button>` element or should have `role=\"button\"` assigned."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-label`",
                    "Usage": "The button needs an accessible name to be assigned to it."
                },
                {
                    "Selector": "",
                    "Attribute": "`tabindex=-1`",
                    "Usage": "Button element should not be focusable."
                }
            ]
        }
    },
    {
        "h4": "Popup"
    },
    {
        "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 needs a landmark role to be assigned to it. Otherwise, it should 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 placed in the Popup element of the component should implement the specification for a **TreeView** component."
    },
    {
        "link": {
            "title": "TreeView accessibility specification",
            "source": "{{treeview_a11y_link}}"
        }
    },
    {
        "h3": "Keyboard Shortcuts"
    },
    {
        "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 pop up"
                },
                {
                    "Shortcut": "`Alt/Opt(Mac) Up` or `Esc`",
                    "Behavior": "`Closes popup"
                },
                {
                    "Shortcut": "`Enter`",
                    "Behavior": "Selects the focused item."
                },
                {
                    "Shortcut": "`Space`",
                    "Behavior": "Selects the focused item."
                },
                {
                    "Shortcut": "`printable characters`",
                    "Behavior": "Typing \"M\" or any other printable character should select the next or first item in the list"
                },
                {
                    "Shortcut": "`Esc`",
                    "Behavior": "Clears the value when the popup is not open."
                }
            ]
        }
    },
    {
        "p": "The TreeView element inside the Popup should implement the KB specification for a **TreeView** component."
    },
    {
        "link": {
            "title": "TreeView  specification",
            "source": "{{treeview_kb_link}}"
        }
    },
    {
        "p": " The items in the TreeView should not be selectable when used in the MultiSelectTreeView. Hence, when clicking (or pressing Enter/Space) on an item, it should not receive the `.k-selected` class."
    },
    {
        "h3": "Testing"
    },
    {
        "p": "The MultiSelectTree 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 MultiSelectTree 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": "ARIA practices: TreeView Example"
                }
            },
            {
                "link": {
                    "source": "https://www.w3.org/WAI/ARIA/apg/example-index/combobox/combobox-select-only.html",
                    "title": "ARIA practices: Select-Only Combobox Example"
                }
            },
            {
                "link": {
                    "source": "https://www.w3.org/WAI/ARIA/apg/patterns/combobox/",
                    "title": "ARIA Authoring Practices: Combobox Pattern "
                }
            },
            {
                "link": {
                    "source": "https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/",
                    "title": "ARIA Authoring Practices: Select-Only Combobox"
                }
            }
        ]
    }
]