aom icon indicating copy to clipboard operation
aom copied to clipboard

Live region properties vs announcement notification

Open cookiecrook opened this issue 8 years ago • 1 comments

We had discussed using a refined announcement notification (in Phase 2?) to avoid some of the problems with live regions. Let's put in a placeholder for the notification (e.g. "speak this text") and remove the aliases for live, relevant, atomic, etc.

Authors wanting to use live regions can still implement them via DOM methods like setAttribute, so we're not losing anything by not including the aliases on accessibleNode.

(Spawned from discussion in Issue #78)

cookiecrook avatar Aug 09 '17 05:08 cookiecrook

Proposal from @cookiecrook: allow sending a payload including notification, urgency, callback... etc?

  • Some global object like Navigator which handles requests
  • Have a queue object which allows managing posted notifications?
  • Allow polyfilling live regions?
  • But not require a context element

Counter-proposal:

el.accessibleNode.announce("New content loaded", AccessibleNode.POLITE);
  • context element is required, but may be root node
  • no queue object (at least initially)

alice avatar Aug 16 '17 22:08 alice