Forum Discussion
Invalid aria-label is defined for buttons
When inspecting buttons in powerbi report there is a issue that aria lable is defined as :
Aria-label="Bookmark button, Click here to follow link" is defined for bookmark button.
Simillarly for blank button
Aria-label=" Button" is defined for blank button
This creates issue as due to which screen reader is announcing invalid information while navigating on it.
Accepted Result is that Buttons should have aria-label same as text we define in it. For all types of button.
One more issue is that we are using buttons as tab in report, but type is defined as button only. So is there a way to change the role of button to tab. Issue that exists because of this is that screen reader will read out only role button but it is presented as tab.
3 Replies
- AnonymousNot applicable
Hi anubhuti14,
>>Aria-label="Bookmark button, Click here to follow link" is defined for bookmark button.
Based on my test, I found these parts are concatenated with button type, 'alt text', and 'tooltip' text. (General -> 'Alt text', 'Action' ->'Tooltip')
If you keep these options to default, power bi will auto-fill them with the basic operation notice in the tooltips. You can modify these to generated new aria-label descriptions.
Regards,
Xiaoxin Sheng - anubhuti14Microsoft Employee
Yes I have checked that alt text and tooltip is concatinating with the button type. But is there any way that only alt text or tooltip text will come as aria-label instead of button type as prefix.
As of now , aria-label is coming as aria-label=" Bookmark Button Test Test tooltip"
but as of requirement it should be aria-label=" Test Test tooltip".
- AnonymousNot applicable
Hi anubhuti14,
I think this part should be the limit to do custom with aria-label because the power bi team already used it to recognize the current element type.
For your requirement, maybe you can try to submit an idea to add support to fully customize with these parts.
Regarsd,Xiaoxin Sheng