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

UIA - Aria-label of toggle button with menu truncated to first letter #17665

Open
YanaLaurynovichTR opened this issue Jan 30, 2025 · 3 comments
Labels
api/uia Feature or bug requires an understanding of UIA app/chrome app/edge/anaheim MS browser, chromium based, replaces Spartan in 2019 by Anaheim. NVDA access via IA2. ARIA p3 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority triaged Has been triaged, issue is waiting for implementation.

Comments

@YanaLaurynovichTR
Copy link

Steps to reproduce:

  1. Navigate to the example: https://stackblitz.com/edit/zal3su7x?file=src%2Fexample.tsx
  2. Click "Toggle menu" button (aria-label="cite list")
  3. Menu is opened / closed

Actual behavior:

NVDA announces only a first letter of aria-label

FluentUI React v9 - StackBlitz
c  button  expanded  
New  1 of 4
cite list
c  button  expanded  
cite list
c  button  collapsed 

Expected behavior:

NVDA announces "cite list button expanded"
Expecting this narration, because:

<button type="button" aria-haspopup="menu" id="menur3" class="fui-Button r1alrhcs" aria-label="cite list">Toggle menu</button>

NVDA logs, crash dumps and other attachments:

System configuration

NVDA installed/portable/running from source:

NVDA version:

2024.4.2 (2024.4.2.35031)

Windows version:

Windows 11 Enterprise 23H2

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

Microsoft Edge for Business (Version 132.0.2957.115)

Other information about your system:

Other questions

Does the issue still occur after restarting your computer?

yes

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

no

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

no addons enabled

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

no

@SaschaCowley
Copy link
Member

Very similar to #17412
This is only an issue if you have set "Use UIA with Microsoft Edge and other Chromium based browsers when available" to "Yes" in NVDA's advanced settings

@gerald-hartig gerald-hartig changed the title Aria-selected is not narrated fully for toggle button with menu NVDA UIA: Aria-label of toggle button with menu truncated to first letter Feb 3, 2025
@gerald-hartig gerald-hartig changed the title NVDA UIA: Aria-label of toggle button with menu truncated to first letter UIA - Aria-label of toggle button with menu truncated to first letter Feb 3, 2025
@YanaLaurynovichTR
Copy link
Author

Thank you, @SaschaCowley, I have set "Use UIA with Microsoft Edge and other Chromium based browsers when available" to "No" in settings (it had default value) and labels for buttons have started to work as expected.

@gerald-hartig gerald-hartig added ARIA p2 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority app/chrome app/edge/anaheim MS browser, chromium based, replaces Spartan in 2019 by Anaheim. NVDA access via IA2. api/uia Feature or bug requires an understanding of UIA triaged Has been triaged, issue is waiting for implementation. labels Feb 3, 2025
@seanbudd seanbudd added p3 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority and removed p2 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority labels Feb 19, 2025
@seanbudd
Copy link
Member

Changing to a p3 as this is only an issue with an advanced setting changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api/uia Feature or bug requires an understanding of UIA app/chrome app/edge/anaheim MS browser, chromium based, replaces Spartan in 2019 by Anaheim. NVDA access via IA2. ARIA p3 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

5 participants
@seanbudd @SaschaCowley @gerald-hartig @YanaLaurynovichTR and others