w3c / aria

Accessible Rich Internet Applications (WAI-ARIA)
https://w3c.github.io/aria/
Other
643 stars 124 forks source link

[AriaNotify] Speech markup/pronunciations (i.e. SSML or IPA) #2335

Open alisonmaher opened 2 weeks ago

alisonmaher commented 2 weeks ago

As discussed in https://github.com/w3c/aria/discussions/1958#discussioncomment-6223153, there may be cases where an author would want to provide a separate string to provide a hint to ATs for how the notification should be spoken.

The use cases provided in the discussion thread are compelling, and I think there is value to such an addition. However, I would like to propose that we consider this for a future version of the API instead to allow us to gather feedback from developers and end users as ariaNotify starts to get adopted with its current set of functionality. This will help inform the best way to incorporate this additional customizability going forward.

jcsteh commented 1 week ago

It's worth noting that practically speaking, we don't have any mainstream, interoperable way to specify speech markup or pronunciation anywhere else in HTML, ARIA or CSS. There is ongoing work in this area, but it hasn't yet resulted in any mainstream implementations. It seems like perhaps that problem needs to be solved properly before we try to solve this specifically for notifications. Otherwise, we might end up with diverging ways of specifying speech markup/pronunciation and that certainly wouldn't be ideal.