RE: Suggested edit to name and description computation spec -- was Re: Is there a public list of events that should fire when ARIA is used?

I second Matt’s comment here.

I have often wondered what “unmute button pressed” means, in an online chat application I use frequently.

This is a button that uses aria-pressed in addition to switching labels, which inevitably leads to contradictions.

A toggle button should only use the aria-pressed attribute.

A button whose label changes in response to user activation is more of a “multi-state” button, since it can have more than two states and its state is not indicated by anything other than its label.

From: Matthew King [mailto:mattking@us.ibm.com] 
Sent: Monday, February 23, 2015 10:04 AM
To: Joseph Scheuhammer
Cc: Bryan Garaventa; Dominic Mazzoni; public-pfwg@w3.org
Subject: Suggested edit to name and description computation spec -- was Re: Is there a public list of events that should fire when ARIA is used?

 

Joseph,

I saw the following text in the below referenced section:

> Toggle buttons such as the "Play" button in a media player whose 
> label can switch between Pause" and "Play" depending on its toggle state. 

I propose the word toggle should be removed. A toggle button has aria-pressed set and this causes screen readers to say pressed or not pressed or something along those lines. If the button label changes, aria-pressed should not be used. If aria-pressed were used, most screen readers would read it as "Play button pressed" and Pause button not pressed". That doesn't make sense.

I propose:
"Buttons such as the "Play" button in a media player whose 
label can switch between Pause" and "Play" depending on its state."
 
Matt King
IBM Senior Technical Staff Member
I/T Chief Accessibility Strategist
IBM BT/CIO - Global Workforce and Web Process Enablement 
Phone: (503) 578-2329, Tie line: 731-7398
mattking@us.ibm.com



From:        Joseph Scheuhammer <clown@alum.mit.edu>
To:        Bryan Garaventa <bryan.garaventa@ssbbartgroup.com>, Dominic Mazzoni <dmazzoni@google.com>, 
Cc:        "public-pfwg@w3.org" <public-pfwg@w3.org>
Date:        02/23/2015 06:27 AM
Subject:        Re: Is there a public list of events that should fire when ARIA is  used?

  _____  




> I do have one question though, it looks like aria-describedby isn’t 
> listed as firing any event when changed programmatically. Does this 
> actually fire any event when this occurs?
>

It is documented as doing so in the Accessible Name/Description 
Computation and Mappings document:
 <http://rawgit.com/w3c/aria/master/accname-aam/accname-aam.html#events> http://rawgit.com/w3c/aria/master/accname-aam/accname-aam.html#events

I will create a link from the core-aam.html events section to the events 
section of the accname-aam.html.

-- 
;;;;joseph.

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

Received on Monday, 23 February 2015 15:27:56 UTC