We're trying to address a bunch of accessibility issues, one in particular is proving quite difficult.
We need to supply for="" atributes for our components in order for screen readers to correctly read out the component details for users with accessibility needs.
The problem we've got is that we would have multiple of the same PCF on a screen, so we need the name="" attribute in our HTML to be unique - Ideally we'd like to grab the name as defined in the PowerApp designer, I thought there'd be a way to do this from the context object but I'm not seeing anything obvious.
Is this possible?
If not, the only workaround we can think of is to set the name attribute as a random string within the PCF itself but that's not a great idea.
Thanks.