Run
Text
Equivalency
Overview
The Run Text
Equivalency
Test allows
the user to
quickly and
effortlessly
identify
objects that
require but
do not have
an Acc Name
or
Description.
Like the
Accessibility
Panel in
Flash you
can set the
Acc Name and
Description
but unlike
the
Accessibility
Panel in
flash you
can scan
your entire
document,
returning
every object
that fails
and then
repair the
object.
Additionally
if you
depend only
on the
accessibility
panel to
find missing
Acc Names or
Descriptions
you could be
wasting
valued time.
This is
because you
can set
these
properties
dynamically
as part of
an
ActionScript
file that is
part of your
movie.
AccRepair
takes that
into account
and scans
your
programs to
determine if
these values
are being
set via
programming.
So to use
this feature
you simply
need to run
the test and
allow the
program to
present you
all the
instances of
objects
without the
Acc
Properties
completed in
accordance
with the
rule.
Rule: All
Objects if
Marked to be
Accessible
shall use
either Acc
Name or Acc
Description.
This can
either be a
static
setting or
it may be
set via a
program on
the fly when
the Flash
movie is
being run.
After
selecting
and running
the [Run
Tests]
feature you
will get one
of two
responses
- No
Errors
Found
If no
errors are
found the
program
has
determined
that you
have; a.
properly
assigned
your acc
properties
or b. That
there are
no objects
marked to
be
accessible.
- A List
of Errors
In this
case the
user will
be
presented
with a
list of
errors.
These
errors
indicate
that the
Acc
Properties
need to be
set. To
pass this
test you
can either
set them
via
ActionScript
or via the
Repair
panel in
AccRepair.
Repairing
an Error
To repair
an Error
simply click
on it.
Errors are
located in
the section
labeled
"Objects
That Fail."
Steps to
Repair
- Select
the Object
that
failed by
highlighting
it in the
list
- Enter
the Acc
Name or
Description
to repair
the error.
- Then
Re Run the
test. You
will see
that the
object has
been
corrected.
Special
Circumstances
AccRepair
cannot
Repair Items
that are in
the Library.
You will
need to open
them up and
repair them
via the
accessibility
panel.
However the
AccVerify®
Portion can
and will
locate all
errors in
the library.
ActionScript
Programmers
can repair
these
setting via
code and re
run the test
and easily
see that it
has been
corrected.
example:
instance._accProps
= new
Object();
instance._accProps.Name
= "My
Accessible
Name";
Accessibility.updateProperties();
where:
instance is
the instance
name of the
object you
are setting
if you have
more
questions on
using
ActionScript
in flash
refer to the
Flash
Documentation
Note: If
you program
you
ActionScript
in a way
where it is
unclear or
dynamic as
to which
object you
are
assigning
your
Accprops to
then
AccRepair
will not be
able to
identify
these
properties
correctly. |