Events
Mar 31, 11 PM - Apr 2, 11 PM
The ultimate Microsoft Fabric, Power BI, SQL, and AI community-led event. March 31 to April 2, 2025.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This article explains how to support navigation through a Power BI visual using the keyboard. Keyboard navigation makes Power BI more accessible to people with disabilities and provides more options for interacting with reports.
The supportsKeyboardFocus
feature makes it possible to navigate the data points of the visual by using only the keyboard.
All visuals come with the following basic keyboard accessibility:
To make your custom visual even more accessible, add the supportsKeyboardFocus
capability to your visual by adding the following line to the "capabilities.json" file:
{
...
"supportsKeyboardFocus": true
...
}
This capability adds the following features to your custom visual:
Note
Not all HTML elements are tabbable by default (for example, div and span). Consider adding the correct attribute (e.g tabindex) to these elements to make them tabbable.
This feature requires API v2.1.0 or higher.
This feature can't be applied to image visuals.
Pressing Enter on the visual container won't always land on the first focusable element of the visual. To be sure to start at the first element, focus it programmatically after the focus goes into the visual.
After pressing Enter on the visual container and after pressing Tab on the last focusable element, the user might have to press Tab more than once to get to the first element.
Events
Mar 31, 11 PM - Apr 2, 11 PM
The ultimate Microsoft Fabric, Power BI, SQL, and AI community-led event. March 31 to April 2, 2025.
Register today