DropDownButton

DropDownButtons allow the user to choose an option from a popup list with predefined menu items.

Accessibility Support

Out of the box, the Telerik and Kendo UI DropDownButton provides extensive accessibility support and enables users with disabilities to acquire complete control over its features.

The DropDownButton is compliant with the Web Content Accessibility Guidelines (WCAG) 2.2 standards and Section 508 requirements, follows the Web Accessibility Initiative - Accessible Rich Internet Applications (WAI-ARIA) best practices for implementing the keyboard navigation for its component role, provides options for managing its focus and is tested against the most popular screen readers.

WAI-ARIA

This section lists the selectors, attributes, and behavior patterns supported by the component and its composite elements, if any.

Main Button Element

The following table summarizes the selectors and attributes supported by the main button element of the DropDownButton:

SelectorAttributeUsage
.k-menu-buttonrole=button or nodeName=buttonOmitted if the <button> DOM element is used.
aria-labelThe attribute must be present when no text is initially visible in the button.
aria-expanded=true/falseAnnounces the state of the popup visibility.
aria-haspopup=menuIndicates the presence of a menu popup.
aria-controls=.k-menu-group idPoints to the popup element. Builds a relationship between the button and the popup.
.k-menu-button.k-disabledaria-disabled=trueRendered only when the button is disabled and the disabled attribute cannot be used. Applicable to the <button> or <input type="button"> elements.

Popup Menu Element

The following table summarizes the selectors and attributes supported by the popup menu element of the DropDownButton:

SelectorAttributeUsage
.k-menu-grouprole=menuAnnounces the menu role of the popup.
aria-labelledby=.k-menu-button idPoints to the button element.
.k-menu-itemrole=menuitemAnnounces the menuitem role of the popup items.

Managing the Focus

The DropDownButton is a single tab stop component.

Keyboard Shortcuts

This section lists the keyboard shortcuts supported by the DropDownButton composite elements.

Main Button Element

The following table summarizes the keyboard combinations and input behavior supported by the main DropDownButton button element:

ShortcutBehavior
Alt + Down ArrowOpens the DropDownButton popup and moves the focus to its first menuitem element.
EnterOpens the DropDownButton popup and moves the focus to its first menuitem element.
SpaceOpens the DropDownButton popup and moves the focus to its first menuitem element.

Popup Menu Element

The following table summarizes the keyboard combinations and input behavior supported by the popup menu element of the DropDownButton:

ShortcutBehavior
Alt + Up ArrowCloses the popup and moves the focus back to the main button element.
EscCloses the popup and moves the focus back to the main button element.
Down ArrowMoves the focus to the next menuitem element. If the focus is on the last menu item, moves the focus to the first menu item.
Up ArrowMoves the focus to the previous menuitem element. If the focus is on the first menu item, moves the focus to the last menu item.
HomeMoves the focus to the first menuitem element.
EndMoves the focus to the last menuitem element.
EnterClicks (activates) the currently active menuitem element and closes the popup.
SpaceClicks (activates) the currently active menuitem element and closes the popup.

Testing

The DropDownButton has been extensively tested automatically with axe-core and manually with the most popular screen readers.

Screen Readers

The DropDownButton has been tested with the following screen readers and browsers combinations:

EnvironmentTool
FirefoxNVDA
ChromeJAWS
Microsoft EdgeJAWS

Resources