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 24272 - area elements that create hyperlinks should have cirka same role options as a elements that create hyperlinks
Summary: area elements that create hyperlinks should have cirka same role options as a...
Status: RESOLVED MOVED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC All
: P3 major
Target Milestone: ---
Assignee: steve faulkner
QA Contact: HTML WG Bugzilla archive list
URL: http://www.w3.org/html/wg/drafts/html...
Whiteboard:
Keywords: a11y
Depends on:
Blocks:
 
Reported: 2014-01-11 21:59 UTC by Leif Halvard Silli
Modified: 2015-06-05 14:37 UTC (History)
5 users (show)

See Also:


Attachments

Description Leif Halvard Silli 2014-01-11 21:59:19 UTC
Please reconsider the possible ARIA roles for area elements that forms hyperlinks.

Area elements that create hyperlinks are currently placed in the strong native ARIA semantics table and is thereby only allowed to have a single role - the link role.

By contrast, anchor elements that create hyperlinks are placed in the table over the weak native ARIA semantics table and can take a number of roles: “If specified, role must be one of the following: link, button, checkbox, menuitem, menuitemcheckbox,menuitemradio, tab, or treeitem”.

However, as a matter of fact, an area elements area always linked to graphics of some sort. So e.g. they can for instance be attached to an area of an image that has the shape of a button.

So at the very least, it should be able to take the button role as well. But please consider if it may take even more role.  E.g. a button may occur in navigation menus, so perhaps menuitem role should be considered  as well. Tab role also seems like a possibility. And perhaps others.
Comment 1 steve faulkner 2014-01-11 22:44:12 UTC
hi leif(In reply to Leif Halvard Silli from comment #0)
> Please reconsider the possible ARIA roles for area elements that forms
> hyperlinks.
> 
> Area elements that create hyperlinks are currently placed in the strong
> native ARIA semantics table and is thereby only allowed to have a single
> role - the link role.
> 
> By contrast, anchor elements that create hyperlinks are placed in the table
> over the weak native ARIA semantics table and can take a number of roles:
> “If specified, role must be one of the following: link, button, checkbox,
> menuitem, menuitemcheckbox,menuitemradio, tab, or treeitem”.
> 
> However, as a matter of fact, an area elements area always linked to
> graphics of some sort. So e.g. they can for instance be attached to an area
> of an image that has the shape of a button.
> 
> So at the very least, it should be able to take the button role as well. But
> please consider if it may take even more role.  E.g. a button may occur in
> navigation menus, so perhaps menuitem role should be considered  as well.
> Tab role also seems like a possibility. And perhaps others.

hi leif, agree there is a disparity without obvious reason, will look into it.
Comment 2 steve faulkner 2015-06-05 14:37:36 UTC
moved to aria MODULE https://github.com/webspecs/html-aria/issues/20