Repository navigation
Name the Packages pane Help button by its action, not its URL - #19519
Merged
Merged
Conversation
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
RStudio E2E - all platformsAll tests passed!
View / download the full reportView report online -- opens in the browser, no download needed. Available for 14 days. Download playwright-report.zip -- extract and open
All platforms - commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Help button on each row of the Packages pane used the package's documentation URL as both its image
alttext and its tooltip, so screen readers announced the URL instead of what the button does.ImageButtonColumngains 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.