Closed Bug 897032 Opened 11 years ago Closed 10 years ago

live region object attribute aren't exposed on hidden accessible

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: surkov, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(1 file, 1 obsolete file)

Already two AT vendors run into this problem. We need to fix it.
Assignee: nobody → yura.zenevich
Attached patch 897032 patch v1 (obsolete) — Splinter Review
This is a wip with failing tests.
Attachment #783909 - Flags: feedback?(surkov.alexander)
Attached patch 897032 patch v1Splinter Review
Attachment #783909 - Attachment is obsolete: true
Attachment #783909 - Flags: feedback?(surkov.alexander)
Attachment #783914 - Flags: feedback?(surkov.alexander)
which test and how it fails?
TEST-UNEXPECTED-FAIL | unknown test url | There is no expected attribute 'container-live'  for ['p@id="replace1" node', address: [object HTMLParagraphElement], role: text container, address: 0x115f30f50]
TEST-UNEXPECTED-FAIL | unknown test url | There is no expected attribute 'container-relevant'  for ['p@id="replace1" node', address: [object HTMLParagraphElement], role: text container, address: 0x115f30f50]
TEST-UNEXPECTED-FAIL | unknown test url | There is no expected attribute 'container-live'  for ['p@id="replace2" node', address: [object HTMLParagraphElement], role: text container, address: 0x115f30df0]
nothing evident, did you try to debug it?
Hi Alex,

So I did more investigation and here's what I found:

At the time of the hide event actually being fired, a document object is no longer available for the accessible's content (http://mxr.mozilla.org/mozilla-central/source/accessible/src/generic/Accessible.cpp#1330 breaks).

As you suggested I also considered traversing the accessible tree there instead but at that point, the accessible does not have an accessible parent either so unless the aria live attributes is on the accessible itself it will not be looked up from the ancestors.

Your suggestions are highly appreciated :)
Flags: needinfo?(surkov.alexander)
hide event (AccHideEvent) points to old parent
Flags: needinfo?(surkov.alexander)
Comment on attachment 783914 [details] [diff] [review]
897032 patch v1

seems like we decided to hold up on this approach, it's easier to workaround it on AT side.
Attachment #783914 - Flags: feedback?(surkov.alexander)
Assignee: yzenevich → nobody
(In reply to alexander :surkov from comment #8)
> Comment on attachment 783914 [details] [diff] [review]
> 897032 patch v1
> 
> seems like we decided to hold up on this approach, it's easier to workaround
> it on AT side.

Can we close it?
You know I don't really remember details but I used to trust to what I had said :) Let's close it if nobody objects.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: