Re: First draft of ARIA 1.1. "text" role

> On Nov 11, 2014, at 5:41 PM, Cynthia Shelly <cyns@microsoft.com> wrote:
> 
> I wonder if it might make more sense to change the definition of 
presentation or none to cover this scenario
> 
> <p>I <img src="heart.gif" alt="love" role="none"> New York.</p>
> 
> to read "I love New York" instead of "I New York"

James wrote:
> As Matt alluded, the ARIA 1.0 "presentation" role ("none" is a 1.1 
> synonym role of "presentation") does not expose any attribute or 
> role semantics, so this would not expose the text alternative.

So, would you be willing to consider changing the definition of 
presentation in ARIA 1.1 to treat ALT on IMG as the "text content" of IMG 
so that this would work? Then images with role presentation and alt text 
specified would be flattened to the equivalent of a span containing the 
alt text.

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:   James Craig <jcraig@apple.com>
To:     Cynthia Shelly <cyns@microsoft.com>, 
Cc:     "White, Jason J" <jjwhite@ets.org>, Fred Esch/Arlington/IBM@IBMUS, 
Matthew King/Fishkill/IBM@IBMUS, Steve Faulkner 
<faulkner.steve@gmail.com>, Joanmarie Diggs <jdiggs@igalia.com>, W3C WAI 
Protocols & Formats <public-pfwg@w3.org>
Date:   11/11/2014 07:16 PM
Subject:        Re: First draft of ARIA 1.1. "text" role




> On Nov 11, 2014, at 5:41 PM, Cynthia Shelly <cyns@microsoft.com> wrote:
> 
> I wonder if it might make more sense to change the definition of 
presentation or none to cover this scenario
> 
> <p>I <img src="heart.gif" alt="love" role="none"> New York.</p>
> 
> to read "I love New York" instead of "I New York"

As Matt alluded, the ARIA 1.0 "presentation" role ("none" is a 1.1 synonym 
role of "presentation") does not expose any attribute or role semantics, 
so this would not expose the text alternative.

> The glyph scenario is different, because it is text, and is often read 
as a single character.

I don't think it'd always be limited to a single character.

> But, do we need a role for that? Would this work instead?
> 
> <p>I <span aria-label="love">♥</span> New York.</p>

The role of the span is ambiguous here. Some platforms don't expose the 
span at all, preferring to flatten the selection string, so there is no 
element on which to hang the label. (Though that might just be an 
implementation detail.)

James

Received on Wednesday, 12 November 2014 07:47:20 UTC