W3C home > Mailing lists > Public > public-aria@w3.org > September 2017

RE: question about use of aria-haspopup and aria-expanded

From: Schnabel, Stefan <stefan.schnabel@sap.com>
Date: Wed, 6 Sep 2017 10:15:32 +0000
To: Steve Faulkner <faulkner.steve@gmail.com>, ARIA Working Group <public-aria@w3.org>
Message-ID: <23f36e52a1364e179fa7ee8e5e9be586@sap.com>
For  example, for a menu button it is nice to know that the menu popup has been expanded/toggled visible.


-          Stefan

From: Steve Faulkner [mailto:faulkner.steve@gmail.com]
Sent: Mittwoch, 6. September 2017 10:58
To: ARIA Working Group <public-aria@w3.org>
Subject: question about use of aria-haspopup and aria-expanded

Hi all,
The use of both aria-haspopup and aria-expanded together is conforming in ARIA 1.1,

code example:

<button aria-haspopup="true" aria-expanded="true">true +true</button>

codepen with test cases: https://codepen.io/stevef/pen/MvxRVx

demo: https://s.codepen.io/stevef/debug/MvxRVx


but I am wondering if this combination has any use cases? And also if the combined state information could be confusing?

--

Regards

SteveF
Current Standards Work @W3C<http://www.paciellogroup.com/blog/2015/03/current-standards-work-at-w3c/>
Received on Wednesday, 6 September 2017 10:15:57 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 6 September 2017 10:15:57 UTC