E-mail List Archives
Re: programmatically setting focus on page load
From: Paul J. Adam
Date: Jul 1, 2015 4:39PM
- Next message: deborah.kaplan@suberic.net: "Re: programmatically setting focus on page load"
- Previous message: Greg Gamble: "Re: programmatically setting focus on page load"
- Next message in Thread: deborah.kaplan@suberic.net: "Re: programmatically setting focus on page load"
- Previous message in Thread: Greg Gamble: "Re: programmatically setting focus on page load"
- View all messages in this Thread
Hey Jennison, if it's the login page or the home page and the main task for a user is to login to the site then that makes sense as the fastest way to get the user into their main goal.
I use the HTML5 autofocus attribute on my personal contact form so that puts your focus there automatically because I decided that's the main goal of that page. http://pauljadam.com/#/contact <http://pauljadam.com/#/contact>
Autofocus is much better than using positive tabindex values which break the focus order most times.
So no I would not call it a WCAG Success Criterion failure.
Paul J. Adam
Accessibility Evangelist
www.deque.com
Join us at our Mobile Accessibility "Bootcamp!"
August 6-7 in Austin Texas
https://dequeuniversity.com/events/2015/mobile
Topics include responsive web design, native apps, & more
> On Jul 1, 2015, at 5:10 PM, Jennison Mark Asuncion < <EMAIL REMOVED> > wrote:
>
> Hi,
>
> If a page loads, and focus is programmatically set, say to go directly
> to a User Name field (i.e., a screen reader user would be unaware of
> any content above), does that make the page nonconformant with WCAG?
> My gut is saying it does, but I am unsure and need a sanity check and
> the guideline reference (if my gut is right).
>
>
>
> Jennison
> > > >
- Next message: deborah.kaplan@suberic.net: "Re: programmatically setting focus on page load"
- Previous message: Greg Gamble: "Re: programmatically setting focus on page load"
- Next message in Thread: deborah.kaplan@suberic.net: "Re: programmatically setting focus on page load"
- Previous message in Thread: Greg Gamble: "Re: programmatically setting focus on page load"
- View all messages in this Thread