w3c / accname

Accessible Name and Description Computation
https://w3c.github.io/accname/
61 stars 23 forks source link

Clarify: should aria-description be able to self-reference like aria-labelledby? #176

Closed MelSumner closed 1 year ago

MelSumner commented 1 year ago

Pulled this comment out from #69 so we could discuss separately and clarify either way.

Do we intend the aria-description value on an element to be able to be included in its description by a self-reference in the value of aria-describedby? If so, that does not appear to be supported by the current definition of aria-describedby computation. If not, we may want to make that constraint more clear. It would make the behavior of aria-describedby slightly different from the behavior of aria-labelledby.

jnurthen commented 1 year ago

I think we resolved to add an editorial note to clarify that aria-describedby/description would not support this' https://www.w3.org/2022/11/10-aria-minutes#t07

DavidMacDonald commented 1 year ago

I agree that we should probably not do this type of reference. I think we want aria-description to be like aria-label ... except mapping to the ACCDESCRIPTION in the API