Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
powerbiklav
Regular Visitor

Alt text no longer showing as aria-label in react app

We use selenium to automate power bi reports. Alt Text on a button is displayed as aria-label. Now all our selenium automation test are broken because alt text is not longer showing as aria-labe in the app due to a possible change from power bi updates. 

 

Here is our button in in our app:

powerbiklav_1-1657801503883.png

 

Where is he definition of our alt text:

powerbiklav_2-1657801629878.png

 

Our aria text is displaying as:

powerbiklav_3-1657801736248.png

 

In a previous power bi build the aria-label was all displaying the alt text.

 

4 REPLIES 4
DataInsights
Super User
Super User

@powerbiklav,

 

Do you know the last version when it worked properly? If it worked until June 2022, it might be related to the new format pane.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




It worked after June 22. The last time my script worked was around July 8th.

I have some more findings on the issue.

 

  1. When the visual has a ToolTip Text and Alt text defined, the aria-label in the web elements displays the as ToolTip text
  2. But when the visuals have no ToolTip Text defined but an Alt text defined, the aria-label in the web elements displays the Alt text.

@powerbiklav,

 

That's good info. I recommend reporting this at the link below.

 

https://community.powerbi.com/t5/Issues/idb-p/Issues 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.