Re: Adaptive Image Element Proposal

On Sat, 01 Sep 2012 00:10:00 +0100, John Foliot <john@foliot.ca> wrote:

> So, how would the hyperlink in this example work for *all* users?

I disagree with premise of this question. I don't think it should work for  
all users.

If the link is in alternative content, then by definition it is intended  
only for users who cannot see the picture, e.g. it could be a link to  
longdesc-type of page that contains no useful information for sighted  
users.

The link should be inaccessible to sighted users in the same way <img  
alt="text"> is inaccessible.

An author who wishes to make link available to *all* users would be  
required use <a> outside <picture> (e.g. <figure>).

> * What/how would the interaction pattern look if the <picture> itself  
> was wrapped in an anchor tag (<a href=""><picture></picture></a>)? How  
> would the user choose between selecting the 'outer' hyperlink versus the  
> 'inner' hyperlink?

This could be defined as authoring error, and act the same way as  
<a><a>x</a></a>.

> * What (if any) potential issues can _you_ think of surrounding the use  
> of a <table> or list constructs that are hidden, but still (sort of) in  
> the DOM tree and available to some users/software configurations. (I  
> already have some ideas, but I fear I am beating you up too much  
> already, which is not my intent.)

The spec should require that such elements (and any interactive elements  
in <picture>) don't interfere when image is displayed. I presume they  
would behave the same way as in an element with the `hidden` attribute?  
(speak:none, display:none, refuse focus)

-- 
regards, Kornel

Received on Tuesday, 4 September 2012 19:54:44 UTC