W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2013

Re: Keyboard controls for landmarks

From: Patrick H. Lauke <redux@splintered.co.uk>
Date: Mon, 08 Apr 2013 11:40:16 +0100
Message-ID: <51629E90.4030404@splintered.co.uk>
To: w3c-wai-ig@w3.org
On 08/04/2013 11:34, Alastair Campbell wrote:
> Perhaps I'm not getting something then, I thought you said it wasn't
> available in the DOM? And that it is different per platform?
>
> Can you find things with something like this? (Off-the-top-of-my-head
> jQuery):
> $("div[role=navigation]")

No, it seems you can't. You have to look for BOTH arbitrary elements 
with the role attribute, AND the ones that have their mapping defined 
but not exposed in this way, like "nav". Which is my point...

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:40:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:48 UTC