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

Re: Allow alt attribute with the span element

From: Tobias Bengfort <tobias.bengfort@posteo.de>
Date: Fri, 6 Oct 2017 17:26:56 +0200
To: w3c-wai-ig@w3.org
Message-ID: <62d86bc9-762e-9d91-7b36-2d03b4a87626@posteo.de>
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

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