w3c / aria

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

Richer text for aria-live #1806

Closed NSoiffer closed 2 years ago

NSoiffer commented 2 years ago

Description of bug or feature request

I don't have a specific ask (but do lean towards a potential solution below). I mainly want to raise awareness of a problem I've come up against when implementing accessible math editors. As the user navigates an expression, the math editor needs to tell AT what to say. aria-live is a good solution except:

One solution would be to allow SSML in aria-live since this can be sent to most speech engines. However, it needs to be marked as SSML so that are the markup is not spoken. SSML is probably easy to detect, but I think it would be best to add an attribute that says it is SSML: it is possible someone actually wants to speak the markup (although very unlikely). Speech engines don't auto-dectect the markup and need to be told it is SSML/set in SSML mode.

Will this require a change to CORE-AAM?

If unknown, leave blank. If relevant, link bug.

Will this require a change to the ARIA authoring guide?

Probably no change is need.

PR tracking (for feature tracking, leave as is when submitting)

Implementation tracking (for feature tracking, leave as is when submitting)

edsummersnc commented 2 years ago

Thank you @NSoiffer for opening this issue. I think the need for better control of speech is broad. aria-live is generally used as a workaround for complex UI controls or interactions that are not supported by ARIA. My personal experience is with non-visual access to data visualizations, grids, etc.

edsummersnc commented 2 years ago

I opened a related issue: #1809

jnurthen commented 2 years ago

closing this and leaving the more general issue open