Re: Allow alt attribute with the span element

"Michael A. Peters" <[email protected]> Fri, 6 Oct 2017 09:06:03 -0700
Newsgroups gmane.org.w3c.whatwg.discuss,gmane.org.w3c.accessibility.general
Message-ID <[email protected]>
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.