Skip to content
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

Document Language settings not honoured when hovering mouse over text #17772

Open
Qchristensen opened this issue Mar 4, 2025 · 1 comment
Open
Labels
feature/i18n Internationalization features feature/mouse-tracking p4 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority triaged Has been triaged, issue is waiting for implementation.

Comments

@Qchristensen
Copy link
Member

Steps to reproduce:

  1. Open: https://en.wikipedia.org/wiki/Template:Lang
  2. Find the line which has "Je suis française" (this line provides the template Wikipedia uses and then the text with the right formatting so should be read first in English and then in French).
  3. Read the line with the keyboard.
  4. Hover the mouse over the text and read it that way.

Actual behavior:

When using the mouse to read text, the "Lang" HTML instruction is ignored and the text is read in the same language as everything else (English in this case).

When reading with the keyboard, the "Lang" tag is honoured as expected.

Expected behavior:

Honour the lang tag when reading with the mouse as well.

NVDA logs, crash dumps and other attachments:

System configuration

NVDA installed/portable/running from source:

NVDA version:

Windows version:

NVDA 2024.4.2 installed

Name and version of other software in use when reproducing the issue:

Reproduced with both:
Firefox version: 135.0.1
Chrome Version: 133.0.6943.142

Also tested in Word (Office 365 64-bit ver 16.0.18429.20158) but not reproduceable in Word - it honours the language setting when reading with the mouse.

Other information about your system:

Other questions

Does the issue still occur after restarting your computer?

Have you tried any other versions of NVDA? If so, please report their behaviors.

If NVDA add-ons are disabled, is your problem still occurring?

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

@Qchristensen
Copy link
Member Author

Note, this should reproduce on other pages using the lang tag - I can also reproduce on http://www.w3schools.com/TAgs/tryit.asp?filename=tryhtml5_global_lang

@seanbudd seanbudd added feature/mouse-tracking p4 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority feature/i18n Internationalization features triaged Has been triaged, issue is waiting for implementation. labels Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/i18n Internationalization features feature/mouse-tracking p4 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority triaged Has been triaged, issue is waiting for implementation.
Projects
None yet
Development

No branches or pull requests

2 participants