w3c / core-aam

Core Accessibility API Mappings
https://w3c.github.io/core-aam/
39 stars 10 forks source link

Add platform mappings for role-change notifications #50

Open joanmarie opened 5 years ago

joanmarie commented 5 years ago

Contrary to what the ARIA spec used to suggest, platform accessibility APIs may indeed have a vehicle to notify assistive technologies that a role has changed. For instance, in ATK there are property-change signals. And one of the properties which can change happens to be accessible-role.

Core AAM already has a bunch of tables outlining platform-specific events/notifications which should be emitted when something changes. For some reason, role isn't there. It should be.

joanmarie commented 5 years ago

BTW, the deleted text included the following normative statement:

Since assistive technologies might not detect that the role has changed, user agents MAY address this condition by removing the item from the accessibility tree and inserting a new item in its place.

We should probably preserve that in the new role-change content we're going to create.