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

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

From: Michael A. Peters <mpeters@domblogger.net>
Date: Fri, 6 Oct 2017 09:06:03 -0700
To: tink@tink.uk, Jonathan Garbee <jonathan@garbee.me>, WHAT Working Group <whatwg@lists.whatwg.org>, WAI Interest Group <w3c-wai-ig@w3.org>
Message-ID: <ad652d5d-2c3b-ce33-fa7b-451cc53c2fd3@domblogger.net>
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.
Received on Friday, 6 October 2017 16:06:58 UTC

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