No announcement when a focused UIA menu item becomes enabled

Open
#21,115 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
accessibility

Research direction

Read source/controlTypes/processAndLabelStates.py, especially _processNegativeStates, to understand how NVDA speaks state changes. Trace how a focused UIA menu item's IsEnabled change reaches state processing; the issue reports a queued event but does not identify the full event-to-speech path. Done means the focused item gets an audible indication when it becomes enabled, with the intended wording and control type scope clarified.

Written by the indexing model from the issue text.

Description

p4 triaged
Summary

NVDA announces “unavailable” when a focused menu item becomes disabled, but is silent when the same item becomes enabled again while focus remains on it. This was observed with a Windows UI Automation (UIA) menu item. The user cannot tell from automatic speech that the item is available again.

Scenario
  1. Focus a menu item that can remain focused while its enabled state changes.
  2. Change it from enabled to disabled and emit a UIA IsEnabled property-change event. NVDA announces “unavailable”.
  3. Change it back from disabled to enabled, keeping focus on the same item, and emit another IsEnabled property-change event.
  4. Listen for automatic speech, then use NVDA+Tab to query the focused item.

These steps describe the behavior observed with a locally built Qt test application. The test application is not available here, so this is not a standalone downloadable reproduction.

Actual behavior

In the local test, the user heard “unavailable” when the item became disabled. When it became enabled, there was no automatic speech; NVDA+Tab reflected the new state. In a debug run, NVDA received the UIA IsEnabled change to true and queued a state-change event for the focused menu item.

Expected behavior and question

The user should receive an audible indication that the focused item has become available. Would NVDA prefer announcing a translated “available” state, or rereading the focused item's name and role? Guidance on the intended behavior and its scope across control types would be appreciated.

Investigation and limitations

In NVDA 2026.3, _processNegativeStates in processAndLabelStates.py does not include State.UNAVAILABLE among negative state changes to speak. A separate local probe executing the extracted state-processing functions showed this for menu-item and checkbox roles. The checkbox was not independently tested as a live control, and no NVDA fix has been tested. This is a possible explanation rather than proof of the complete event-to-speech path.

The local Qt test included a proposed Windows UIA provider change to emit the missing property-change event: Qt change 786913, QTBUG-152113.

  • NVDA: 2026.3.
  • Windows: Windows 10 Pro (version 2009 as reported by the system).
  • Qt: 6.11.2, local build with the proposed UIA provider change; the local lib_ui build included other changes.
  • Other NVDA versions and operation with add-ons disabled were not tested.
  • The observation does not establish whether the Qt event omission is a regression.
Dominant language
Python
Stars
2.7k
Forks
842
Avg merge
2d 4h
Merged PRs (30d)
56

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nvaccess/nvda

All issues in nvaccess/nvda

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.