Skip to content

fix(ui-select): fix screen reader labels on multiple select#2616

Open
git-nandor wants to merge 1 commit into
masterfrom
INSTUI-5076_fix_multiple_select_screen_reader_label
Open

fix(ui-select): fix screen reader labels on multiple select#2616
git-nandor wants to merge 1 commit into
masterfrom
INSTUI-5076_fix_multiple_select_screen_reader_label

Conversation

@git-nandor

Copy link
Copy Markdown
Contributor

INSTUI-5076

Summary

When a Select renders selected options as dismissible Tag pills their "Remove …" labels always announced.

Changes

The combobox now gets an aria-labelledby pointing at a dedicated hidden element that mirrors only the field label.
Since aria-labelledby overrides the wrapping- name computation, the pills are excluded from the combobox name — while each pill keeps its own "Remove …" name, so it is still announced when focused directly.

Test plan

Uses the "Highlighting and selecting options" multiple-select example on the Select v2 docs page.

  • Tab to the Select → announces "Multiple Select, Alaska Selected, …", not announces "Remove …".
  • Navigate onto a pill → announces "Remove Alaska"

Co-Authored-By: 🤖 Claude

@git-nandor git-nandor self-assigned this Jul 1, 2026
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://instructure.design/pr-preview/pr-2616/

Built to branch gh-pages at 2026-07-01 07:02 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

Visual regression report

No changes.

Status Count
Unchanged 32
Changed 0
New 0
Removed 0

📊 View full report

Baselines come from the visual-baselines branch. They refresh on every merge to master.

github-actions Bot pushed a commit that referenced this pull request Jul 1, 2026
@git-nandor git-nandor marked this pull request as ready for review July 1, 2026 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant