- From: Alexander Surkov <surkov.alexander@gmail.com>
- Date: Fri, 18 Oct 2013 09:17:47 -0400
- To: Léonie Watson <tink@tink.co.uk>
- Cc: "W3C WAI Protocols & Formats" <public-pfwg@w3.org>
I think I still don't have a good perception of it. So more questions. > To differentiate the link leading to the current page in the main navigation > of a website: in what means current? Is it currently loaded page? If so what the point to refer to the same page? > Similarly to indicate the currently selected step in a process indication > bar: this one is used to indicate where the user stopped, so he can continue to browse and when he comes back then it's easy to see where to continue? Does that sound right? If so then should new attribute be really restricted to focusable elements? Isn't it rather a "floating" landmark? > A visual indication is easy to provide in these circumstances, but > programmatic indication is more cumbersome. I see. I'm curious whether it shouldn't be a part of HTML spec. On Fri, Oct 18, 2013 at 8:57 AM, Léonie Watson <tink@tink.co.uk> wrote: > Alexander Surkov wrote: > "Can I have some real life examples of it please?" > > To differentiate the link leading to the current page in the main navigation > of a website: > > <ul> > <li><a href="home.html">Home</a></li> > <li><a href="about.html" aria-current="true">About</a></li> > <li><a href="contact.html">Contact</a></li> > </ul> > > Similarly to indicate the currently selected step in a process indication > bar: > > <ol> > <li><a href="1.html">Provide your name</a></li> > <li><a href="2.html">Provide your address</a></li> > <li><a href="3.html" aria-current="true">Provide your phone > number</a></li> > </ol> > > A visual indication is easy to provide in these circumstances, but > programmatic indication is more cumbersome. In the above situations, a > screen reader might read the link text followed by "current". > > >From a UX perspective "selected" after the link text would probably be > better, but as previously noted that would lead to more confusion than it > was worth. > > Léonie. > > -----Original Message----- > From: Alexander Surkov [mailto:surkov.alexander@gmail.com] > Sent: 18 October 2013 13:39 > To: Léonie Watson > Cc: W3C WAI Protocols & Formats > Subject: Re: Using aria-selected on focusable elements > > Hi. I agree it's clearer when one attribute is not used for different > proposes. If new use case has a different AT API mapping than aria-selected > on selectable widget items then it should be a big confusion because items > maybe focusable too. But I should admit I don't understand the proposed use > case. Can I have some real life examples of it please? > Thank you. > Alexander. > > On Fri, Oct 18, 2013 at 8:23 AM, Léonie Watson <tink@tink.co.uk> wrote: >> Hello, >> >> >> >> Resurfacing an idea from Steve Faulkner [1], and consequently put into >> the PF tracker against ARIA 1.1 [2]. >> >> >> >> The original suggestion was for aria-selected to be permitted on any >> focusable element. The use case being to indicate things like the >> currently selected page, or the current step in a process. >> >> >> >> James Craig noted (in the tracker) that although the use case is >> sound, aria-selected may not be an appropriate solution. >> >> >> >> I wonder therefore whether a new attribute, perhaps aria-current, >> could be introduced to solve this use case? >> >> >> >> Léonie. >> >> >> >> [1] http://lists.w3.org/Archives/Public/wai-xtech/2012Jul/0006.html >> >> [2] https://www.w3.org/WAI/PF/Group/track/issues/587 >> >> >> >> Carpe diem. >> >> > > >
Received on Friday, 18 October 2013 13:18:14 UTC