W3C home > Mailing lists > Public > public-pfwg@w3.org > February 2015

Re: Fwd: PFWG-ISSUE-704 (Indication of Primary Button): Should there be an ARIA method to indicate the primary button? [ARIA 1.1]

From: Joseph Scheuhammer <clown@alum.mit.edu>
Date: Wed, 25 Feb 2015 16:15:09 -0500
Message-ID: <54EE3B5D.2000907@alum.mit.edu>
To: Bryan Garaventa <bryan.garaventa@ssbbartgroup.com>, Joanmarie Diggs <jdiggs@igalia.com>, James Nurthen <james.nurthen@oracle.com>
CC: W3C WAI Protocols & Formats <public-pfwg@w3.org>
> Wouldn't this be a good use case for aria-current? Since this is now token based, we could add a primarybutton token or something like.

That depends on the use case.  I think James' use case is, for example, 
a dialog that has multiple buttons for dismissing.  One of those buttons 
is designated the default button, frequently activated by a return key 

An example:  A dialog that says "You have unsaved changes.  Do you want 
to save the changes before closing?", with "Don't Save", "Cancel", and 
"Save" buttons.  Here, the "Save" button is the default.

If that's the use case, aria-current is not the right attribute.


'Array(16).join("wat" - 1) + " Batman!"'
            - G. Bernhardt -
Received on Wednesday, 25 February 2015 21:15:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:45:23 UTC