You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently aria-errormessage is exposed in UIA via the ControllerFor property. This means that, as far as I can tell, an API consumer won't be able to distinguish between targets of aria-errormessage and targets of aria-controls without hacky workarounds, since aria-controlsalso uses ControllerFor.
Should the target of an aria-errormessage be given some property in AriaProperties to distinguish it from being the target of an aria-controls? Or could this information possibly be exposed in a different UIA property?
The text was updated successfully, but these errors were encountered:
Using ControllerFor doesn't make sense to me. Not just because it conflicts with aria-controls, but because the element isn't really controlling the element containing the error. Yes, it caused it to generate but not really controlling it beyond its presence. To me, the error is a form of a description. This brings up the UIA FullDescription property and the DescribedBy property. I don't like FullDescription as that would conflict with valid data as well. Given DescribedBy is an array of elements, this makes the most sense to me.
How does this sound? We are having internal discussions on this as I really don't think ControllerFor is the right property.
I agree that the ControllerFor mapping was confusing, but I didn't bring it up because I'm not familiar with the history behind it. If there isn't any significance to it, aligning it with the UIA description makes more sense to me, too.
Just to clarify:
If we did map aria-errormessage to the DescribedBy array, would it be concatenated with nodes from aria-describedby? Or would one somehow override the other?
Do API consumers in practice ever read the DescribedBy array? I feel like if I was working on AT I would always just get the FullDescription, since I would assume it's in alignment with the DescribedBy array. Maybe aria-errormessage should be appended to FullDescription? Maybe that would be too verbose? It would also hypothetically mean that UIA description calculation is slightly different from other APIs, which could be confusing...
FYI @benbeaudry in case you had any thoughts here.
Currently
aria-errormessage
is exposed in UIA via the ControllerFor property. This means that, as far as I can tell, an API consumer won't be able to distinguish between targets ofaria-errormessage
and targets ofaria-controls
without hacky workarounds, sincearia-controls
also uses ControllerFor.Should the target of an
aria-errormessage
be given some property inAriaProperties
to distinguish it from being the target of anaria-controls
? Or could this information possibly be exposed in a different UIA property?The text was updated successfully, but these errors were encountered: