W3C home > Mailing lists > Public > public-html-a11y@w3.org > September 2010

Re: Default role of <IMG> should be "img"

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Mon, 13 Sep 2010 05:12:05 +0200
To: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Cc: Steven Faulkner <faulkner.steve@gmail.com>, public-html-a11y@w3.org
Message-ID: <20100913051205795877.feafd48b@xn--mlform-iua.no>
Benjamin Hawkes-Lewis, Sun, 12 Sep 2010 15:10:37 +0100:

> Looks like ARIA already uses the CSSOM when calculating text alternatives:
> "Text nodes are often visited because they are children of an element 
> that uses rule 2C to collect text from its children. However, because 
> it is possible to specify textual content using the CSS :before and 
> :after pseudo-elements, it is necessary for user agents to combine 
> such content with the text referenced by the text nodes to produce a 
> complete text alternative."
> http://www.w3.org/WAI.new/PF/aria-implementation/#mapping_additional
> Separation of concerns fail. :(

Is it the use of pseudo-elements that makes you think so? Where does 
CSS say that pseudo-elements only should be used for @media screen?

ARIA will be a separation of concerns success because, as Steve made us 
aware, hidden elements should still be made available to AT when 
referred via @aria-labelledby/@aria-describedby. However, hidden 
elements do not need to be completely hidden. They can instead be 
hidden for @media screen only. That way one should be able to serve to 
screenreaders content that otherwise would only be available non-screen 
leif halvard silli
Received on Monday, 13 September 2010 03:12:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:55:44 UTC