Open Bug 1633154 Opened 2 years ago Updated 6 months ago

Accessible event floods from certain sites make Orca extremely sluggish

Categories

(Core :: Disability Access APIs, enhancement, P3)

Unspecified
Linux
enhancement

Tracking

()

People

(Reporter: jdiggs, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file event-spew.py

Steps to reproduce:

  1. View https://www.vesternet.com/collections/starter/products/samsung-smartthings-hub-v3
  2. Launch the attached accessible-event listener in a terminal
  3. Do nothing else.

Expected results: There would not be 1000s of accessibility events per second.

Actual results: There are 1000s of accessibility events per second.

Example output from the listener:

[...]
EVENT #1898: 09:26:29.999127 - [ section | ] object:text-changed:insert:system
EVENT #1899: 09:26:30.030506 - [ section | ] object:children-changed:remove:system [ unknown | £176.99]
EVENT #1900: 09:26:30.030655 - [ section | ] object:text-changed:delete:system
EVENT #1901: 09:26:30.030745 - [ list item | This item: Samsung SmartThings...] object:children-changed:remove:system [ unknown | £79.00]
EVENT #1902: 09:26:30.030827 - [ list item | This item: Samsung SmartThings...] object:text-changed:delete:system
EVENT #1903: 09:26:30.030894 - [ list item | Z-Wave Fibaro Double Switch 2 ...] object:children-changed:remove:system [ unknown | £49.00]
EVENT #1904: 09:26:30.031000 - [ list item | Z-Wave Fibaro Double Switch 2 ...] object:text-changed:delete:system
EVENT #1905: 09:26:30.031074 - [ list item | Z-Wave Fibaro Universal Dimmer...] object:children-changed:remove:system [ unknown | £49.00]
EVENT #1906: 09:26:30.031148 - [ list item | Z-Wave Fibaro Universal Dimmer...] object:text-changed:delete:system
EVENT #1907: 09:26:30.031226 - [ section | ] object:children-changed:remove:system [ unknown | £49.00]
[...]
EVENT #4041: 09:26:30.998548 - [ section | ] object:children-changed:add:system [ unknown | £55.00]
EVENT #4042: 09:26:30.998930 - [ section | ] object:text-changed:insert:system
EVENT #4043: 09:26:30.999042 - [ section | ] object:children-changed:add:system [ unknown | £115.00]
EVENT #4044: 09:26:30.999585 - [ section | ] object:text-changed:insert:system
EVENT #4045: 09:26:30.999640 - [ section | ] object:children-changed:add:system [ unknown | £76.00]
EVENT #4046: 09:26:31.000130 - [ section | ] object:text-changed:insert:system
EVENT #4047: 09:26:31.000209 - [ section | ] object:children-changed:add:system [ unknown | £91.00]
[...]

This flood doesn't appear to be just an initial thing. It just keeps spewing.

I'm sure this is a side effect of some authoring, ahem, technique. But it would be great if Gecko could detect this condition and stop flooding Orca with accessibility events. Thanks in advance!

Severity: -- → normal
Priority: -- → P3
Type: defect → task
Type: task → enhancement
You need to log in before you can comment on or make changes to this bug.