Skip to content

[Accessibility] DataGridViewTextBoxCell in non-edit mode doesn't support Text pattern #3909

@vladimir-krestov

Description

@vladimir-krestov

Text pattern area. Related PR: #3866

  • .NET Core Version: 5.0.0-rc.1.20431.5

  • Have you experienced this same bug with .NET Framework?: Yes (Text pattern is not implemented there)

Problem description:

  • DataGridViewTextBoxCell in non-edit mode (just focused) has "UIA_EditControlTypeId" as a control type. And Accessibility Insights requires the cell should support Text pattern. But the cell doesn't support the pattern in non-edit mode.

image

Expected behavior:

  • DataGridViewTextBoxCell should meet the MAS requirements.
    Possible ways:
    1. try to implement Text pattern for DataGridViewTextBoxCell in non-edit mode. But needs to decide how it should work. We can orientate to Excel
    2. change ControlType value to another, eg. DataItem control type. But needs to rework other cells

Minimal repro:

  • Create a .Net 5.0 app and add DataGridVew with DGVTextBoxCell to the app
  • Run the app and check the cell using AccessibilityInsights or Inspect

Metadata

Metadata

Assignees

No one assigned

    Labels

    tenet-accessibilityMAS violation, UIA issue; problems with accessibility standards

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions