Re: Allow alt attribute with the span element

On 06/10/17 17:15, Michael A. Peters wrote:
> If there was an alt attribute on a span inside the button, screen
> readers could treat the span with a pictograph the same way it would
> treat an image child of a button attribute and describe the current
> pictograph to the end user.

This is exactly what aria-label is for:

  https://www.w3.org/TR/wai-aria/states_and_properties#aria-label

tobias

Received on Friday, 6 October 2017 15:27:24 UTC