Open Bug 1286212 Opened 8 years ago Updated 1 year ago

Correct aria-owns usage between search box and one-off buttons

Categories

(Firefox :: Search, defect, P3)

defect

Tracking

()

People

(Reporter: MarcoZ, Unassigned)

References

Details

(Keywords: access, Whiteboard: [snt-scrubbed][search-a11y])

Spun off bug 1279665 comment #33, which reads:

> (In reply to alexander :surkov from comment #32)
> > (In reply to :Gijs Kruitbosch from comment #28)
> > 
> > > document.getAnonymousElementByAttribute(document.getElementById("searchbar"),
> > > "anonid", "searchbar-textbox").getAttribute("aria-owns")
> > > 
> > > which produces "PopupSearchAutoComplete".
> > 
> > the problem here is "searchbar-textbox" is in anonnymous subtree so it
> > cannot refer to explicit content by ID, in other words aria-owns was used
> > incorrectly in XBL case in this particular case. That means if you remove
> > aria-owns from "searchbar-textbox" then it should fix the problem, because
> > it will make all things looking exactly same as they were before bug 1261408.
> 
> 
> Did you try this suggestion yourself? Removing this attribute on Nightly
> using the browser console makes NVDA read out all the one-off buttons as
> "unknown", instead of not reading anything. Adding the aria-owns markup to
> the searchbar itself, which isn't anon content, doesn't help either.
> 
> You've also not really explained why this used to work before bug 1261408 and > why that bug would break it, so I don't know what else to suggest. 

This needs to be worked out to produce correct markup, too, apparently.
Priority: -- → P3
Severity: normal → S3

We need to investigate whether the aria-owns attribute needs to be moved or changed. We aren't quite sure of the implications of this, therefore we may need to work with the accessibility team.

QA Whiteboard: [snt-scrubbed]
QA Whiteboard: [snt-scrubbed]
Whiteboard: [snt-scrubbed][search-a11y]
You need to log in before you can comment on or make changes to this bug.