W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > July to September 2017

Re: Applicability of native semantics when ARIA roles used

From: Léonie Watson <tink@tink.uk>
Date: Thu, 24 Aug 2017 09:40:22 +0100
To: Jonathan Avila <jon.avila@levelaccess.com>, WCAG <w3c-wai-gl@w3.org>
Message-ID: <bf40f70a-be12-a231-8e93-99ead6c55506@tink.uk>
On 23/08/2017 22:30, Jonathan Avila wrote:
> For example, does alt become the accessible name in this case or does 
> the element below require an ARIA based accessible name.

The alt provides the accessible name in this example. The img role 
simply duplicates the native role of the img element. With or without 
the explicit role, the browser recognises the element as an image and 
uses the alt accordingly.

Léonie.

-- 
@LeonieWatson @tink@toot.cafe tink.uk Carpe diem
Received on Thursday, 24 August 2017 08:40:52 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 21:08:16 UTC