This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28934 - Add role="image" as synonym for role="img"
Summary: Add role="image" as synonym for role="img"
Status: RESOLVED MOVED
Alias: None
Product: ARIA
Classification: Unclassified
Component: Spec (show other bugs)
Version: 1.1
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: James Craig
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-09 22:14 UTC by Jason Kiss
Modified: 2018-05-14 16:49 UTC (History)
3 users (show)

See Also:


Attachments

Description Jason Kiss 2015-07-09 22:14:43 UTC
With the exception of "combobox" and "contentinfo", all existing ARIA roles are complete words or concatenations of complete words. In almost all cases, the role's name is the same as the complete word or term by which the element is conventionally referred to, e.g. link, article, button, list, listitem, combobox. The "img" role is the exception, and authors are prone to mistakenly, but understandably, use role="image", which won't work. 

Recommend adding role="image" as a synonym for role="img" to avoid author confusion and error.
Comment 1 Michiel Bijl 2015-07-09 22:18:26 UTC
+1

Made this mistake today…
Comment 2 James Nurthen 2018-05-14 16:49:08 UTC
https://github.com/w3c/aria/issues/758