w3c / aria

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

Specify what should happen when unhiding an ancestor of `aria-live` region #1937

Open mitchellevan opened 1 year ago

mitchellevan commented 1 year ago

Description of bug or feature request

Given these two structures...

Structure 1: unhiding visually

<div style="display:none;"> <-- e.g., inside a disclosure widget -->
  <div aria-live="polite">chat message: hello</div>
</div>

Structure 2: unhiding from assistive technology

<div aria-hidden="true"> <-- e.g., behind a dialog -->
  <div aria-live="polite">chat message: hello</div>
</div>

...what should happen when I unhide the parent element, which is wrapped around an aria-live region?

Browsers are currently inconsistent. aria-live example with test results

I recommend we standardize on Firefox's current behavior in the above test results, because of these use cases:

Will this require a change to CORE-AAM?

I'm not sure. https://github.com/w3c/core-aam/issues/175

Will this require a change to the ARIA authoring guide?

Yes, it should be part of https://github.com/w3c/aria-practices/issues/78

mitchellevan commented 1 year ago

Hi @jnurthen, would you please include this issue in the Live Regions Updates project?