You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Autocomplete popups not announced by screen readers #6167
RStudio Edition : Desktop or Server
RStudio Version : 1.3.815
OS Version : Any
R Version : Any
Steps to reproduce the problem
with a screen reader running and screen-reader mode enabled, type "ca" in console, or "ca" in an R script in editor, and hit Tab key to invoke autocomplete
use arrow keys to move up and down through options
Describe the problem in detail
on Safari/VoiceOver on Mac, nothing is said, on Chrome/NVDA on Windows, "ca" is read over and over as you move around the autocomplete list
Describe the behavior you expected
autocomplete is usable via a screen reader
Other potentially similar scenarios to investigate/fix
the section navigation control popup, activate via the Code / Jump To... command doesn't work with screen reader
This should likely be fixed together with #6168 (console history popup). Both popups render through the same CompletionList class (src/gwt/src/org/rstudio/studio/client/workbench/views/console/shell/assist/): Tab completion via CompletionPopupPanel, history via CompletionListPopupPanel. Neither sets any ARIA, so adding the combobox/listbox pattern to CompletionList would likely cover both.
Follow-up: completion in the editor goes through one of two popups, depending on the file type (useAceLanguageTools in EditorLanguage.java):
R, R Markdown, Sweave, R HTML, C/C++, SQL, Stan, Python, and YAML (plus the console) use RStudio's CompletionPopupPanel / CompletionList, which sets no ARIA. This is the part shared with Console history popup not announced by screen reader #6168.
JavaScript, HTML, CSS/SCSS/Sass/Less, TOML, Mermaid, and most other Ace-mode file types use Ace's built-in popup (ext-language_tools), which already has ARIA from Autocomplete accessibility features ajaxorg/ace#5008 (listbox/option, or menu/menuitem on Safari).
So a CompletionList fix would cover the first group but not the second. The second group may need separate testing, and could be what the earlier VoiceOver observation was describing.
Activity
jmcphers commentedon Feb 26, 2020
New feature; not for 1.3.
gtritchie commentedon Aug 18, 2020
Moving to 1.5; too risky to make these changes at this stage (involves changes to Ace).
gtritchie commentedon Feb 3, 2021
If we get in one screen reader fix for 1.5 (beyond moving to Electron), this would be the highest impact so leaving in 1.5.
24 remaining items
gtritchie commentedon Oct 29, 2026
This should likely be fixed together with #6168 (console history popup). Both popups render through the same
CompletionListclass (src/gwt/src/org/rstudio/studio/client/workbench/views/console/shell/assist/): Tab completion viaCompletionPopupPanel, history viaCompletionListPopupPanel. Neither sets any ARIA, so adding the combobox/listbox pattern toCompletionListwould likely cover both.gtritchie commentedon Oct 29, 2026
Follow-up: completion in the editor goes through one of two popups, depending on the file type (
useAceLanguageToolsinEditorLanguage.java):CompletionPopupPanel/CompletionList, which sets no ARIA. This is the part shared with Console history popup not announced by screen reader #6168.ext-language_tools), which already has ARIA from Autocomplete accessibility features ajaxorg/ace#5008 (listbox/option, ormenu/menuitemon Safari).So a
CompletionListfix would cover the first group but not the second. The second group may need separate testing, and could be what the earlier VoiceOver observation was describing.Keep the #6167 and #6168 NEWS entries last in Fixed
Announce completion and history popup selections to screen readers (#…