cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
shik
New Member

HTML Accessibility error

Hi,

 

while doing PL 100github course lab creating power apps i get accessibility error no solution given there. How to fix it? this is in creating "tab" functioname - HTML text - formula is ("<div style='text-align:center'>" & ThisItem.Label & "</div>").

How to fix this issue?

I have tried adding PlainText before formula but no go. cant remove complete tab also as it is required in app.

 

shik_1-1620289739141.png

 

 

4 REPLIES 4
timl
Super User III
Super User III

@shik 

This will be a tip/warning rather than an error, so this is something that you can ignore.

It is saying that if the content of your HTML control displays interactive elements (eg - an HTML select/button, or something that can respond to a mouse click), you should choose one of the built-in Power Apps controls instead.

In your case, you are displaying text in a div which is non-interactive, so you can ignore this message.

shik
New Member

@timl

 if i ignore that issue and export managed solution then try to import in another env it shows missing dependency error and these are log details:

[{"SolutionValidationResultType":"Error","Message":"The following solution cannot be imported: Company311. Some dependencies are missing. The missing dependencies are : <MissingDependencies><MissingDependency><Required key=\"16\" type=\"connectionreference\" displayName=\"new_sharedteams_9eb44\" solution=\"Active\" id.connectionreferencelogicalname=\"new_sharedteams_9eb44\" /><Dependent key=\"17\" type=\"29\" displayName=\" Escalate Expense Approval2\" id=\"{9c87a59b-91ad-eb11-8236-000d3a1b3257}\" /></MissingDependency><MissingDependency><Required key=\"18\" type=\"connectionreference\" displayName=\"lh_sharedcommondataserviceforapps_a90e2\" solution=\"Active\" id.connectionreferencelogicalname=\"lh_sharedcommondataserviceforapps_a90e2\" /><Dependent key=\"17\" type=\"29\" displayName=\" Escalate Expense Approval2\" id=\"{9c87a59b-91ad-eb11-8236-000d3a1b3257}\" /></MissingDependency><MissingDependency><Required key=\"18\" type=\"connectionreference\" displayName=\"lh_sharedcommondataserviceforapps_a90e2\" solution=\"Active\" id.connectionreferencelogicalname=\"lh_sharedcommondataserviceforapps_a90e2\" /><Dependent key=\"19\" type=\"29\" displayName=\" Notify Problem Creator.\" id=\"{58919b85-8fad-eb11-8236-000d3a1b3257}\" /></MissingDependency></MissingDependencies> , ProductUpdatesOnly : False","ErrorCode":-2147188707,"AdditionalInfo":null}]

shik_0-1620296986726.png

 

Also it is mentioned in lab that there should n't be any issues in solution:

shik_1-1620297095659.png

 

 

timl
Super User III
Super User III

@shik 

The error that you see when you try and import your solution into another environment will be due to missing dependencies, rather than the warning that appears against the HTML control.

To resolve the import/export problem, I would make sure to include all dependencies in the source solution.

If you click 'add required components' against the items in your source solution, you should hopefully be able to import the solution into your target environment.

timl_0-1620301888817.png

 

shik
New Member

Thanks a lot. Issue got fixed by adding(add existing) required connection references in to solution:

shik_0-1620307469349.png

 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (20,638)