[Bug 26149] should img alt="" be mapped to role=presentation?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26149

--- Comment #4 from steve faulkner <faulkner.steve@gmail.com> ---
(In reply to James Craig from comment #1)
> You wrote:
> 
> > webkit does (...map img[alt=""] to [role="presentation"])
> 
> Where are you seeing this? On brief glance, it looks as though WebKit
> doesn't actually map these images to the internal PresentationRole. These
> images just get ignored, so they don't have an accessible render object. We
> only expose the presentation role if the presentation node has
> none-presentational children.
> 
> https://github.com/WebKit/webkit/blob/master/LayoutTests/inspector-protocol/
> dom/getAccessibilityPropertiesForNode-expected.txt#L171

I am probably incorrect


>These images just get ignored, so they don't have an accessible render object." this equates to what (I think) it should do looking at the aria mapping guide it says for Mac role=presentation equates to "Not mapped"

The HTML spec uses ARIA roles states and properties as an abstract indicator
when it says img alt="" it does not mean that role=presentation must be exposed
it means do whatever you do for role=presentation in the OS/browser.

does that clarify?

see this post for more detail:
http://blog.paciellogroup.com/2014/06/html5-accessibility-implementation-support-browsers/

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 20 June 2014 16:29:57 UTC