Re: [whatwg] alt and title attribute exception

2012-08-01 Thread Philip Jägenstedt
On Tue, 31 Jul 2012 14:03:02 +0200, Steve Faulkner faulkner.st...@gmail.com wrote: title has differing semantics to alt. In situations where alt it not present on an img but title is, in webkit based browsers the title attribute content is displayed on mouse hover and is also displayed in

Re: [whatwg] alt and title attribute exception

2012-08-01 Thread Henri Sivonen
On Tue, Jul 31, 2012 at 12:18 PM, Philip Jägenstedt phil...@opera.com wrote: When this was last discussed in the HTML WG (January 2012) I opened a bug (MOBILE-275) for Opera Mobile to expose the title attribute in our long-click menu, arguing that one could not enjoy XKCD without it. I meant

Re: [whatwg] alt and title attribute exception

2012-08-01 Thread Philip Jägenstedt
On Wed, 01 Aug 2012 14:56:23 +0200, Henri Sivonen hsivo...@iki.fi wrote: On Tue, Jul 31, 2012 at 12:18 PM, Philip Jägenstedt phil...@opera.com wrote: When this was last discussed in the HTML WG (January 2012) I opened a bug (MOBILE-275) for Opera Mobile to expose the title attribute in our

Re: [whatwg] alt and title attribute exception

2012-08-01 Thread Leif Halvard Silli
Philip Jägenstedt Wed Aug 1 05:05:15 PDT 2012: On Tue, 31 Jul 2012 14:03:02 +0200, Steve Faulkner wrote: title has differing semantics to alt. In situations where alt it not present on an img but title is, in webkit based browsers the title attribute content is displayed on mouse hover and

Re: [whatwg] alt and title attribute exception

2012-08-01 Thread Steve Faulkner
Hi Philip, you wrote: To be very clear, you agree with the spec, think that WebKit is wrong and would not offer any applause if Opera were to use the title attribute to replace images when images are disabled and there is no alt attribute? I don't have a strong view on the display of title

Re: [whatwg] alt and title attribute exception

2012-08-01 Thread Steve Faulkner
Hi leif, you wrote: [I suppose 'the spec' means the W3 HTML5 spec?] no, i believe we are discussing what's in HTML living standard. regards SteveF Philip Jägenstedt Wed Aug 1 05:05:15 PDT 2012: On Tue, 31 Jul 2012 14:03:02 +0200, Steve Faulkner wrote: title has differing semantics to alt.

Re: [whatwg] alt and title attribute exception

2012-08-01 Thread Steve Faulkner
Sivonen hsivo...@iki.fi To: whatwg wha...@whatwg.org Subject: Re: [whatwg] alt and title attribute exception Message-ID: CAJQvAufAJp=PN=gAKD3oUCL4suwwWdMg6= cfbqewrvgipvs...@mail.gmail.com Content-Type: text/plain; charset=UTF-8 On Tue, Jul 31, 2012 at 12:18 PM, Philip J?genstedt

Re: [whatwg] alt and title attribute exception

2012-07-31 Thread Philip Jägenstedt
On Fri, 27 Jul 2012 11:34:03 +0200, Steve Faulkner faulkner.st...@gmail.com wrote: Hi all, The spec currently allows img without alt if the title attribute is present This is problematic for a number of reasons: 1. One of the functions of alt as implemented is that the text is displayed

Re: [whatwg] alt and title attribute exception

2012-07-31 Thread Chaals McCathieNevile
On Tue, 31 Jul 2012 11:18:37 +0200, Philip Jägenstedt phil...@opera.com wrote: AFAICT there's also no way to read the alt attribute on Opera Mobile. You mean title, right? (alt can be read by turning of image loading - although the famous bug http://a11ybugs.org/bug-3.php (I know a few

Re: [whatwg] alt and title attribute exception

2012-07-31 Thread Philip Jägenstedt
On Tue, 31 Jul 2012 11:48:52 +0200, Chaals McCathieNevile w...@chaals.com wrote: On Tue, 31 Jul 2012 11:18:37 +0200, Philip Jägenstedt phil...@opera.com wrote: AFAICT there's also no way to read the alt attribute on Opera Mobile. You mean title, right? (alt can be read by turning of

Re: [whatwg] alt and title attribute exception

2012-07-31 Thread Steve Faulkner
Hi Philip, the spec currently says of the alt attribute [1]: the value of the alt attribute provides equivalent content for those who cannot process images or who have image loading disabled (i.e. it is the img element's fallback content). The alt attribute does not represent advisory

Re: [whatwg] alt and title attribute exception

2012-07-31 Thread Steve Faulkner
Apologies. the last sentence should have read: The last point is another reason why making the title attribute on images (without alt) conforming, IS NOT good for users, is that the semantics, for all users, are ambiguous. regards Stevef On 31 July 2012 13:03, Steve Faulkner

Re: [whatwg] alt and title attribute exception

2012-07-31 Thread Benjamin Hawkes-Lewis
On Tue, Jul 31, 2012 at 1:03 PM, Steve Faulkner faulkner.st...@gmail.com wrote: The alt attribute does not represent advisory information. User agents must not present the contents of the alt attribute in the same way as content of the title attribute. [snip] In situations where alt it not

Re: [whatwg] alt and title attribute exception

2012-07-31 Thread Steve Faulkner
Hi Ben I was not talking about being displayed as a tooltip . I was referring to the display as a replacement for an image when images are disabled. There is no indication that the text is advisory information rather than a text alternative. So in this case alt is being displayed in the same

Re: [whatwg] alt and title attribute exception

2012-07-31 Thread Leif Halvard Silli
Steve Faulkner on Tue, 31 Jul 2012 13:03:02 +0100, wrote, in reply to Philip Jägenstedt: but I'm confused -- is falling back to title a Good Thing that people want browsers to implement, or is it just a quirk that some legacy browser had? Given that there is a semantic distinction in the spec

Re: [whatwg] alt and title attribute exception

2012-07-31 Thread Benjamin Hawkes-Lewis
On Tue, Jul 31, 2012 at 3:39 PM, Steve Faulkner faulkner.st...@gmail.com wrote: I was not talking about being displayed as a tooltip . I was referring to the display as a replacement for an image when images are disabled. There is no indication that the text is advisory information rather

Re: [whatwg] alt and title attribute exception

2012-07-31 Thread Steve Faulkner
Hi Leif, There is a distinction between what browsers should do to provide fallback and what should be promoted in the spec as a desired authoring pattern. browsers support many non conforming markup patterns. Because webkit browsers display title attribute content if alt attribute is not