# FloatingToolbar Accessibility

The FloatingToolbar hosts a Toolbar with the `toolbar` role. Set the [`ariaLabel`](https://www.telerik.com/kendo-react-ui/components/buttons/api/floatingtoolbarprops#arialabel) property to give it an accessible name. When `draggable` is enabled, the component adds a keyboard-focusable drag handle with a localized label and a keyboard Move mode. If the FloatingToolbar is unmounted while it contains focus, focus returns to the element that was focused before it mounted.

## WAI-ARIA

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

| Selector                          | Attribute      | Usage                                                                                                                                 |
| --------------------------------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| `.k-toolbar`                      | `role=toolbar` | The role of the hosted Toolbar.                                                                                                       |
| `.k-toolbar`                      | `aria-label`   | Set through the [`ariaLabel`](https://www.telerik.com/kendo-react-ui/components/buttons/api/floatingtoolbarprops#arialabel) property. |
| `.k-floating-toolbar-drag-handle` | `role=button`  | The role of the drag handle, rendered when `draggable` is set to `true`.                                                              |
| `.k-floating-toolbar-drag-handle` | `aria-label`   | A localized `"Drag to reposition"` label.                                                                                             |
| `.k-floating-toolbar-drag-handle` | `aria-pressed` | Reflects whether the keyboard Move mode is active.                                                                                    |

## Resources

[WAI-ARIA Specification for the Toolbar](https://www.w3.org/TR/wai-aria-1.2/#toolbar)

## Keyboard Navigation

For more details about the FloatingToolbar component's keyboard navigation, refer to the article on [keyboard navigation in the FloatingToolbar component](https://www.telerik.com/kendo-react-ui/components/buttons/floatingtoolbar/keyboard-navigation).

## See Also

* [Accessibility in KendoReact](https://www.telerik.com/kendo-react-ui/components/accessibility)
* [Accessibility Compliance and Keyboard Support in KendoReact](https://www.telerik.com/kendo-react-ui/components/accessibility/accessibility-compliance)
