- From: Jonathan Avila <jon.avila@levelaccess.com>
- Date: Thu, 24 Aug 2017 13:52:54 +0000
- To: WCAG <w3c-wai-gl@w3.org>
Leonie, thanks for your feedback. The ARIA in HTML document indicates " Adding an ARIA role overrides the native role semantics in the accessibility tree which is reported via the accessibility API, and therefore ARIA indirectly affects what is reported to a screen reader or other assistive technology." This would seem to imply adding the role could change the nature of the element. Thoughts? I think we would both agree that <div role="img" alt="text"></div> is a failure but adding ARIA states and properties to an HTML element like <button aria-pressed="true">Toggle</button> is valid and desirable. Anyone else feel strongly about the case of img with role img and alt? Jonathan Jonathan Avila Chief Accessibility Officer Level Access, inc. (formerly SSB BART Group, inc.) (703) 637-8957 Jon.avila@levelaccess.com Visit us online: Website | Twitter | Facebook | LinkedIn | Blog Looking to boost your accessibility knowledge? Check out our free webinars! The information contained in this transmission may be attorney privileged and/or confidential information intended for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is strictly prohibited. -----Original Message----- From: Léonie Watson [mailto:tink@tink.uk] Sent: Thursday, August 24, 2017 4:40 AM To: Jonathan Avila <jon.avila@levelaccess.com>; WCAG <w3c-wai-gl@w3.org> Subject: Re: Applicability of native semantics when ARIA roles used 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 13:53:20 UTC