[
    {
        "h2": "Accessibility Support"
    },
    {
        "p": "Out of the box, the Telerik and Kendo UI PanelBar provides extensive accessibility support and enables users with disabilities to acquire complete control over its features."
    },
    {
        "p": "The PanelBar 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-panelbar`",
                    "Attribute": "`role=tree`",
                    "Usage": "The root element of the PanelBar has role `tree`."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-activedescendant=.k-item id`",
                    "Usage": "Points to the currently focused item in the PanelBar."
                },
                {
                    "Selector": "`.k-panelbar-group`",
                    "Attribute": "`role=group`",
                    "Usage": "The `ul` element that wraps child nodes."
                },
                {
                    "Selector": "`[aria-expanded='false']>.k-panelbar-group`",
                    "Attribute": "`aria-hidden=true`",
                    "Usage": "Hides the `group` element from assistive technologies when its parent is not expanded."
                },
                {
                    "Selector": "`.k-item`",
                    "Attribute": "`role=treeitem`",
                    "Usage": "The `li` element rendered for a PanelBar item."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-expanded=true/false`",
                    "Usage": "Announces the expanded state of the item (if expandable). It is `true` when expanded, and `false` when collapsed."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-selected=true/false`",
                    "Usage": "Announces the selected state of the item."
                }
            ]
        }
    },
    {
        "h3": "Managing the Focus"
    },
    {
        "p": "The PanelBar is a single-tab-stop component. It implements the roving tab index strategy. On initial load - only first item will contain `tabindex=\"0\"` and navigation keys move the focus to other nodes and change the respective tabindex. When the focus is moved away from the treeview, the `tabindex=\"0\"` remains on the last focused node."
    },
    {
        "blockquote": "Note that the ARIA specification and its implementation in the PanelBar component concerns only the `item` > `items` scenario. It does not treat the `item` > `content` scenario, which is not supported in terms of accessibility in the component. For such implementations, please use the ExpansionPanel instead, or a set of seleral ExpansionPanels."
    },
    {
        "h3": "Keyboard Shortcuts"
    },
    {
        "table": {
            "headers": [
                "Shortcut",
                "Behavior"
            ],
            "rows": [
                {
                    "Shortcut": "`Arrow Up`",
                    "Behavior": "Focuses the previous PanelBar item. If no previous item is available, focuses the last item."
                },
                {
                    "Shortcut": "`Arrow Down`",
                    "Behavior": "Focuses the next PanelBar item. If no next item is available, focuses the first item."
                },
                {
                    "Shortcut": "`Arrow Left`",
                    "Behavior": "Collapses an expanded item. If the item is collapsed, focuses its parent."
                },
                {
                    "Shortcut": "`Arrow Right`",
                    "Behavior": "Expands a collapsed item. If the item is expanded, focuses its first child node."
                },
                {
                    "Shortcut": "`Home`",
                    "Behavior": "Moves focus to the first item in the PanelBar without expanding or collapsing an item."
                },
                {
                    "Shortcut": "`End`",
                    "Behavior": "Moves focus to the last item in the PanelBar that is focusable without expanding an item."
                },
                {
                    "Shortcut": "`Enter`",
                    "Behavior": "Selects the focused item and toggles the item if it is expandable. It also triggers its action (click or opening url)."
                },
                {
                    "Shortcut": "`Space`",
                    "Behavior": "Selects the focused item and toggles the item if it is expandable. It also triggers its action (click or opening url)."
                }
            ]
        }
    },
    {
        "h3": "Testing"
    },
    {
        "p": "The PanelBar 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 PanelBar 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/example-index/treeview/treeview-navigation.html",
                    "title": "ARIA practices Navigation Treeview Example"
                }
            },
            {
                "link": {
                    "source": "https://www.w3.org/WAI/ARIA/apg/patterns/treeview/",
                    "title": "ARIA Authoring Practices: Treeview Pattern"
                }
            },
            {
                "link": {
                    "source": "https://www.w3.org/WAI/ARIA/apg/patterns/treeview/examples/treeview-navigation/",
                    "title": "ARIA Authoring Practices: Navigation Treeview"
                }
            },
            {
                "link": {
                    "source": "https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/",
                    "title": "ARIA Authoring Practices: Developing a Keyboard Interface"
                }
            }
        ]
    }
]