Skip to content

Consider dropping gui.accPropServer based GUI annotations in favour of wx.Accessible #12209

@LeonarddeR

Description

@LeonarddeR

Is your feature request related to a problem? Please describe.

To annotate dialogs (e.g. adding accessible descriptions, changing roles, checked/unchecked state of checkable list items), we use the gui.accPropServer module for a custom COM server implementation using comtypes. It took us several iterations to get this right and honestly, it feels slightly hacky to me.

Describe the solution you'd like

WX is now able to do this for us. The process is pretty straight forward:

  1. Subclass wx.Accessible
  2. Override the methods you need, e.g. GetDescription, GetRole
  3. Instanciate the accessible
  4. Set the accessible on the control using SetAccessible

Describe alternatives you've considered

Leave as is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions