Skip to content

Mark the Assistant toolbar separator as decorative - #19145

Merged
gtritchie merged 4 commits into
mainfrom
bugfix/19141-toolbar-separator-alt
Oct 16, 2026
Merged

gtritchie merged 4 commits into
mainfrom
bugfix/19141-toolbar-separator-alt

Conversation

@gtritchie

Copy link
Copy Markdown
Member

Addresses #19141.

The separator after the Posit Assistant button in the main toolbar was a plain <img> with no alt attribute, which axe reports as image-alt (WCAG 1.1.1, Level A). Toolbar.getSeparator(), its only source, now returns a DecorativeImage, which sets alt="" and aria-hidden="true".

The other toolbar separators use ToolbarSeparator, but that class's primary style name makes Toolbar's separator manager hide and show it. GlobalToolbar controls this separator's visibility itself, so it keeps the plain image style.

Checked against a dev server:

  • Before: one visible <img> without alt (the separator after the Assistant button), and image-alt reports one node.
  • After: no visible <img> without alt, and image-alt passes.
  • PW_A11Y=1 initial-state scan: image-alt is gone; the existing aria-prohibited-attr and aria-required-attr violations remain.

@gtritchie gtritchie added this to the 2026.11 (Montauk Daisy) milestone Oct 16, 2026
@gtritchie gtritchie self-assigned this Oct 16, 2026
@gtritchie
gtritchie merged commit 6346d3c into main Oct 16, 2026
0 of 4 checks passed
@gtritchie
gtritchie deleted the bugfix/19141-toolbar-separator-alt branch October 16, 2026 17:35
@github-actions

Copy link
Copy Markdown

RStudio E2E - all platforms

All tests passed!

#################### 100% pass rate

Passed Failed Skipped Flaky
3669 0 200 5
Platform ✅ Passed ❌ Failed ⚠️ Skipped 🔁 Flaky
✅ auth-teardown 2 0 10 0
✅ desktop-linux 919 0 42 2
✅ desktop-macos 926 0 37 1
✅ desktop-windows 922 0 47 0
✅ server-linux 872 0 44 2
✅ setup 28 0 20 0
View / download the full report

View report online -- opens in the browser, no download needed. Available for 14 days.

Download playwright-report.zip -- extract and open index.html

Includes screenshots, traces, and step-by-step details for every test. Expires in 15 days.


All platforms - commit f2baf818b6334d6b6eb79d4c8d1b6d0789ca28cd - Run #1499

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant