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: Bryan Garaventa <bryan.garaventa@ssbbartgroup.com>
Date: Wed, 25 Feb 2015 21:58:13 +0000
To: Joseph Scheuhammer <clown@alum.mit.edu>, Joanmarie Diggs <jdiggs@igalia.com>, James Nurthen <james.nurthen@oracle.com>
CC: W3C WAI Protocols & Formats <public-pfwg@w3.org>
Message-ID: <BY2PR03MB347EBD5D3E6F6A8F500969E98170@BY2PR03MB347.namprd03.prod.outlook.com>
I see what you mean, I was mainly thinking of the conveyance of a styling difference, one button styled differently as part of a set. I think the concept would fit, but basically you would need a new attribute that functionally does the same thing.


-----Original Message-----
From: Joseph Scheuhammer [mailto:clown@alum.mit.edu] 
Sent: Wednesday, February 25, 2015 1:15 PM
To: Bryan Garaventa; Joanmarie Diggs; James Nurthen
Cc: W3C WAI Protocols & Formats
Subject: Re: Fwd: PFWG-ISSUE-704 (Indication of Primary Button): Should there be an ARIA method to indicate the primary button? [ARIA 1.1]

> 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 press.

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.

--
;;;;joseph.

'Array(16).join("wat" - 1) + " Batman!"'
            - G. Bernhardt -

Received on Wednesday, 25 February 2015 21:58:44 UTC

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