Closed Bug 1610600 Opened 4 years ago Closed 4 years ago

'tag:body' should not be exposed on the Firefox window.

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jdiggs, Unassigned)

References

(Blocks 1 open bug)

Details

Steps to reproduce:

  1. Launch Firefox
  2. Launch Accerciser
  3. Use Accerciser to examine the accessible object attributes for the accessible window (with role of 'frame')

Expected results: 'tag:body' would not appear because the window is not the body of the document.

Actual results: 'tag:body" appears on the window.

Impact: If Orca had to sanity-check a role (e.g. due to bug 1610596) by looking for the presence of the 'body' tag, it needs to do a further sanity check to see if tag:body is really valid/present. The more sanity-checks I do, the less performant Orca gets. :(

Our browser UI is actually an HTML document. The "window" is actually the body; we just give it a different role because clients don't want it to be a document semantically. I guess we could make a special exception to not expose the tag at all in this case, but I'm reluctant to do this unless you're planning on using tag:body to override the role, which it seems like you're not going to do after all. (Note that I agree you absolutely shouldn't try to hack around bug 1610596.)

I'm leaning towards a wontfix here unless you can convince me otherwise.

You can wontfix it, especially if you're going to fix bug 1610596. :)

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.