Skip to content

Name the Packages pane Help button by its action, not its URL - #19519

Merged
gtritchie merged 3 commits into
mainfrom
bugfix/packages-help-accessible-name
Nov 8, 2026
Merged

gtritchie merged 3 commits into
mainfrom
bugfix/packages-help-accessible-name

Conversation

@gtritchie

@gtritchie gtritchie commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

The Help button on each row of the Packages pane used the package's documentation URL as both its image alt text and its tooltip, so screen readers announced the URL instead of what the button does.

  • The Help button's alt text now names the package, e.g. "Open dplyr website", translated in English and French. The tooltip is still the URL.
  • ImageButtonColumn gains a constructor that takes separate alt text and tooltip providers. The existing constructors use one string for both, so the other image button columns (Browse, Remove, and the Connections pane's Explore) are unchanged.

Tests: a GWT unit test checks that the alt text and tooltip can differ and that the single-string constructor still uses one value for both. A Playwright test checks that the DBI row's Help button is named "Open DBI website" and that its tooltip is a URL. It fails on the previous code and passes with this change in test:server-dev. Also checked manually with VoiceOver in Chrome on macOS.

Fixes #19471.

The Help button's alt text and tooltip were the package's website URL,
so screen readers read out the URL. They now say "Open <pkg> website".

Addresses #19471
ImageButtonColumn used one string for both the image's alt text and the
tooltip. It can now take a separate tooltip, so the Help button's alt
text stays "Open <pkg> website" while its tooltip goes back to the URL.

Addresses #19471
Accept any matching Help button row, since DBI can appear in more than
one library; check the single-title constructor's tooltip; and note
that its title doubles as the alt text.

Addresses #19471
@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown

RStudio E2E - all platforms

All tests passed!

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

Passed Failed Skipped Flaky
5232 0 238 0
Platform ✅ Passed ❌ Failed ⚠️ Skipped 🔁 Flaky
✅ auth-teardown 4 0 16 0
✅ desktop-linux 1309 0 45 0
✅ desktop-macos 1315 0 40 0
✅ desktop-windows 1307 0 53 0
✅ server-linux 1249 0 52 0
✅ setup 48 0 32 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 3a45d186d57ea2e7c4ee00ef80c299b60ff04f0a - Run #2089

@gtritchie
gtritchie merged commit 0808d33 into main Nov 8, 2026
45 checks passed
@gtritchie
gtritchie deleted the bugfix/packages-help-accessible-name branch November 8, 2026 21:27
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.

Packages pane Help button's accessible name is the raw documentation URL

1 participant