Skip to content

a11y: title-bar menu titles and context menu items appear twice in the semantics tree #1815

Closed

Description

@ZhuchkaTriplesix

Problem

A semantics snapshot of the running app (debug, dev at 7cae35c) lists every title-bar menu title twice with the same bounds: File, File, Edit, Edit, View, View, Connection, Connection, Help, Help. The grid's context menu does the same for each item (Copy Value, Copy Value, Copy with Headers, Copy with Headers, …).

A screen reader reads each of them twice, and keyboard / switch navigation stops on each one twice.

Likely cause

The menu item widget adds its own Semantics(button: true, label: …) around a child that already exposes the same label (a MenuItemButton / InkWell with text). One of the two should be excluded (ExcludeSemantics on the inner one, or no outer node).

Where

QueryaMenuBar (title bar) and the kit's menu surface / QueryaMenuItem used by showQueryaContextMenuBuilder.

Acceptance

  • Each menu title and menu item is one semantics node with its label (and shortcut).
  • A test counts the semantics nodes of the title bar and of an open context menu.

Activity

  1. added
    bugSomething isn't working
    accessibilityReduced motion, OS accessibility preferences
    uiUser interface components and widgets
    P3Low priority / Polish & Enhancements
    on Oct 25, 2026
  2. added a commit that references this issue on Oct 25, 2026
  3. ZhuchkaTriplesix commented on Oct 25, 2026

    @ZhuchkaTriplesix
    MemberAuthor

    #1831 counts the semantics nodes of a menu bar and of an open context menu: each title and item is one node. The menus are stock Material and merge their semantics, so the doubling came from the snapshot tool, not the app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low priority / Polish & EnhancementsaccessibilityReduced motion, OS accessibility preferencesbugSomething isn't workinguiUser interface components and widgets

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions