[
    {
        "h2": "Accessibility Support"
    },
    {
        "p": "Out of the box, the Telerik and Kendo UI Captcha provides extensive accessibility support and enables users with disabilities to acquire complete control over its features."
    },
    {
        "p": "The Captcha 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."
    },
    {
        "p": "No role attribute is implemented as the  `html input type=\"text\"` element is sufficient for definining purpose of the component."
    },
    {
        "table": {
            "headers": [
                "Selector",
                "Attribute",
                "Usage"
            ],
            "rows": [
                {
                    "Selector": "`.k-captcha-image>img`",
                    "Attribute": "`alt`",
                    "Usage": "The Captcha image must have an `alt` tag, so that the."
                },
                {
                    "Selector": "`.k-captcha-image-controls>.k-button`",
                    "Attribute": "`role=button` or `nodeName=button`",
                    "Usage": "The image control buttons must have an appropriate role."
                },
                {
                    "Selector": "",
                    "Attribute": "`aria-label` or `title`",
                    "Usage": "Each button must have an accessible name as they are all represented by icons and no text is available in their contents."
                },
                {
                    "Selector": "`.k-captcha-input .k-input-inner`",
                    "Attribute": "`role=textbox` or `nodeName=input`",
                    "Usage": "Describes the role of the component."
                },
                {
                    "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-invalid=true`",
                    "Usage": "Attribute is rendered only when the captcha is in form and announces the valid state of the component."
                },
                {
                    "Selector": "`.k-disabled .k-input-inner`",
                    "Attribute": "`disabled=disabled` or `aria-disabled=true`",
                    "Usage": "Attribute is rendered only when the textbox is disabled."
                },
                {
                    "Selector": "`.k-captcha-input>input`",
                    "Attribute": "`type=hidden`",
                    "Usage": "The hidden input holding the Captcha ID value so that the remote could validate the user input."
                }
            ]
        }
    },
    {
        "h3": "Managing the Focus"
    },
    {
        "p": "Tab Sequence follows the dom elements order. The focus order is as follows:"
    },
    {
        "ul": [
            "Captcha image",
            "Reset button",
            "Audio button",
            "Input"
        ]
    },
    {
        "p": "When audio button is clicked (`enter` or `space`) the volume control (Slider component) is focused."
    },
    {
        "h3": "Keyboard Shortcuts"
    },
    {
        "table": {
            "headers": [
                "Shortcut",
                "Behavior"
            ],
            "rows": [
                {
                    "Shortcut": "`Tab`",
                    "Behavior": "Navigates to the next Captcha element."
                },
                {
                    "Shortcut": "`Shift+Tab`",
                    "Behavior": "Navigates to the previous Captcha Element."
                },
                {
                    "Shortcut": "`Enter`",
                    "Behavior": "Presses the focused Captcha button."
                },
                {
                    "Shortcut": "`Space`",
                    "Behavior": "Presses the focused Captcha button."
                },
                {
                    "Shortcut": "`Arrow Up`",
                    "Behavior": "Increases the Audio control volume."
                },
                {
                    "Shortcut": "`Arrow Down`",
                    "Behavior": "Decreases the Audio control volume."
                }
            ]
        }
    },
    {
        "h3": "Testing"
    },
    {
        "p": "The Captcha 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 Captcha 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/TR/wai-aria-1.2/#textbox",
                    "title": "WAI-ARIA specification for textbox"
                }
            }
        ]
    }
]