Skip to content

Editorial: I18n considerations for translatable attributes - #2862

Open
daniel-montalvo wants to merge 11 commits into
mainfrom
i18n-prose-for-translatable-attributes
Open

Editorial: I18n considerations for translatable attributes#2862
daniel-montalvo wants to merge 11 commits into
mainfrom
i18n-prose-for-translatable-attributes

Conversation

@daniel-montalvo

@daniel-montalvo daniel-montalvo commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

🚀 Netlify Preview:
🔄 this PR updates the following sspecs:

Closes #2827

@netlify

netlify Bot commented Aug 4, 2026

Copy link
Copy Markdown

Deploy Preview for wai-aria ready!

Name Link
🔨 Latest commit 2b2bbb1
🔍 Latest deploy log https://app.netlify.com/projects/wai-aria/deploys/6a7c3d509d2fff00091a75db
😎 Deploy Preview https://deploy-preview-2862--wai-aria.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@daniel-montalvo daniel-montalvo added i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. editorial a change to an example, note, spelling, grammar, or is related to publishing or the repo labels Aug 4, 2026
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

🚀 Deployed on https://deploy-preview-2862--wai-aria.netlify.app

@github-actions
github-actions Bot temporarily deployed to pull request August 4, 2026 11:22 Inactive
@daniel-montalvo
daniel-montalvo requested review from pkra and xfq August 5, 2026 09:21
@pkra
pkra removed their request for review August 5, 2026 09:31

@xfq xfq left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A full stop needs to be added after the last sentence. Otherwise looks good to me.

Comment thread index.html Outdated
Comment thread index.html Outdated
The web accessibility stack does not currently provide a mechanism to specify language and directionality for a translatable attribute other than the language and directionality of its containing element. This includes <pref>aria-labelledby</pref> and <pref>aria-describedby</pref> because the <a href="" class="accname">Accessible Name and Description Computation</a> [[ACCNAME-1.2]] results in a flat string.
</p>
<p>
Translatable attribute values that don't match the language and directionality of their containing element can also cause other accessibility problems. It is best practice for authors to ensure that the language and directionality of the value of a translatable attribute matches the language and directionality of its containing element.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you call out "other problems," it would be wise to list a known example.

Alternately, cut the first sentence for brevity, because the second stands on its own.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd just cut off the first sentence as you suggest. Listing individual problems here may end up making this a maintenance burden if the guidance changes in the future.

Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Comment thread index.html Outdated
Co-authored-by: James Craig <cookiecrook@users.noreply.github.com>
@github-actions
github-actions Bot temporarily deployed to pull request August 12, 2026 08:16 Inactive
@github-actions
github-actions Bot temporarily deployed to pull request August 12, 2026 08:38 Inactive
Co-authored-by: James Nurthen <jnurthen@users.noreply.github.com>
@github-actions
github-actions Bot temporarily deployed to pull request August 12, 2026 08:40 Inactive
@github-actions
github-actions Bot temporarily deployed to pull request August 12, 2026 09:00 Inactive
@github-actions
github-actions Bot temporarily deployed to pull request August 12, 2026 09:09 Inactive
@github-actions
github-actions Bot temporarily deployed to pull request August 12, 2026 09:29 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

editorial a change to an example, note, spelling, grammar, or is related to publishing or the repo i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. spec:aria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Translatable Attributes

4 participants