[Windows+NVDA][Ubuntu+ORCA] The search field is not mentioned by NVDA and ORCA when presenting the page
Categories
(Firefox :: Keyboard Navigation, defect, P3)
Tracking
()
| Accessibility Severity | s3 |
People
(Reporter: danibodea, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Note
- The keyboard Shortcuts search field is not properly presented by NVDA and ORCA when reading the page automatically.
- This issue does not occur for VoiceOver (MacOS).
Found in
- Nightly v154.0a1
Affected versions
- Nightly v154.0a1
Tested platforms
- Affected platforms: Windows 10+NVDA, Ubuntu 24+ORCA
- Unaffected platforms: MacOS 14
Steps to reproduce
- Enable NVDA/ORCA
- Load about:keyboard
Expected result
- NVDA/ORCA present the page correctly by also mentioning the search field.
Actual result
- NVDA/ORCA does not mention the search field.
Regression range
- is not a regression on Ubuntu, but it is a regression on Windows.
Additional information:
- Please note: the search field is properly presented when focused using keyboard navigation (ORCA:"Search shortcuts entry, focus mode"), however, the search field in not mentioned when the screen reader presents the page, element by element.
| Reporter | ||
Updated•4 months ago
|
| Reporter | ||
Comment 1•4 months ago
|
||
After some more investigation we've noticed that this is not a regression on Ubuntu, but it is a regression on Windows. I also understand that this small detail (ensuring screen readers present the whole page correctly) was omited from the original implementation.
NVDA presents the page and when it reaches the search field:
Beta153, before improvements: "clickable search, edit has autocomplete"
Nigh154, after improvements: "edit hs autocomplete" (and nothing else)
ORCA presents the page and when it reaches the search field:
Beta153, before improvements: does not mention the search field at all
Nigh154, after improvements: does not mention the search field at all
Even if all bugs block the meta bug 2000731 (customkeys), this will be considered as a regression of the new implementation (bug 2041506).
Comment 2•4 months ago
|
||
(In reply to Daniel Bodea [:danibodea] from comment #1)
NVDA presents the page and when it reaches the search field:
...
Nigh154, after improvements: "edit hs autocomplete" (and nothing else)
This is curious. On my machine, I'm hearing:
"Search shortcuts edit has auto complete"
If you use the up and down arrow keys to move to the search field, does it read as expected? I wonder if NVDA is reading the page just before it gets localised on your system, so the label is missing when NVDA gets to it.
Comment 3•4 months ago
|
||
Marking access-s3 for now as it seems this may be intermittent or dependent on a fluent issue. Please adjust as necessary :) thank you
| Reporter | ||
Comment 4•4 months ago
|
||
(In reply to James Teh [:Jamie] from comment #2)
(In reply to Daniel Bodea [:danibodea] from comment #1)
NVDA presents the page and when it reaches the search field:
...
Nigh154, after improvements: "edit hs autocomplete" (and nothing else)This is curious. On my machine, I'm hearing:
"Search shortcuts edit has auto complete"
If you use the up and down arrow keys to move to the search field, does it read as expected? I wonder if NVDA is reading the page just before it gets localised on your system, so the label is missing when NVDA gets to it.
As explained in the additional information section of comment 0, this is not an issue when manually navigating the page (using TAB or ARROW keys), but it is an issue when the Screen Reader automatically reads the whole page to present it (Ex. after reloading the page).
Comment 5•4 months ago
|
||
Ah, I wasn't quite sure whether your comment there, which mentioned only "keyboard navigation", was regarding tab or the arrow keys. The behaviour for those is slightly different.
Even so, I can't reproduce this when NVDA reads the entire page. So this must be a timing issue, but I don't really know what we can do about it.
Comment 6•4 months ago
|
||
The severity field is not set for this bug.
:dao, could you have a look please?
For more information, please visit BugBot documentation.
| Reporter | ||
Comment 7•4 months ago
|
||
I can still reproduce this issue in Windows 10 (NVDA), Windows 11 (NVDA) and Ubuntu 24 (ORCA).
Steps: Enable Screen Reader, launch browser and load about:keyboard;
Expected: Search shortcuts input box is properly presented automatically.
Actual: Search shortcuts input box is not verbalised correctly automatically.
Correction: This issue also occurs when navigating using the Up/Down Arrow keys, but it does NOT reproduce when using TAB key.
It is unclear why it would only reproduce on my systems.
Comment 8•4 months ago
|
||
(In reply to Daniel Bodea [:danibodea] from comment #7)
Correction: This issue also occurs when navigating using the Up/Down Arrow keys
That's definitely more concerning. If it only occurred when auto reading the entire document when it first loads, I could live with that as an unfortunate timing issue, But if you're also seeing it with arrow keys, something else is going on here.
So when you load about:keyboard with NVDA running and you use the down arrow key to read through the document, you don't hear anything about the search box? Could you please, with NVDA:
- NVDA menu -> Preferences -> Settings -> Privacy -> Logging level: input/output.
- Open about:keyboard, press control+home, press down arrow 5 times slowly.
- NVDA menu -> Tools -> View log.
- Look for the text "heading level 1". Copy and paste the log from that point.
Here's what I get. Ignore the beep stuff in my log; you won't see that in yours.
IO - inputCore.InputManager.executeGesture (08:35:19.625) - winInputHook (23932):
Input: kb(desktop):control+home
IO - speech.speech.speak (08:35:19.628) - MainThread (18196):
Speaking ['heading', 'level 1', BeepCommand(220, 40, left=50, right=50), 'Keyboard Shortcuts']
IO - inputCore.InputManager.executeGesture (08:35:20.492) - winInputHook (23932):
Input: kb(desktop):downArrow
IO - speech.speech.speak (08:35:20.496) - MainThread (18196):
Speaking ['Control how you move around and interact with Nightly. ', 'link', 'Learn more']
IO - inputCore.InputManager.executeGesture (08:35:21.836) - winInputHook (23932):
Input: kb(desktop):downArrow
IO - speech.speech.speak (08:35:21.840) - MainThread (18196):
Speaking [BeepCommand(226.44649206156825, 40, left=50, right=50), 'blank']
IO - inputCore.InputManager.executeGesture (08:35:22.635) - winInputHook (23932):
Input: kb(desktop):downArrow
IO - speech.speech.speak (08:35:22.638) - MainThread (18196):
Speaking ['Search shortcuts', 'edit', 'has auto complete']
IO - inputCore.InputManager.executeGesture (08:35:23.371) - winInputHook (23932):
Input: kb(desktop):downArrow
IO - speech.speech.speak (08:35:23.374) - MainThread (18196):
Speaking ['button', BeepCommand(220, 40, left=50, right=50), 'Restore defaults']
| Reporter | ||
Comment 9•4 months ago
|
||
(In reply to James Teh [:Jamie] from comment #8)
So when you load about:keyboard with NVDA running and you use the down arrow key to read through the document, you don't hear anything about the search box? Could you please, with NVDA:
Windows 10: NVDA does not mention anything about a search box; moving from the page description and "Learn more" link to the next element, NVDA verbalizes: "Edit has autocomplete", then it moves to the Restore defaults" button.
Windows 11: NVDA does not mention anything about a search box; moving from the page description and "Learn more" link to the next element, NVDA verbalizes: "clickable", after tapping DOWN again, NVDA verbalizes: "edit has autocomplete", then it moves to the "Restore defaults" button.
- NVDA menu -> Preferences -> Settings -> Privacy -> Logging level: input/output.
- Open about:keyboard, press control+home, press down arrow 5 times slowly.
- NVDA menu -> Tools -> View log.
- Look for the text "heading level 1". Copy and paste the log from that point.
NVDA logging on automatic page read:
Speaking [LangChangeCommand ('en_US'), 'Keyboard Shortcuts', 'busy', CancellableSpeech (still valid)]
IO - speech.speech.speak (16:18:08.346) - MainThread (22908):
Speaking [CallbackCommand(name=say-all:lineReached), LangChangeCommand ('en_US'), 'Sidebar', 'banner landmark', 'heading', 'level 1', 'Keyboard Shortcuts', CallbackCommand(name=say-all:lineReached)]
IO - speech.speech.speak (16:18:08.346) - MainThread (22908):
Speaking [LangChangeCommand ('en_US'), 'Control how you move around and interact with Firefox. ']
DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (16:18:11.644) - MainThread (22908):
accRole failed: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None))
IO - speech.speech.speak (16:18:21.721) - MainThread (22908):
Speaking [LangChangeCommand ('en_US'), 'link', 'Learn more', CallbackCommand(name=say-all:lineReached)]
IO - speech.speech.speak (16:18:21.725) - MainThread (22908):
Speaking [LangChangeCommand ('en_US'), 'edit', 'has auto complete', CallbackCommand(name=say-all:lineReached)]
IO - speech.speech.speak (16:18:21.735) - MainThread (22908):
Speaking [LangChangeCommand ('en_US'), 'clickable', 'button', 'Restore defaults', CallbackCommand(name=say-all:lineReached)]
IO - speech.speech.speak (16:18:21.739) - MainThread (22908):
Speaking [LangChangeCommand ('en_US'), 'main landmark', 'clickable', 'button', 'expanded', 'heading', 'level 2', 'File', CallbackCommand(name=say-all:lineReached)]
NVDA logging while navigating with DOWN Arrow key:
Input: kb(laptop):control+home
IO - speech.speech.speak (16:18:34.309) - MainThread (22908):
Speaking [LangChangeCommand ('en_US'), 'Sidebar', 'banner landmark', 'heading', 'level 1', 'Keyboard Shortcuts']
IO - inputCore.InputManager.executeGesture (16:18:44.243) - winInputHook (7844):
Input: kb(laptop):downArrow
IO - speech.speech.speak (16:18:44.246) - MainThread (22908):
Speaking [LangChangeCommand ('en_US'), 'Control how you move around and interact with Firefox. ', 'link', 'Learn more']
IO - inputCore.InputManager.executeGesture (16:18:54.115) - winInputHook (7844):
Input: kb(laptop):downArrow
IO - speech.speech.speak (16:18:54.118) - MainThread (22908):
Speaking [LangChangeCommand ('en_US'), 'edit', 'has auto complete']
IO - inputCore.InputManager.executeGesture (16:19:02.803) - winInputHook (7844):
Input: kb(laptop):downArrow
IO - speech.speech.speak (16:19:02.803) - MainThread (22908):
Speaking [LangChangeCommand ('en_US'), 'clickable', 'button', 'Restore defaults']
IO - inputCore.InputManager.executeGesture (16:19:09.099) - winInputHook (7844):
Input: kb(laptop):downArrow
IO - speech.speech.speak (16:19:09.101) - MainThread (22908):
Speaking [LangChangeCommand ('en_US'), 'main landmark', 'clickable', 'button', 'expanded', 'heading', 'level 2', 'File']
Comment 10•4 months ago
|
||
Thank you. This is bizarre. :)
Could you please:
- Right click the search box.
- Choose "Inspect" from the context menu.
- Right click on the selected node in the Inspector tree, then choose Copy -> Outer HTML. You should get something like this:
<input id="input" type="search" aria-describedby="description" class="with-icon" name="" placeholder="Search shortcuts" aria-label="Search shortcuts"> - Paste that output here.
Thanks for your patience.
Comment 11•4 months ago
|
||
I also just tested this with a clean profile in Nightly and still couldn't reproduce it. 😕
| Reporter | ||
Comment 12•3 months ago
|
||
Yes, I can see the same code in all operating sistems:
<input id="input" type="search" aria-describedby="description" class="with-icon" name="" placeholder="Search shortcuts" aria-label="Search shortcuts">
Feel free to request more information.
Comment 13•3 months ago
|
||
If you press NVDA+f5 (e.g. insert+f5), then navigate the page again with the arrow keys, does the problem resolve? This is not what we'd expect a user to do, just trying to diagnose this.
Also, when you down arrow to the search box and it doesn't report a label, can you press NVDA+f1 and provide the log information that displays? You should see "Developer info for navigator object:", followed by a bunch of info.
| Reporter | ||
Comment 14•3 months ago
|
||
The issue still occurs after pressing NVDA+F5, then navigate using down arrow key to the Search box (NVDA says: "edit has autocomplete" in Win10).
I hope I am providing the correct information:
Developer info for navigator object:
name: 'Search shortcuts'
role: EDITABLETEXT
processID: 2932
roleText: None
states: FOCUSABLE, AUTOCOMPLETE, EDITABLE
isFocusable: True
hasFocus: False
Python object: <NVDAObjects.Dynamic_EditableTextWithAutoSelectDetectionEditorMozillaIAccessible object at 0x07848F50>
Python class mro: (<class 'NVDAObjects.Dynamic_EditableTextWithAutoSelectDetectionEditorMozillaIAccessible'>, <class 'NVDAObjects.behaviors.EditableTextWithAutoSelectDetection'>, <class 'NVDAObjects.behaviors.EditableText'>, <class 'NVDAObjects.behaviors.EditableTextWithSuggestions'>, <class 'NVDAObjects.behaviors.InputFieldWithSuggestions'>, <class 'NVDAObjects.behaviors.EditableTextBase'>, <class 'editableText.EditableText'>, <class 'NVDAObjects.IAccessible.ia2Web.Editor'>, <class 'NVDAObjects.IAccessible.mozilla.Mozilla'>, <class 'NVDAObjects.IAccessible.ia2Web.Ia2Web'>, <class 'NVDAObjects.IAccessible.IAccessible'>, <class 'NVDAObjects.window.Window'>, <class 'NVDAObjects.NVDAObject'>, <class 'documentBase.DocumentWithTableNavigation'>, <class 'documentBase.TextContainerObject'>, <class 'baseObject.ScriptableObject'>, <class 'baseObject.AutoPropertyObject'>, <class 'garbageHandler.TrackedObject'>, <class 'object'>)
description: ''
location: RectLTWH(left=2659, top=242, width=272, height=32)
value: None
TextInfo: <class 'NVDAObjects.IAccessible.ia2TextMozilla.MozillaCompoundTextInfo'>
appModule: AppModule(appModuleHandler, appName='firefox', processID=2932)
appModule.productName: 'Firefox Nightly'
appModule.productVersion: '155.0a1'
appModule.helperLocalBindingHandle: c_long(93519880)
appModule.appArchitecture: 'AMD64'
windowHandle: 264114
windowClassName: 'MozillaWindowClass'
windowControlID: 0
windowStyle: 399441920
extendedWindowStyle: 256
windowThreadID: 1500
windowText: 'Keyboard Shortcuts — Firefox Nightly'
displayText: ''
IAccessibleObject: <POINTER(IAccessible2) ptr=0x5865364 at 7d3f9e0>
IAccessibleChildID: 0
IAccessible event parameters: windowHandle=264114, objectID=-4, childID=-301
IAccessible accName: 'Search shortcuts'
IAccessible accRole: ROLE_SYSTEM_TEXT
IAccessible accState: STATE_SYSTEM_FOCUSABLE, STATE_SYSTEM_VALID (1048576)
IAccessible accDescription: ''
IAccessible accValue: None
IAccessible2 windowHandle: 264114
IAccessible2 uniqueID: -301
IAccessible2 role: ROLE_SYSTEM_TEXT
IAccessible2 states: IA2_STATE_SELECTABLE_TEXT, IA2_STATE_OPAQUE, IA2_STATE_EDITABLE, IA2_STATE_SUPPORTS_AUTOCOMPLETION, IA2_STATE_SINGLE_LINE (46088)
IAccessible2 attributes: 'display:inline-block;tag:input;explicit-name:true;id:input;text-input-type:search;text-model:a1;class:with-icon;'
IAccessible2 relations: labelledBy * 1, describedBy * 1, containingTabPane * 1
Comment 15•3 months ago
|
||
Thanks; that was the correct information. Please:
- Move to the search box with the arrow keys.
- Press NVDA+control+z.
- Paste the following, then press enter:
import IAccessibleHandler as iah; r = nav.IAccessibleObject.QueryInterface(iah.IA2.IAccessible2_2).relationTargetsOfType("labelledBy", 1)[0][0]; r.QueryInterface(iah.IA2.IAccessible2).attributes, r.QueryInterface(iah.IA2.IAccessibleText).text(0, -1) - Provide the output here.
Thank you for your perseverance.
| Reporter | ||
Comment 16•3 months ago
|
||
Here it is:
import IAccessibleHandler as iah; r = nav.IAccessibleObject.QueryInterface(iah.IA2.IAccessible2_2).relationTargetsOfType("labelledBy", 1)[0][0]; r.QueryInterface(iah.IA2.IAccessible2).attributes, r.QueryInterface(iah.IA2.IAccessibleText).text(0, -1)
('display:block;tag:label;id:label;', None)
Comment 17•3 months ago
|
||
Thanks.
I think I have finally managed to track this down. It looks like this was a very recent fix in NVDA and thus hasn't made it into an official release yet. Can you please try NVDA 2026.2beta10 and let me know if the problem is fixed there? You can just run the temporary copy; it's not necessary to install it if you don't want to.
Updated•3 months ago
|
| Reporter | ||
Comment 18•3 months ago
|
||
Yes, that's right. The issue no longer occurs in Windows 10 and 11 with the unreleased NVDA 2026.2beta10.
The Search box is properly presented as "Search shortcuts, edit has autocomplete", but there's an extra element presented only as "clickable" on tapping the Down Arrow key between the page description string + SUMO link and the Search shortcuts search box. This appears to be a sepparate issue.
No changes on Ubuntu. Issue still occurs.
Updated•3 months ago
|
Description
•