WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Is a button that does not support space bar activation a violation of WCAG?

for

From: Birkir R. Gunnarsson
Date: May 7, 2015 6:47AM


The tabpanel content should load when the tab becomes active, but I do
not think thefocus should move automatically to it . that would
actually break 3.2.1 (on focus) WCAG success criterion .. as a screen
reader user I want to explore the available tabs or move to the tab
tht is 3 arrow key presses to the right .. it would take me a heck of
a long time if every time I selected a different tab my focus was
grabbed and thrown to another part of the page).
I have recommended a two-way aria-controls (on tab) & aria-labelledby
(on tabpanel) relationship between tabs and tabpanels.
I have also recommended, as a best practice, to implement a key *such
as page down( that moves focus to the active tab panel from the active
tab.
Honestly we should leave that sort of functionality up to the
assistive technology, if we provide them with the relationships.
Jaws is the only screen reader, so far, that has taken advantage of
this .. pressing JawsKay Alt, M moves focus to controlled element
*target of aria-controls), only in FF.
I usually allow either tabs or arrows, I find it confusing, as a user,
to only allow arrows.



On 5/7/15, _mallory < <EMAIL REMOVED> > wrote:
> On Wed, May 06, 2015 at 10:57:00PM -0500, Paul J. Adam wrote:
>> I think that tab control widgets can allow both arrow key navigation and
>> regular TAB to each tab itself navigation. This way no one would be lost
>> as to how to operate the control :)
>
> Really? I've been told by a number of people that tab has to go
> into the tab list, next tab has to take you back out, unless you
> open a tab, and then focus has to be moved into the panel (still
> haven't figured a graceful way to do this part as our panels are
> almost all text, so we've been tabindexing the panels and putting
> focus in there, but that doesn't feel great either).
>
> I mean tabs with role="tab" and "tabpanel" tabs.
>
> We can also tab through tabs??
>
> _mallory
> > > > >


--
Work hard. Have fun. Make history.