New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML lang tag is not respected in aria-live regions. #4396
Comments
Attachment index.html added by mquinn on 2014-08-15 13:51 |
Just adding a quick update that it appears that the pronunciation of aria-labels also does not respect the lang tag used for the element or page. |
This is probably due to NVDA not respecting the lang tag in browse mode, but does in focus mode. Thoughts? CC @LeonarddeR @michaelDCurran |
cc: @jcsteh, @derekriemer do you have any suggestions regarding this one? |
I've encountered this problem also and it happens on Mac with VoiceOver too. |
There's precious little documentation about how the Naturally, if the page is in a single language, it ought to be enough to specify it on the But what if the live region contains elements with text in multiple languages? Something like a chat log? This is not unthinkable - At work I often have chats where even though the main chat may be in English, certain individuals might routinely post in Danish, Norwegian or Swedish - which I and my colleagues can read and understand just fine. In such a case, the incoming message would need language metadata, and this would have to be inserted into a lang attribute for each new message in the log. Somehow I doubt this is well-explored territory for US-based tech firms. |
In case it's helpful, note that ARIA 1.2 (which will move to "Candidate Recommendation" status any day now) now specifies that |
Reported by mquinn on 2014-08-15 13:50
When the content of an HTML element with an aria-live attribute set to either polite or assertive changes, the content is not read using the correct pronunciation specified in the element's lang tag. However, subsequently tabbing to that element produces the correct pronunciation.
The text was updated successfully, but these errors were encountered: