[whatwg] Allow alt attribute with the span element
Michael A. Peters
mpeters at domblogger.net
Fri Oct 6 09:06:03 PDT 2017
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.
More information about the whatwg