Skip to content

Core-AAM: new UA req that ariaNotify strings should be translated when browser view is auto-translated #265

Open
w3c/aria
#2860

Description

@cookiecrook

I took an action to make a new issue for Core-AAM based on a question from @pkra... The implementation should translate ariaNotify strings if the browser/engine is running in a translated rendering via built-in "Translate this page" features. For example, using a variant of @smhigley's example:

<html lang="en">
    <body>
        …[chinese content]…
    </body>
</html>
el.ariaNotify('希望你能听懂中文'); // this announcement becomes a translated string when browser view is translated from the Chinese

I think this can be a single RFC-2119 req for UAs, and leave the specifics as implementation details. Note: Sarah is doing some additional tests to determine if this is an existing problem with Live Regions.

Originally posted by @cookiecrook in #2828

Activity

  1. cookiecrook commented on Jul 16, 2026

    @cookiecrook
    Author
  2. transferred this issue fromw3c/ariaon Jul 16, 2026
  3. smhigley commented on Jul 16, 2026

    @smhigley
    Contributor

    I verified ariaNotify strings are not currently being auto-translated by browsers (unsurprising based on how new the feature is). Here's a codepen with a test case to verify: https://codepen.io/editor/smhigley/pen/019f6bf9-12b0-7c95-a290-1642d204c808

    And here's a link to the UI alone, without the codepen UI: https://inspiring-term-elephant.codepen.app/

  4. cookiecrook commented on Jul 16, 2026

    @cookiecrook
    ContributorAuthor

    Yes, so it seems the new Core-AAM rule for ariaNotify could require the same translation step for live region updates, before triggering the subsequent accessibility API notification. (Unless the implementation proves too problematic for some reason.)

  5. added
    i18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.
    on Jul 17, 2026
  6. cookiecrook commented on Jul 21, 2026

    @cookiecrook
    ContributorAuthor

    In some brief tests, Live Region announcements in Safari+VO are auto-translated, but sometimes but the original and translated strings can be spoken in sequence, so I think it's worth specifying that UA should not trigger the system notification until after the translation step has completed.

  7. cookiecrook commented on Aug 6, 2026

    @cookiecrook
    ContributorAuthor

    @twilco has WebKit PR 71083 up already. 🔥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

i18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions