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

Applicability of native semantics when ARIA roles used

From: Jonathan Avila <jon.avila@levelaccess.com>
Date: Wed, 23 Aug 2017 21:30:19 +0000
To: WCAG <w3c-wai-gl@w3.org>
Message-ID: <CY1PR0301MB20905094AA2CC945DCE79289F1850@CY1PR0301MB2090.namprd03.prod.outlook.com>
Implied default ARIA roles should not be applied to equivalent native HTML elements - this is an HTML validation issue - but it may not be a WCAG violations and in some cases some AT may require it.  My question takes this a step further.  When a role is applied are native semantics still valid?

For example, does alt become the accessible name in this case or does the element below require an ARIA based accessible name.

<img alt="course catalog" role="img" src="catalog.jpg">

That is - by adding the role attribute does that somehow change applicability of the native markup in the accessible name calculation.

Jonathan
Received on Wednesday, 23 August 2017 21:30:44 UTC

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