core-aam icon indicating copy to clipboard operation
core-aam copied to clipboard

Name and description change events clarification

Open scottaohara opened this issue 3 months ago • 3 comments

I was asked whether it was spec'd anywhere what should happen for if an accessible name changes. I pointed to this spec since the name change (and description change) events are talked about here... but apparently I misremembered how detailed they were/weren't spec'd.

Looking at this more, one could argue that core aam actually only says a name or description change event SHOULD occur for if an aria-label/labelledby or aria-describedby/description are changed.... but not necessarily if other naming mechanisms (from content, or from title attribute) are changed.

Does this need to be clarified here? Does it need to be called out in accName or the other host-language AAMs? Should this really be just a 'should', re:

User agents MUST notify assistive technology of state changes as defined in the table below, SHOULD notify assistive technology of property changes if the accessibility API defines a change event for the property…

scottaohara avatar Mar 07 '24 22:03 scottaohara