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 26251 - the application of role="presentation" is not clear in the drawing
Summary: the application of role="presentation" is not clear in the drawing
Status: ASSIGNED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: Using ARIA in HTML (show other bugs)
Version: unspecified
Hardware: PC All
: P3 normal
Target Milestone: ---
Assignee: steve faulkner
QA Contact: This bug has no owner yet - up for the taking
URL:
Whiteboard:
Keywords: a11y
Depends on:
Blocks:
 
Reported: 2014-07-02 13:05 UTC by Rich Schwerdtfeger
Modified: 2014-07-13 15:06 UTC (History)
3 users (show)

See Also:


Attachments

Description Rich Schwerdtfeger 2014-07-02 13:05:10 UTC
It is not clear that the table embedded in the table is unaffected by the role of presentation being applied to the containing table. Also, it should be platform agnostic and look more like a DOM tree even though it is an accessible object tree. This way a web author can see how applying role="presentation" removes objects from the accessibility tree. 

So, I would recommend putting the DOM tree on the left with the role attributes. On the right I would have an accessible object tree, with the roles on the objects, that looks like the DOM tree but without the objects removed due to role="presentation applied"

See the figure from DOM 1: http://www.w3.org/TR/REC-DOM-Level-1/introduction.html

This allows the author to see a comparison of how the DOM tree and the now slimmed down accessibility apply. This is also platform agnostic (accessibility API independent) and looks like something the author is familiar with.
Comment 1 steve faulkner 2014-07-13 15:06:31 UTC
(In reply to Rich Schwerdtfeger from comment #0)
> It is not clear that the table embedded in the table is unaffected by the
> role of presentation being applied to the containing table. Also, it should
> be platform agnostic and look more like a DOM tree even though it is an
> accessible object tree. This way a web author can see how applying
> role="presentation" removes objects from the accessibility tree. 
> 
> So, I would recommend putting the DOM tree on the left with the role
> attributes. On the right I would have an accessible object tree, with the
> roles on the objects, that looks like the DOM tree but without the objects
> removed due to role="presentation applied"
> 
> See the figure from DOM 1:
> http://www.w3.org/TR/REC-DOM-Level-1/introduction.html
> 
> This allows the author to see a comparison of how the DOM tree and the now
> slimmed down accessibility apply. This is also platform agnostic
> (accessibility API independent) and looks like something the author is
> familiar with.

Hi Rich I have updated the example(s) in question to make it clearer, I have not yet modified the representation style of the acc tree, will look into this.

http://w3c.github.io/aria-in-html/#use-of-role-presentation

please have a look.