Closed Bug 1735953 Opened 4 months ago Closed 3 months ago

Temporary hacks to get NVDA virtual buffers rendering from the cache

Categories

(Core :: Disability Access APIs, task)

Desktop
Windows
task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: Jamie, Assigned: Jamie)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

NVDA currently won't render a buffer with the cache enabled because:

  1. IAccessible2::states returns an error, so NVDA assumes our Accessibles are defunct.
  2. IAccessible::accState on documents doesn't return the read-only state, so NVDA doesn't treat them as browseable documents.

This will get solved properly by state caching. It'd be useful to be able to test NVDA buffers in the interim, which we can do by landing some very simple hacks to be removed once state caching is done.

  1. Don't return an error from IAccessible2::states. Otherwise, NVDA assumes the Accessible is defunct.
  2. Return STATE_SYSTEM_READONLY for all documents in IAccessible::get_accState. Otherwise, NVDA doesn't treat the document as browseable.
Pushed by jteh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dad723b8fd70
Temporary a11y state hacks to get NVDA to render virtual buffers for cached documents. r=morgan
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.