WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: aria-haspopup="dialog"

for

From: glen walker
Date: May 4, 2018 7:47AM


Actually, unknown values are supposed to be treated as "false", according
to https://www.w3.org/TR/wai-aria/#aria-haspopup

User agents *MUST* treat any value of aria-haspopup that is not included in
> the list of allowed values...as if the value false had been provided.
>

Both firefox and chrome, with the latest NVDA, say 'submenu' instead of
'dialog'. Internet Explorer doesn't say anything other than "link". JAWS
works fine, as you mentioned.

I looked at the NVDA bug list and I don't see anything regarding
aria-haspopup values. You may want to file a bug for them.

https://github.com/nvaccess/nvda/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+aria-haspopup


On Fri, May 4, 2018 at 4:42 AM, Mallory < <EMAIL REMOVED> > wrote:

> I thought the default for an unknown (or simply "true") value of
> aria-haspopup was "menu" so maybe [your version of] NVDA doesn't recognise
> that value?
>
> cheers,
> _mallory
>
> On Fri, May 4, 2018, at 11:37 AM, Kakarla Meharoon wrote:
> > Hi
> >
> > I tried to use aria 1.1 updates, aria-haspopup= "dialog" for the link
> which
> > will open as a popup, but in JAWS it is announced as a dialog but NVDA it
> > is reading as a submenu.
> >
> > Did anyone try this one?
> >
> > Is it necessary to give advance warning to the link/button which opens
> as a
> > dialog?
> > > > > > > > > > > > >