Skip to content

fix: exclude toolbox separators from accessibility tree - #10153

Merged
mikeharv merged 1 commit into
RaspberryPiFoundation:mainfrom
mikeharv:separators
Jul 17, 2026
Merged

fix: exclude toolbox separators from accessibility tree#10153
mikeharv merged 1 commit into
RaspberryPiFoundation:mainfrom
mikeharv:separators

Conversation

@mikeharv

Copy link
Copy Markdown
Contributor

The basics

The details

Resolves

Fixes #10150

Proposed Changes

  • Mark toolbox separators with role="none".
  • Remove their tabindex.

Reason for Changes

Screen readers counted visual separators as tree rows, producing incorrect announcements such as "7 of 8." Excluding separators from the accessibility tree makes category positions accurate.

Before:
image

After:
image

Test Coverage

Added tests asserting separators have role="none", no tabindex, and cannot receive focus.

Documentation

Additional Information

@mikeharv
mikeharv requested a review from a team as a code owner July 17, 2026 14:33
@mikeharv
mikeharv requested a review from lizschwab July 17, 2026 14:33
@github-actions github-actions Bot added the PR: fix Fixes a bug label Jul 17, 2026
@mikeharv
mikeharv merged commit 873c2f9 into RaspberryPiFoundation:main Jul 17, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Toolbox separators lead to inflated screenreader item counts

2 participants