Editorial: I18n considerations for translatable attributes - #2862
Open
daniel-montalvo wants to merge 11 commits into
Open
Editorial: I18n considerations for translatable attributes#2862daniel-montalvo wants to merge 11 commits into
daniel-montalvo wants to merge 11 commits into
Conversation
✅ Deploy Preview for wai-aria ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
|
🚀 Deployed on https://deploy-preview-2862--wai-aria.netlify.app |
xfq
approved these changes
Aug 6, 2026
xfq
left a comment
Member
There was a problem hiding this comment.
A full stop needs to be added after the last sentence. Otherwise looks good to me.
cookiecrook
reviewed
Aug 6, 2026
| 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. |
Contributor
There was a problem hiding this comment.
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.
Contributor
Author
There was a problem hiding this comment.
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.
jnurthen
approved these changes
Aug 7, 2026
Co-authored-by: James Craig <cookiecrook@users.noreply.github.com>
Co-authored-by: James Nurthen <jnurthen@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 Netlify Preview:
🔄 this PR updates the following sspecs:
Closes #2827