Issue metadata
Sign in to add a comment
|
[Orca] Search bar list items should emit accessible name-change events |
||||||||||||||||||||||
Issue descriptionSteps to reproduce: 1. Launch the attached accessible-event listener in a terminal 2. Launch Chromium with accessibility support enabled 3. Give focus to the search/address bar. 4. Type a letter (e.g. "a") 5. Backspace 6. Type a different letter (e.g. "b") Repeat steps 4 through 6 advancing through the alphabet. Expected results: 1. The output would be the same before and after the cache clear and contain the item selected on screen. 2. "Name changed" events would appear each time the displayed list item changed as a result of a different letter being typed. Actual results (with the exception of the initial performance of step 4): 1. The output before the cache clear contains what is no longer visible. 2. No "Name changed" events appear. Sample output: =============== Name before clearing cache: a search Name after clearing cache: a search Name before clearing cache: a search Name after clearing cache: b search Name before clearing cache: b search Name after clearing cache: c search Name before clearing cache: c search Name after clearing cache: d search Name before clearing cache: d search Name after clearing cache: e search Name before clearing cache: e search Name after clearing cache: f search =============== Impact: If Orca doesn't clear the cache, it will present the wrong item to the end user. While Orca can do this, it would be better if name-changed events were emitted by Chromium whenever the accessible name of an item changes. AT-SPI2 pays attention to name-change events and updates its cache when the name changes.
,
Oct 19
Hi joanmarie.diggs@, thanks for the report. Does this seem limited to the search box in Chrome/Chromium or are there other controls we should look at? Tentatively assigning Omnibox component and taking it - Notes for later: if it's limited to omnibox we might be able to get the a11y node data here before setting it, and update+send an onchange if needed. https://codesearch.chromium.org/chromium/src/chrome/browser/ui/views/omnibox/omnibox_result_view.cc?l=342&rcl=73c3bd8bd89cda7ae0d8692baef93cb98792bace However I'm not sure if other controls have this issue; if so, we'd probably want to look at a higher level.
,
Oct 22
Marking as untriaged so it'll get picked up in the normal process.
,
Oct 24
joanmarie.diggs: Can you respond to the question in Comment 2 when you get a chance?
,
Oct 24
Hi jdonnelly. I'm at TPAC, but the short answer is that I don't know if it's limited to the search box or not. Taking a look is already on my todo list.
,
Oct 25
+cc aleventhal, who was suggested was a local expert for omnibox accessibility :) here's a tentative cl: https://chromium-review.googlesource.com/c/chromium/src/+/1298511 hasn't been tested yet though... I do have a linux machine and hope to tomorrow; or anyone can run with that CL if you want though since I'm headed OOO for a few days and this is currently p3. The internal event id was pulled from another component that changes its accessible name and fires an event. It results in We currently don't have anything in the codebase that sends an object:property-change:accessible-name directly, to my knowledge. On Windows that will get translated as EVENT_OBJECT_NAMECHANGE. On Linux, I'm not sure, apologies, but can check.
,
Jan 11
This issue has an owner, a component and a priority, but is still listed as untriaged or unconfirmed. By definition, this bug is triaged. Changing status to "assigned". Please reach out to me if you disagree with how I've done this. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by joanmari...@gmail.com
, Oct 18Labels: -Pri-3 Pri-2
1.1 KB
1.1 KB View Download