Re: Keyboard controls for landmarks

On 08/04/2013 11:17, Steve Faulkner wrote:
> I don't think that this is being held back by lack of access.
>
> the mapping between html elements and landmark roles is specified, it
> would be trivial (or just as trivial) to look for an element name as an
> role value no?

Sure, but it feels wrong. If browsers have internal logic that assigns 
roles automatically for defaults, why not expose that via object 
properties? As it stands, I'd have to look for BOTH existence of, say, 
<main> AND any arbitrary element that's been blessed with role="main". 
If <main> internally already gets assigned the equivalent of role="main" 
anyway, it would be great to have this exposed transparently, so my 
script just needs to look for anything that has that role property, 
without special casing.

P
-- 
Patrick H. Lauke
______________________________________________________________
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]

www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com | http://flickr.com/photos/redux/
______________________________________________________________
twitter: @patrick_h_lauke | skype: patrick_h_lauke
______________________________________________________________

Received on Monday, 8 April 2013 10:33:21 UTC