W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2017

Re: [whatwg] Allow alt attribute with the span element

From: Léonie Watson <tink@tink.uk>
Date: Fri, 6 Oct 2017 12:26:54 -0400
To: "Michael A. Peters" <mpeters@domblogger.net>, Jonathan Garbee <jonathan@garbee.me>, WAI Interest Group <w3c-wai-ig@w3.org>
Message-ID: <c7630269-c3d0-e9e9-c9c3-d7e8b0a00921@tink.uk>

On 06/10/2017 12:06, Michael A. Peters wrote:
> On 10/06/2017 08:44 AM, Léonie Watson wrote:
>>
>> On 06/10/2017 11:26, Michael A. Peters wrote:
>>> Nope, no problem at all. That looks like a simple solution I did not
>>> find. Thank you.
>>
>> Note that you need to provide an explicit role on the span if you use
>> aria-label to provide its accessible name.
> 
> I assume if I instead put the aria-label on the button rather than span 
> that contains the pictograph, that would work too without needing a role 
> since it is an actual button.

Yes, that will work.


> 

-- 
@LeonieWatson @tink@toot.cafe tink.uk carpe diem
Received on Friday, 6 October 2017 16:27:41 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 6 December 2017 16:04:47 UTC