Silverlight and Section 508
compliance
Mark Blomsma
Software architect
Develop-One
Why are we here?
 You are interested in aliens and think
Section 508 is like area 51?
 You work for a company/government
agency that needs to be Section 508
compliant?
 Your boss told you to be here?
 You are the boss?
02-24-2010
© 2010 Develop-One
3
What is Section 508?
 The Rehabilitation Act requires Federal agencies to make
their electronic and information technology accessible to
people with disabilities.
 Under Section 508 (29 U.S.C. ‘ 794d), agencies must give
disabled employees and members of the public access to
information that is comparable to the access available to
others.
 The Maine Web Accessibility Policy is designed to meet
or exceed all Federal Section 508 requirements and all
WCAG "Priority 1" Checkpoints and most WCAG "Priority
2" Checkpoints.
 http://www.maine.gov/oit/accessibility/policy/webpolicy.html
 http://www.section508.gov/
02-24-2010
© 2010 Develop-One
4
Some exemptions…
 “Consistent with the law, the standards exempt
systems used for military command, weaponry,
intelligence, and cryptologic activities (but not
routine business and administrative systems
used for other defense-related purposes or by
defense agencies or personnel). The standards
also exempt "back office" equipment used only
by service personnel for maintenance, repair,
or similar purposes.”
02-24-2010
© 2010 Develop-One
5
508 for the Internet(s)
 The criteria for 508 standards for web-based
technology and information are based on access
guidelines developed by the Web Accessibility
Initiative of the World Wide Web Consortium.
 The standards do not prohibit the use of web
site graphics or animation. Instead, the
standards aim to ensure that such information is
also available in an accessible format.
Generally, this means use of text labels or
descriptors for graphics and certain format
elements.
02-24-2010
© 2010 Develop-One
6
Section 508 - 16 requirements
1. A text equivalent for every non-text element shall be provided
(e.g., via "alt", "longdesc", or in element content).
2. Equivalent alternatives for any multimedia presentation shall be
synchronized with the presentation.
3. Web pages shall be designed so that all information conveyed
with color is also available without color, for example from
context or markup.
4. Documents shall be organized so they are readable without
requiring an associated style sheet.
5. Redundant text links shall be provided for each active region of
a server-side image map.
6. Client-side image maps shall be provided instead of server-side
image maps except where the regions cannot be defined with
an available geometric shape.
7. Row and column headers shall be identified for data tables.
02-24-2010
© 2010 Develop-One
7
Section 508 - 16 requirements
8. Markup shall be used to associate data cells and header cells for
data tables that have two or more logical levels of row or column
headers.
9. Frames shall be titled with text that facilitates frame
identification and navigation.
10. Pages shall be designed to avoid causing the screen to flicker
with a frequency greater than 2 Hz and lower than 55 Hz.
11. A text-only page, with equivalent information or functionality,
shall be provided to make a web site comply with the provisions
of this part, when compliance cannot be accomplished in any
other way. The content of the text-only page shall be updated
whenever the primary page changes.
02-24-2010
© 2010 Develop-One
8
Section 508 - 16 requirements
12. When pages utilize scripting languages to display content, or to
create interface elements, the information provided by the
script shall be identified with functional text that can be read by
assistive technology.
13. When a web page requires that an applet, plug-in or other
application be present on the client system to interpret page
content, the page must provide a link to a plug-in or applet that
complies with §1194.21(a) through (l).
14. When electronic forms are designed to be completed on-line,
the form shall allow people using assistive technology to access
the information, field elements, and functionality required for
completion and submission of the form, including all directions
and cues.
02-24-2010
© 2010 Develop-One
9
Section 508 - 16 requirements
15. A method shall be provided that permits users to skip repetitive
navigation links.
16. When a timed response is required, the user shall be alerted
and given sufficient time to indicate more time is required.
02-24-2010
© 2010 Develop-One
10
To comply…
 Ensure keyboard accessibility (link)
 Ensure tab order is in order, use IsTabStop & TabIndex
property
 Use keyboard commands for controls that can’t receive
focus (like Image, Path or MediaElement) or create
Custom Control for these.
 Support changing font size (about 10 lines of code if done
right).
 Offer high contrast using custom control styles/themes
(link) or SystemParameters.HighContrast.
02-24-2010
© 2010 Develop-One
11
Windows UI Automation
 UI Automation client applications can be written
with the assurance that they will work on
multiple frameworks.
 The UI Automation core masks any differences
in the frameworks that underlie various pieces
of UI.
 UI Automation provides full functionality in
Windows Vista, Microsoft Windows XP, and
Windows Server 2003.
02-24-2010
© 2010 Develop-One
12
UI Automation Overview
02-24-2010
© 2010 Develop-One
13
UI Automation of a Silverlight
 Silverlight supports UI
Automation through a tree of peer
automation objects that parallels the
tree of user interface elements.
 Manifests as attached properties to
standard controls.
 Override to implement compliance in
custom controls.
02-24-2010
© 2010 Develop-One
14
Demo
 Using AutomationProperties and the
Windows 7 Narrator.
02-24-2010
© 2010 Develop-One
15
Tools
 Windows Narrator
This screen reader can be used to verify your
Silverlight UI Automation properties.
 UI Spy
To inspect UI Automation properties of a
running application.
 UIA Verify
Test your UI code for right application of UIA:
http://www.codeplex.com/UIAutomationVerify
02-24-2010
© 2010 Develop-One
16
Resources
UI Spy (part of Windows SDK)
www.section508.gov
MIX ‘09 Interview with Mark Rideout
Code Magazine: Creating Accessibilityaware Silverlight 2 Content
 http://blog.develop-one.com
 Windows UI Automation
 Screen reader




 Within OIT: MARIS Compliance Whitepaper
02-24-2010
© 2010 Develop-One
17
Questions?
[email protected]
www.develop-one.com
http://blog.develop-one.com
02-24-2010
10/7/2015
© 2006
2010 Develop-One
18
 Development & consultancy services:








10/7/2015
ASP.NET 3.5 & ASP.NET AJAX,
C# 3.5, LINQ, WF, WCF, WPF,
Team System 2008,
Visual Studio.NET,
SQL Server,
enterprise application development,
application integration,
software renovation.
© 2006 Develop-One
19
Partners

 www.omnext.net
10/7/2015
© 2006 Develop-One
OMNEXT is an innovative
software technology company
specialized in software auditing
and governance, offering fully
automatic software auditing of
legacy and modern systems
providing measurable,
repeatable, predictable, and
consistent quality reports.
20
Descargar

Slide 1