Ticket #236 (new defect)

Opened 3 years ago

Last modified 3 years ago

NVDAObjects should have a way to convey extended/custom states to the user.

Reported by: mdcurran Owned by:
Priority: minor Milestone:
Component: Core Version:
Keywords: Cc:
Operating system: Blocked by:
Blocking:

Description

APIs such as IAccessible2 and UI Automation may have custom states on their objects. Examples of this could be a contact in an instant messaging program, with a custom state of away' or 'online' etc.
NVDAObjects should contain a customStates property which is a list of strings which are the current custom states.

  • IAccessible2: use localizedExtendedStates, or extendedStates.
  • UIAutomation: use itemState

Change History

comment:1 Changed 3 years ago by mdcurran

customStates should be a dictionary, where the keys are the non-localized custom states, and the values are localized states. I.E. for programmatic use you use the keys, for speech and braille you use the values.

Note: See TracTickets for help on using tickets.