New issue
Advanced search Search tips

Issue 642469 link

Starred by 2 users

Issue metadata

Status: Closed
Owner: ----
Closed: Sep 14
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug
Team-Accessibility



Sign in to add a comment

Changing the ARIA role of an element doesn't send an accessibility event

Project Member Reported by dmazz...@chromium.org, Aug 30 2016

Issue description

If you change the role of an element after the accessibility tree has already been loaded, it doesn't seem to fire an accessibility event. The role sometimes gets picked up anyway, but if nothing else changes it doesn't seem to propagate right away and we should fix that.

 
Labels: NewComponent-Accessibility-Blink
Labels: NewComponent-Accessibility
Components: Blink>Accessibility
Components: -UI>Accessibility
Labels: -newcomponent-accessibility-blink -newcomponent-accessibility
Labels: triage-aaron
Labels: -Pri-2 Pri-3
Any time a role change could cause the interfaces we expose for an object to change (e.g. suddenly we need to expose the IAccessibleTable interface), we should destroy the current object and create a new one (and fire the corresponding events). This is because in COM, the interfaces exposed on an object aren't allowed to change during it's lifetime.

In any case this is a very uncommon thing. Authors are unlikely to do this.
Labels: -triage-aaron
Owner: ----
Status: Available (was: Assigned)
Agreed, it's uncommon but that'd be the right way to handle it - create a new object.

I wonder if we should try to reuse the id...

Labels: triage-dougt
Labels: -triage-dougt
Project Member

Comment 11 by sheriffbot@chromium.org, Aug 13

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Closed (was: Untriaged)
AXObjectCacheImpl::HandleAttributeChanged should already be handling this. We've recently improved it to handle more cases.

Closing in the absence of a specific repro.

Sign in to add a comment