Skip to content

Add Accessibility Label Support to Toolkit Authenticator for UI Testing #1346

@douglaswsilva

Description

@douglaswsilva

Description

Our UI tests for the ArcGIS Flight sign-in flow require reliable accessibility identifiers/labels on the Toolkit Authenticator UI components. Currently, the Toolkit Authenticator does not expose accessibility labels for key elements (e.g., username field, password field, sign-in button, cancel button), making it difficult to target them in automated UI tests.

Problem

  • The authenticator’s views do not include stable accessibility labels or identifiers.
  • XCTest UI tests must rely on text or view hierarchy, which is brittle and may break with design or localization changes.

Requested Enhancement

Add accessibility labels/identifiers to all interactive elements inside the Toolkit Authenticator, including but not limited to:

  • Username text field
  • Password text field
  • Sign-in button
  • Cancel / Dismiss button
  • Any error or status messages presented during sign-in

Identifiers should be stable, human-readable, and appropriate for use in automated UI testing.

Benefits

  • Enables robust, deterministic sign-in UI tests across teams.
  • Improves accessibility compliance for users relying on VoiceOver.
  • Provides unified and testable behavior across apps that depend on the Toolkit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions