Skip to main content
Microsoft Idea

Power BI

Needs Votes

Allow custom colors for 'element focus' to be set when embedding

Vote (8) Share
Matt Calderwood's profile image

Matt Calderwood on 07 Aug 2020 09:08:51

Clicking the report surface within an embedded application renders a blue outline, highlighting the element in focus. Whilst this is important for accessibility reasons, it would be great if the color of this could be modified by passing in a color preference within the embedded configuration object.

In some cases, the outline can clash with either the host application style - or the report content, making the outline unusable as an assistive tool -> being able to change the color would allow developers to maintain a good level of contrast whilst also enabling the ability to keep the color 'on brand'.

CSS example from embedded playground markup:
.embedWrapper:focus {
outline: 1px solid #51cbee !important;
}