[Xerte] How to disable the Tab key as the "Accessablility" key?

Julian Tenney Julian.Tenney at nottingham.ac.uk
Wed Aug 19 10:07:00 BST 2009


You cannot change the colour. I spent too much time trying to workaround
this so we could make the colour sympathetic to different interfaces
(i.e. what if your background is also yellow?)

 

It cannot be done.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Swanson
Sent: Tuesday, August 04, 2009 6:53 PM
To: Xerte discussion list
Subject: RE: [Xerte] How to disable the Tab key as the "Accessablility"
key?

 

I've been doing a lot of searching and experimenting, but so far, all
I've been able to come up with is disabling _focusrect. Apparently, you
can't change the color of _focusrect (at least, not globally) in AS2.
AS3 does provides a way to do so.

 

I've also tried to disable _focusrect, but enable it for buttons (I
tried Button._focusrect = true; and Button.Prototype._focusrect =
true;), but that doesn't do anything. You can tab and activate a button
with the space bar, but you never know what button has focus. The
default framework interface buttons don't seem to respond to the
keyboard when _focusrect is false. 

 

I'm using the button.swf component for my buttons, so, just for grins, I
tried _level1.Button.Prototype._focusrect = true (with and without the
keyword Prototype), but still don't get the focus rectangle around
buttons. So it looks like it's either always on or always off. I think I
will go through and add onKeyDown events for all my 'Next' buttons. That
would provide keyboard navigation without guessing where the focus is. I
don't display the Next buttons until it's time to move to the next page
anyway.

 

Thanks for the suggestions.

 

Paul

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick
Lockley
Sent: Monday, August 03, 2009 2:32 PM
To: Xerte discussion list
Subject: RE: [Xerte] How to disable the Tab key as the "Accessablility"
key?

 

global.setstyle might allow you to change colour as an alternative

 

________________________________

From: xerte-bounces at lists.nottingham.ac.uk on behalf of Paul Swanson
Sent: Mon 03/08/2009 22:04
To: Xerte discussion list
Subject: RE: [Xerte] How to disable the Tab key as the "Accessablility"
key?

This works:

 

_level0._focusrect = false;

 

Strange how there sometimes is a lengthy time-delay between messages. My
"I got it" message arrived in my inbox 10 minutes before the message
below, which was sent 45 minutes earlier. Must of taken the long way
around the earth ...

 

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick
Lockley
Sent: Monday, August 03, 2009 1:57 PM
To: Xerte discussion list
Subject: RE: [Xerte] How to disable the Tab key as the "Accessablility"
key?

 

Apparently there might be something in global.setStyle?

 

________________________________

From: xerte-bounces at lists.nottingham.ac.uk on behalf of Paul Swanson
Sent: Mon 03/08/2009 17:47
To: Xerte discussion list
Subject: RE: [Xerte] How to disable the Tab key as the "Accessablility"
key?

Patrick, your email did make it. I just wasn't clear on what I should
do. I am having success with iconID.tabEnabled=false to get rid of the
yellow border around text and graphics on individual icons (I'll leave
interactions alone). So thanks for that! I was hoping there was
something global I could do ...

Dave, _global._focusrect = false; looked promising, but not having any
luck getting that to work (I also tried rootIcon._focusrect). Too bad,
it's that focus rectangle that I really want to get rid of. Or just
change the color. Maybe I'll post something to the AWARE/eLearning
listserv. Maybe Jason Merrill will know; he seems to be very Flash
savvy.

Thanks for all the help!

> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-
> bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
> Sent: Monday, August 03, 2009 8:56 AM
> To: Xerte discussion list
> Subject: RE: [Xerte] How to disable the Tab key as the
"Accessablility"
> key?
>
> Did my email not make it?
>
> As far as I am aware the yellow border is not a xerte thing, it's a
> flash thing.
>
> There is a xerte keyword property selectable, but there is nothing in
> the help on what it does and it's not given any obvious specific
> functionality in the code other than the syntax highlighting.
>
> I tried setting it to false, and also setting tabEnabled to false, but
> that only works on text areas.
>
> textareanode.tabEnabled=false is as far as I know with this
>
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-
> bounces at lists.nottingham.ac.uk] On Behalf Of Paul Swanson
> Sent: 03 August 2009 16:31
> To: Xerte discussion list
> Subject: RE: [Xerte] How to disable the Tab key as the
"Accessablility"
> key?
>
> Hi Alistair,
>
> Thanks for those comments. I agree that accessibility is important and
> needs to be maintained. I don't think it would be an issue for this
> course (a tutorial on using one of our software programs), however,
> because the interaction that I have on these pages is an onKeyDown
> event which works for the Tab key as well as any other key. I have
been
> placing "Press any key to continue" text on the screen, but was asked
> to change that to "Press the Tab key to continue" to reinforce to our
> customers that using the Tab key is more efficient than using the
> mouse, and ensures that no required fields are missed. However,
> pressing the Tab key also places a yellow border around images and
> text. It's the border that I would actually like to get rid of. So I
> guess I should have used a subject line of "How can I change the color
> of the accessibility highlight border?" Changing it to the same color
> as my background will accomplish what I want.
>
> There doesn't seem to be a property I can set in the Xerte interface
> panels, but I figure there is some property I could set in my setup
> script. rootIcon.accessibilityBorderColour = 0xD4E1EE or something
like
> that would do fine. I just need to know what the property is. Does
> anyone know?
>
> Thanks!
>
>
> _____________________________
>  Paul Swanson
>  Instructional Designer
>  Harland Financial Solutions
>  Paul.Swanson at harlandfs.com
> _____________________________
>
>
> > -----Original Message-----
> > From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-
> > bounces at lists.nottingham.ac.uk] On Behalf Of Alistair McNaught
> > Sent: Saturday, August 01, 2009 2:23 PM
> > To: Xerte discussion list
> > Subject: RE: [Xerte] How to disable the Tab key as the
> "Accessablility"
> > key?
> >
> > Hi Paul
> > If you reassign the accessibility key I'd suggest you take care to
be
> careful to let users know the alternative key that's assigned in its
> place.
> Xerte is getting widely known and one of the reasons it's taking off
in
> education is the high level of accessibility. If a non-mouse user was
> to come across a Xerte based resource where keyboard access had been
> knowingly removed they might be minded to invoke DDA legislation
> against the service provider. By all means enjoy tweaking, adapting
and
> providing alternative clever ways of delivering accessibility but
> reduce it at your peril.
>
>
> Alistair McNaught
> Senior Advisor for Further Education
> JISC TechDis service
> The Higher Education Academy Building
> Innovation Way
> York Science Park
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte


_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20090819/ca25ae61/attachment.html


More information about the Xerte mailing list