[
    {
        "h2": "Accessibility Support"
    },
    {
        "p": "Out of the box, the Telerik and Kendo UI ColumnChooser provides extensive accessibility support and enables users with disabilities to acquire complete control over its features."
    },
    {
        "p": "The ColumnChooser 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": "The ColumnChooser Button"
    },
    {
        "table": {
            "headers": [
                "Selector",
                "Attribute",
                "Usage"
            ],
            "rows": [
                {
                    "Selector": "`.k-grid-column-chooser .k-button`",
                    "Attribute": "`has-popup=dialog`",
                    "Usage": "Specifies that the button opens a dialog."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-expanded=true/false`",
                    "Usage": "Announces the current open state of the popup."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-controls=.k-animation-container id`",
                    "Usage": "Points to the popup that the button toggles."
                }
            ]
        }
    },
    {
        "h4": "The ColumnChooser Columns List"
    },
    {
        "table": {
            "headers": [
                "Selector",
                "Attribute",
                "Usage"
            ],
            "rows": [
                {
                    "Selector": "`.k-column-list`",
                    "Attribute": "`role=listbox`",
                    "Usage": "Sets the listbox role of the list of columns wrapper."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-multiselectable=true`",
                    "Usage": "Specifies that the list is multiselectable."
                },
                {
                    "Selector": "`.k-column-list .k-column-list-item`",
                    "Attribute": "`role=option`",
                    "Usage": "Sets the option role of the list item."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-checked=true/false`",
                    "Usage": "Sets the checked state of list item."
                },
                {
                    "Selector": "",
                    "Attribute": "`tabindex=0/-1`",
                    "Usage": "Sets the tabindex depending on the item's focused state."
                },
                {
                    "Selector": "`.k-column-list-item .k-checkbox`",
                    "Attribute": "`tabindex=-1`",
                    "Usage": "Removes the default focus behavior of the checkbox."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-hidden=true`",
                    "Usage": "Hides the checkbox from the assistive technologies, as its accessibility is implemented by the item wrapper."
                }
            ]
        }
    },
    {
        "p": "Disregard the AXE nested interactive rule as it lacks precise definition and does not account for specific use-cases individually. The current ColumnChooser specification does not violate any explicit WCAG success criteria, allowing us to safely ignore the newly introduced AXE interpretation."
    },
    {
        "h3": "Keyboard Shortcuts"
    },
    {
        "table": {
            "headers": [
                "Shortcut",
                "Behavior"
            ],
            "rows": [
                {
                    "Shortcut": "`Alt` + `Down Arrow` & `Enter`",
                    "Behavior": "Opens the ColumnChooser Popup. Focus is trapped and wrapped within the Popup."
                },
                {
                    "Shortcut": "`Tab`",
                    "Behavior": "Navigates to the next focusable element in the Popup. If current focus is on the last element, moves focus to the first focusable item in the Popup."
                },
                {
                    "Shortcut": "`Shift` + `Tab`",
                    "Behavior": "Navigates to the previous focusable element in the Popup. If current focus is on the first element, moves focus to the last focusable item in the Popup."
                },
                {
                    "Shortcut": "`Enter`",
                    "Behavior": "For button items, executes the currently focused button action."
                },
                {
                    "Shortcut": "`Escape`",
                    "Behavior": "Closes the ColumnChooser Popup and returns focus to the main button."
                },
                {
                    "Shortcut": "`Down Arrow` & `Up Arrow`",
                    "Behavior": "Moves the focus to the next/previous item when focus is in the list of options."
                },
                {
                    "Shortcut": "`Space`",
                    "Behavior": "Toggles the checked state of the options from the list."
                }
            ]
        }
    },
    {
        "h3": "Testing"
    },
    {
        "p": "The ColumnChooser 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 ColumnChooser 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/listbox/",
                    "title": "WAI-ARIA specification for listbox"
                }
            },
            {
                "link": {
                    "source": "https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/dialog_role",
                    "title": "MDN reference for the dialog role"
                }
            },
            {
                "link": {
                    "source": "https://dequeuniversity.com/rules/axe/4.7/nested-interactive?application=AxeChrome",
                    "title": "AXE Nested Interactive Rule"
                }
            },
            {
                "link": {
                    "source": "https://github.com/dequelabs/axe-core/issues/2906",
                    "title": "Deque Github Issue Discussion for the Nested Interactive AXE Rule"
                }
            }
        ]
    }
]