SlideShare une entreprise Scribd logo
1  sur  49
Nicolas Yuen nyuen@adobe.com Developing Accessible Flex Applications
Agenda Introduction Motivation for Accessibility Flex Accessibility API Building Custom accessible Components Best practices Testing Final word
Introduction Consultant for Adobe Professional Services Specialized in developing Rich Internet Applications Developing with Flex for 3 year Worked on a public facing RIA for a government organization Took interest in accessibility
Motivation for Accessibility Morale arguments Accessibility is the right thing to do 12.8 percent of adults (21-64) are disabled in some way Ensure equal access for individuals with disabilities Improves the application’s design by thinking upfront of accessibility constraints Also benefits the mainstream audience it is our duty to design and develop accessible websites as part of our work
Motivation for Accessibility Legal arguments ,[object Object]
Allows companies to reach a wider audience
Can have a significant impact on the perceived brand image
Make your website accessible to everyone and you can tell the world about it.
pressure on companies and the government to make their websites accessible.
Example: Class Action lawsuit for Target.com
Mandatory and must have feature for government agencies
Europa : Web Accessibility policy
all public websites should be accessible by 2010,[object Object]
Motivation for Accessibility – WCAG 2.0 About WCAG2 The W3C WAI released the WCAG 2.0 in December 2008 WCAG 2 follows the spirit of trying to bring anaccessible Web With WCAG 2, “Don’t use x” is no longer valid. It is now up to you, the developer, to work on the direct accessibility of your content, no matter what technology you choose WCAG 2 provides an opportunity for a common approach to web accessibility across countries
Motivation for Accessibility – WCAG 2.0 About WCAG2 4 Principles / 12 guidelines
Motivation for Accessibility – WCAG 2.0 About WCAG2 4 Principles / 12 guidelines Perceivable :  ,[object Object]
Time-based Media(Captions or alternatives)
Make content Adaptable(simpler or different layout alternative)
Distinguishable (sufficient contrast or audio volume),[object Object]
Time-based Media(Captions or alternatives)
Make content Adaptable(simpler or different layout alternative)
Distinguishable (sufficient contrast or audio volume)Operable :  ,[object Object]
Provide users enough time to read and usecontent
Do not design content in a way that is known to cause seizures
Provide ways to help users navigate, find content and determine where they are,[object Object]
Time-based Media(Captions or alternatives)
Make content Adaptable(simpler or different layout alternative)
Distinguishable (sufficient contrast or audio volume)Understandable:  ,[object Object]
Make pages and content appear and operate in predictable ways
Help users avoid and correct mistakesOperable :  ,[object Object]
Provide users enough time to read and usecontent
Do not design content in a way that is known to cause seizures
Provide ways to help users navigate, find content and determine where they are,[object Object]
Time-based Media(Captions or alternatives)
Make content Adaptable(simpler or different layout alternative)
Distinguishable (sufficient contrast or audio volume)Understandable:  ,[object Object]
Make pages and content appear and operate in predictable ways
Help users avoid and correct mistakesOperable :  ,[object Object]
Provide users enough time to read and usecontent
Do not design content in a way that is known to cause seizures
Provide ways to help users navigate, find content and determine where they areRobust:  ,[object Object],[object Object]
About Accessibility in Flash Introduced with Flash 6 Previously limited to Flash and Flex but not supported in AIR Air 2 now supports Accessibility (built in Flex/Flash) Detailed documentation and Language Reference available Support for assistive technology through Microsoft Active Accessibility (MSAA) API
How MSAA works provides a descriptive and standardized way for applications and screen readers to communicate.  Middleware architecture that conveys an object model of an application When Internet Explorer or Firefox loads a new page, it sends an event notification to the MSAA system Screen Readers are essentially MSAA clients listening for events
Accessible object model in Flash Player The Flash Player's accessible object tree consists of a single top-levelcontainer Contains a flat collection of the following types: Text Input TextField Buttons Simple Movie Clip Scripted Movie Clip
Enabling Accessibility for your Flex applications In Flash Builder 4 Select “Generate Accessible SWF file” in the Project properties dialog Modfifies the compiler node : <compiler additionalCompilerArguments="-locale en_US" generateAccessible="true"> in the .actionScriptProperties file This is now selected by default in Flash Builder 4 At Runtime Append accessible=true to the URL  http://www.mydomain.com/index.html?accessible=true Using the command line compiler Use the Accessible option with MXMLC mxlmc –accessible MyApplication.mxml
Enabling Accessibility for your Flex applications Accessibility disabled Accessibility enabled
Flex Accessible components and containers  Adobe built support for accessibility into Flex MX components and containers Accessible components : 28 for Halo - 19 for Spark ButtonBar DropDownList NumericStepper RichEditableText Spinner TabBar ToggleButton VideoPlayer Accordion AdvancedDataGrid Alert Button CheckBox ColorPicker ComboBox DataGrid DateChooser DateField Form Image Label LinkButton List Menu MenuBar Panel RadioButton RadioButtonGroup Slider TabNavigator Text TextArea TextInput TitleWindow ToolTipManager Tree
Accessibility API Contain base classes and implementations for Accessibility DisplayObject has a default implementation with the AccessibilityPropertiesclass Flex Accessible components have extra code and classes The AccessibilityProperties has the following options: ,[object Object]
ForceSimple: If true, causes Flash Player to exclude child objects within this display object from the accessible presentation.

Contenu connexe

Similaire à Accessibility API in Flex

Software Accessibility Siddhesh
Software Accessibility SiddheshSoftware Accessibility Siddhesh
Software Accessibility SiddheshSiddhesh Bhobe
 
Testing flash and flex for accessibility indic threads-q11
Testing flash and flex for accessibility indic threads-q11Testing flash and flex for accessibility indic threads-q11
Testing flash and flex for accessibility indic threads-q11IndicThreads
 
Accessibility in Flex
Accessibility in FlexAccessibility in Flex
Accessibility in Flexfugaciousness
 
Accessibility in Flex
Accessibility in FlexAccessibility in Flex
Accessibility in FlexEffectiveUI
 
Accessibility In Adobe Flex
Accessibility In Adobe FlexAccessibility In Adobe Flex
Accessibility In Adobe FlexEffective
 
Alfresco WCM Case Study: National Academy of Sciences
Alfresco WCM Case Study: National Academy of SciencesAlfresco WCM Case Study: National Academy of Sciences
Alfresco WCM Case Study: National Academy of Sciencesrivetlogic
 
Buzzword, How'd They Build That?
Buzzword, How'd They Build That?Buzzword, How'd They Build That?
Buzzword, How'd They Build That?dcoletta
 
Open Source Web Content Management Strategies
Open Source Web Content Management StrategiesOpen Source Web Content Management Strategies
Open Source Web Content Management StrategiesKStod
 
Interface Design
Interface DesignInterface Design
Interface Designgavhays
 
corePHP Usability Accessibility by Steven Pignataro
corePHP Usability Accessibility by Steven PignatarocorePHP Usability Accessibility by Steven Pignataro
corePHP Usability Accessibility by Steven PignataroJohn Coonen
 
Rich Internet Applications
Rich Internet ApplicationsRich Internet Applications
Rich Internet ApplicationsYoussef Shaath
 
Designing Product As A Platform
Designing Product As A PlatformDesigning Product As A Platform
Designing Product As A Platformanandkhisti
 
Designing your Product as a Platform
Designing your Product as a PlatformDesigning your Product as a Platform
Designing your Product as a PlatformMicah Laaker
 
WCAG 2.0, Simplified
WCAG 2.0, SimplifiedWCAG 2.0, Simplified
WCAG 2.0, Simplifiedciwstudy
 
Device Independence
Device IndependenceDevice Independence
Device Independencebjornh
 
Accessibility And 508 Compliance In 2009
Accessibility And 508 Compliance In 2009Accessibility And 508 Compliance In 2009
Accessibility And 508 Compliance In 2009Emagination ®
 

Similaire à Accessibility API in Flex (20)

Accessibility
AccessibilityAccessibility
Accessibility
 
Software Accessibility Siddhesh
Software Accessibility SiddheshSoftware Accessibility Siddhesh
Software Accessibility Siddhesh
 
Testing flash and flex for accessibility indic threads-q11
Testing flash and flex for accessibility indic threads-q11Testing flash and flex for accessibility indic threads-q11
Testing flash and flex for accessibility indic threads-q11
 
Accessibility in Flex
Accessibility in FlexAccessibility in Flex
Accessibility in Flex
 
Accessibility in Flex
Accessibility in FlexAccessibility in Flex
Accessibility in Flex
 
Accessibility In Adobe Flex
Accessibility In Adobe FlexAccessibility In Adobe Flex
Accessibility In Adobe Flex
 
Alfresco WCM Case Study: National Academy of Sciences
Alfresco WCM Case Study: National Academy of SciencesAlfresco WCM Case Study: National Academy of Sciences
Alfresco WCM Case Study: National Academy of Sciences
 
Buzzword, How'd They Build That?
Buzzword, How'd They Build That?Buzzword, How'd They Build That?
Buzzword, How'd They Build That?
 
Open Source Web Content Management Strategies
Open Source Web Content Management StrategiesOpen Source Web Content Management Strategies
Open Source Web Content Management Strategies
 
Interface Design
Interface DesignInterface Design
Interface Design
 
corePHP Usability Accessibility by Steven Pignataro
corePHP Usability Accessibility by Steven PignatarocorePHP Usability Accessibility by Steven Pignataro
corePHP Usability Accessibility by Steven Pignataro
 
Web Accessibility
Web AccessibilityWeb Accessibility
Web Accessibility
 
Rich Internet Applications
Rich Internet ApplicationsRich Internet Applications
Rich Internet Applications
 
Designing Product As A Platform
Designing Product As A PlatformDesigning Product As A Platform
Designing Product As A Platform
 
Designing your Product as a Platform
Designing your Product as a PlatformDesigning your Product as a Platform
Designing your Product as a Platform
 
eLearning & Accessibility
eLearning & AccessibilityeLearning & Accessibility
eLearning & Accessibility
 
Dfg Intranet Development
Dfg Intranet DevelopmentDfg Intranet Development
Dfg Intranet Development
 
WCAG 2.0, Simplified
WCAG 2.0, SimplifiedWCAG 2.0, Simplified
WCAG 2.0, Simplified
 
Device Independence
Device IndependenceDevice Independence
Device Independence
 
Accessibility And 508 Compliance In 2009
Accessibility And 508 Compliance In 2009Accessibility And 508 Compliance In 2009
Accessibility And 508 Compliance In 2009
 

Plus de Skills Matter

5 things cucumber is bad at by Richard Lawrence
5 things cucumber is bad at by Richard Lawrence5 things cucumber is bad at by Richard Lawrence
5 things cucumber is bad at by Richard LawrenceSkills Matter
 
Patterns for slick database applications
Patterns for slick database applicationsPatterns for slick database applications
Patterns for slick database applicationsSkills Matter
 
Scala e xchange 2013 haoyi li on metascala a tiny diy jvm
Scala e xchange 2013 haoyi li on metascala a tiny diy jvmScala e xchange 2013 haoyi li on metascala a tiny diy jvm
Scala e xchange 2013 haoyi li on metascala a tiny diy jvmSkills Matter
 
Oscar reiken jr on our success at manheim
Oscar reiken jr on our success at manheimOscar reiken jr on our success at manheim
Oscar reiken jr on our success at manheimSkills Matter
 
Progressive f# tutorials nyc dmitry mozorov & jack pappas on code quotations ...
Progressive f# tutorials nyc dmitry mozorov & jack pappas on code quotations ...Progressive f# tutorials nyc dmitry mozorov & jack pappas on code quotations ...
Progressive f# tutorials nyc dmitry mozorov & jack pappas on code quotations ...Skills Matter
 
Cukeup nyc ian dees on elixir, erlang, and cucumberl
Cukeup nyc ian dees on elixir, erlang, and cucumberlCukeup nyc ian dees on elixir, erlang, and cucumberl
Cukeup nyc ian dees on elixir, erlang, and cucumberlSkills Matter
 
Cukeup nyc peter bell on getting started with cucumber.js
Cukeup nyc peter bell on getting started with cucumber.jsCukeup nyc peter bell on getting started with cucumber.js
Cukeup nyc peter bell on getting started with cucumber.jsSkills Matter
 
Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam ho...
Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam ho...Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam ho...
Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam ho...Skills Matter
 
Progressive f# tutorials nyc rachel reese & phil trelford on try f# from zero...
Progressive f# tutorials nyc rachel reese & phil trelford on try f# from zero...Progressive f# tutorials nyc rachel reese & phil trelford on try f# from zero...
Progressive f# tutorials nyc rachel reese & phil trelford on try f# from zero...Skills Matter
 
Progressive f# tutorials nyc don syme on keynote f# in the open source world
Progressive f# tutorials nyc don syme on keynote f# in the open source worldProgressive f# tutorials nyc don syme on keynote f# in the open source world
Progressive f# tutorials nyc don syme on keynote f# in the open source worldSkills Matter
 
Agile testing & bdd e xchange nyc 2013 gojko adzic on bond villain guide to s...
Agile testing & bdd e xchange nyc 2013 gojko adzic on bond villain guide to s...Agile testing & bdd e xchange nyc 2013 gojko adzic on bond villain guide to s...
Agile testing & bdd e xchange nyc 2013 gojko adzic on bond villain guide to s...Skills Matter
 
Dmitry mozorov on code quotations code as-data for f#
Dmitry mozorov on code quotations code as-data for f#Dmitry mozorov on code quotations code as-data for f#
Dmitry mozorov on code quotations code as-data for f#Skills Matter
 
A poet's guide_to_acceptance_testing
A poet's guide_to_acceptance_testingA poet's guide_to_acceptance_testing
A poet's guide_to_acceptance_testingSkills Matter
 
Russ miles-cloudfoundry-deep-dive
Russ miles-cloudfoundry-deep-diveRuss miles-cloudfoundry-deep-dive
Russ miles-cloudfoundry-deep-diveSkills Matter
 
Simon Peyton Jones: Managing parallelism
Simon Peyton Jones: Managing parallelismSimon Peyton Jones: Managing parallelism
Simon Peyton Jones: Managing parallelismSkills Matter
 
I went to_a_communications_workshop_and_they_t
I went to_a_communications_workshop_and_they_tI went to_a_communications_workshop_and_they_t
I went to_a_communications_workshop_and_they_tSkills Matter
 

Plus de Skills Matter (20)

5 things cucumber is bad at by Richard Lawrence
5 things cucumber is bad at by Richard Lawrence5 things cucumber is bad at by Richard Lawrence
5 things cucumber is bad at by Richard Lawrence
 
Patterns for slick database applications
Patterns for slick database applicationsPatterns for slick database applications
Patterns for slick database applications
 
Scala e xchange 2013 haoyi li on metascala a tiny diy jvm
Scala e xchange 2013 haoyi li on metascala a tiny diy jvmScala e xchange 2013 haoyi li on metascala a tiny diy jvm
Scala e xchange 2013 haoyi li on metascala a tiny diy jvm
 
Oscar reiken jr on our success at manheim
Oscar reiken jr on our success at manheimOscar reiken jr on our success at manheim
Oscar reiken jr on our success at manheim
 
Progressive f# tutorials nyc dmitry mozorov & jack pappas on code quotations ...
Progressive f# tutorials nyc dmitry mozorov & jack pappas on code quotations ...Progressive f# tutorials nyc dmitry mozorov & jack pappas on code quotations ...
Progressive f# tutorials nyc dmitry mozorov & jack pappas on code quotations ...
 
Cukeup nyc ian dees on elixir, erlang, and cucumberl
Cukeup nyc ian dees on elixir, erlang, and cucumberlCukeup nyc ian dees on elixir, erlang, and cucumberl
Cukeup nyc ian dees on elixir, erlang, and cucumberl
 
Cukeup nyc peter bell on getting started with cucumber.js
Cukeup nyc peter bell on getting started with cucumber.jsCukeup nyc peter bell on getting started with cucumber.js
Cukeup nyc peter bell on getting started with cucumber.js
 
Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam ho...
Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam ho...Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam ho...
Agile testing & bdd e xchange nyc 2013 jeffrey davidson & lav pathak & sam ho...
 
Progressive f# tutorials nyc rachel reese & phil trelford on try f# from zero...
Progressive f# tutorials nyc rachel reese & phil trelford on try f# from zero...Progressive f# tutorials nyc rachel reese & phil trelford on try f# from zero...
Progressive f# tutorials nyc rachel reese & phil trelford on try f# from zero...
 
Progressive f# tutorials nyc don syme on keynote f# in the open source world
Progressive f# tutorials nyc don syme on keynote f# in the open source worldProgressive f# tutorials nyc don syme on keynote f# in the open source world
Progressive f# tutorials nyc don syme on keynote f# in the open source world
 
Agile testing & bdd e xchange nyc 2013 gojko adzic on bond villain guide to s...
Agile testing & bdd e xchange nyc 2013 gojko adzic on bond villain guide to s...Agile testing & bdd e xchange nyc 2013 gojko adzic on bond villain guide to s...
Agile testing & bdd e xchange nyc 2013 gojko adzic on bond villain guide to s...
 
Dmitry mozorov on code quotations code as-data for f#
Dmitry mozorov on code quotations code as-data for f#Dmitry mozorov on code quotations code as-data for f#
Dmitry mozorov on code quotations code as-data for f#
 
A poet's guide_to_acceptance_testing
A poet's guide_to_acceptance_testingA poet's guide_to_acceptance_testing
A poet's guide_to_acceptance_testing
 
Russ miles-cloudfoundry-deep-dive
Russ miles-cloudfoundry-deep-diveRuss miles-cloudfoundry-deep-dive
Russ miles-cloudfoundry-deep-dive
 
Serendipity-neo4j
Serendipity-neo4jSerendipity-neo4j
Serendipity-neo4j
 
Simon Peyton Jones: Managing parallelism
Simon Peyton Jones: Managing parallelismSimon Peyton Jones: Managing parallelism
Simon Peyton Jones: Managing parallelism
 
Plug 20110217
Plug   20110217Plug   20110217
Plug 20110217
 
Lug presentation
Lug presentationLug presentation
Lug presentation
 
I went to_a_communications_workshop_and_they_t
I went to_a_communications_workshop_and_they_tI went to_a_communications_workshop_and_they_t
I went to_a_communications_workshop_and_they_t
 
Plug saiku
Plug   saikuPlug   saiku
Plug saiku
 

Dernier

Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 

Dernier (20)

Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 

Accessibility API in Flex

  • 1. Nicolas Yuen nyuen@adobe.com Developing Accessible Flex Applications
  • 2. Agenda Introduction Motivation for Accessibility Flex Accessibility API Building Custom accessible Components Best practices Testing Final word
  • 3. Introduction Consultant for Adobe Professional Services Specialized in developing Rich Internet Applications Developing with Flex for 3 year Worked on a public facing RIA for a government organization Took interest in accessibility
  • 4. Motivation for Accessibility Morale arguments Accessibility is the right thing to do 12.8 percent of adults (21-64) are disabled in some way Ensure equal access for individuals with disabilities Improves the application’s design by thinking upfront of accessibility constraints Also benefits the mainstream audience it is our duty to design and develop accessible websites as part of our work
  • 5.
  • 6. Allows companies to reach a wider audience
  • 7. Can have a significant impact on the perceived brand image
  • 8. Make your website accessible to everyone and you can tell the world about it.
  • 9. pressure on companies and the government to make their websites accessible.
  • 10. Example: Class Action lawsuit for Target.com
  • 11. Mandatory and must have feature for government agencies
  • 12. Europa : Web Accessibility policy
  • 13.
  • 14. Motivation for Accessibility – WCAG 2.0 About WCAG2 The W3C WAI released the WCAG 2.0 in December 2008 WCAG 2 follows the spirit of trying to bring anaccessible Web With WCAG 2, “Don’t use x” is no longer valid. It is now up to you, the developer, to work on the direct accessibility of your content, no matter what technology you choose WCAG 2 provides an opportunity for a common approach to web accessibility across countries
  • 15. Motivation for Accessibility – WCAG 2.0 About WCAG2 4 Principles / 12 guidelines
  • 16.
  • 18. Make content Adaptable(simpler or different layout alternative)
  • 19.
  • 21. Make content Adaptable(simpler or different layout alternative)
  • 22.
  • 23. Provide users enough time to read and usecontent
  • 24. Do not design content in a way that is known to cause seizures
  • 25.
  • 27. Make content Adaptable(simpler or different layout alternative)
  • 28.
  • 29. Make pages and content appear and operate in predictable ways
  • 30.
  • 31. Provide users enough time to read and usecontent
  • 32. Do not design content in a way that is known to cause seizures
  • 33.
  • 35. Make content Adaptable(simpler or different layout alternative)
  • 36.
  • 37. Make pages and content appear and operate in predictable ways
  • 38.
  • 39. Provide users enough time to read and usecontent
  • 40. Do not design content in a way that is known to cause seizures
  • 41.
  • 42. About Accessibility in Flash Introduced with Flash 6 Previously limited to Flash and Flex but not supported in AIR Air 2 now supports Accessibility (built in Flex/Flash) Detailed documentation and Language Reference available Support for assistive technology through Microsoft Active Accessibility (MSAA) API
  • 43. How MSAA works provides a descriptive and standardized way for applications and screen readers to communicate. Middleware architecture that conveys an object model of an application When Internet Explorer or Firefox loads a new page, it sends an event notification to the MSAA system Screen Readers are essentially MSAA clients listening for events
  • 44. Accessible object model in Flash Player The Flash Player's accessible object tree consists of a single top-levelcontainer Contains a flat collection of the following types: Text Input TextField Buttons Simple Movie Clip Scripted Movie Clip
  • 45. Enabling Accessibility for your Flex applications In Flash Builder 4 Select “Generate Accessible SWF file” in the Project properties dialog Modfifies the compiler node : <compiler additionalCompilerArguments="-locale en_US" generateAccessible="true"> in the .actionScriptProperties file This is now selected by default in Flash Builder 4 At Runtime Append accessible=true to the URL http://www.mydomain.com/index.html?accessible=true Using the command line compiler Use the Accessible option with MXMLC mxlmc –accessible MyApplication.mxml
  • 46. Enabling Accessibility for your Flex applications Accessibility disabled Accessibility enabled
  • 47. Flex Accessible components and containers Adobe built support for accessibility into Flex MX components and containers Accessible components : 28 for Halo - 19 for Spark ButtonBar DropDownList NumericStepper RichEditableText Spinner TabBar ToggleButton VideoPlayer Accordion AdvancedDataGrid Alert Button CheckBox ColorPicker ComboBox DataGrid DateChooser DateField Form Image Label LinkButton List Menu MenuBar Panel RadioButton RadioButtonGroup Slider TabNavigator Text TextArea TextInput TitleWindow ToolTipManager Tree
  • 48.
  • 49. ForceSimple: If true, causes Flash Player to exclude child objects within this display object from the accessible presentation.
  • 50. Description :Provides a description for this display object in the accessible presentation
  • 51. Silent: If true, excludes this display object from accessible presentation.
  • 52.
  • 53. Accessibility API Instanciating the flash.accessiblity.AccessibilityProperties class In MXML <?xml version="1.0" encoding="utf-8"?> <s:Applicationxmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <s:TextArea id="accessibleTxt" accessibilityName="Spark Accessible Text" accessibilityEnabled="true" accessibilityDescription="A short description" /> </s:Application>
  • 54. Accessibility API The flash.accessibility.Accessibility class provides the following methods and properties: active : Indicates whether a screen reader is currently active and the player is communicating with it. updateProperties():Tells Flash Player to apply any accessibility changes made by using the DisplayObject.accessibilityProperties property. sendEvent: Sends an event to the Microsoft Active Accessibility API. What happens when your OS doesn’t have an active screen reader? Calling updateProperties() will throw an IllegalOperatorErrorexception Use flash.system.Capabilities.hasAccessibilityto detected if the system supports Accessibility And the active property to prevent a call to updateProperties() privatefunctionupdateProperties():void { if (Accessibility.active) { Accessibility.updateProperties(); } }
  • 55. The flash.accessibility.AccessibilityImplementation class Flash provides the flash.accessibility.AccessibilityImplementation class for exposing accessible components subset of the IAccessible interface, adapted slightly for ease of use. The Flash Player IAccessible interfacepasses most calls from MSAA to thesubclass instance for that component Flex components with Accessibility will be treated as scripted movie clips In Flex, this class is extended by mx.accessibility.AccImpl
  • 56.
  • 57. Building Custom Accessible Components Developers need to be able to provide their own accessibility implementations for custom component You create a new accessibility implementation by extending mx.accessibility.AccImpl for each new component Consider two primary forms of guidance: MSAA documentation has guidelines for objects based on the component type Look at a similar component in an HTML page Make sure you implement keyboard navigation and focus management Go for the easy path and extend accessible components if possible
  • 58. Building Custom Accessible Components Let’s start with an example : Contextual help component You will need to create your implementation class by extending AccImpl The AccConst class provides all the MSSA constants you need. You will have to override some of the methods from the IAccessible interface
  • 59. Building Custom Accessible Components Let’s first create our visual component – the HelpButton class Defining a custom accessibility implementation for a component requires changes the component class file First thing to do – add the AccessibilityClassmetatada tag to let the compiler know which AccessibilityImplementation to use [AccessibilityClass(implementation=”component.HelpButtonAccImpl")] Add a placeholder for the mix-in function mx_internal static var createAccessibilityImplementation:Function; This createAccessibilityImplementation() method will be assigned by the PopUpButtonAccImpl accessibility implementation class we'll create Override the UIComponent.initializeAccessibility() method with the following to initialize the AccessibilityImplementation for a given component instance at runtime. overrideprotectedfunctioninitializeAccessibility():void { if (HelpButton.createAccessibilityImplementation != null) { HelpButton.createAccessibilityImplementation( this ); } }
  • 60. Creating the accessibility implementation Creating the HelpButtonAccImpl which is a subclass of mx.accessibility.AccImpl Constructor We set the appropriate role for the component based on the MSAA constants publicfunctionHelpButtonAccImpl(master:UIComponent) { super( master ); role = AccConst.ROLE_SYSTEM_PUSHBUTTON; }
  • 61. Creating the accessibility implementation Initializing Accessibility for the host component Initializes the creatAccessibilityImplementation property we declared on the host component Creating a new acessibiliyImplementation for each instances of the host component mx_internalstaticfunctioncreateAccessibilityImplementation ( component:UIComponent):void { component.accessibilityImplementation = new HelpButtonAccImpl(component); } publicstaticfunctionenableAccessibility():void { HelpButton.createAccessibilityImplementation = createAccessibilityImplementation; }
  • 62. Creating the accessibility implementation Managing events that will an assistive technology will need to react to Overriding the eventToHandle methods Overriding the EventHandler method to manage these events overrideprotectedfunctiongeteventsToHandle():Array { returnsuper.eventsToHandle.concat([ Event.Change]); } overrideprotectedfunctioneventHandler(event:Event):void { super.eventHandler( event ); switch (event.type) { caseEvent.CHANGE: Accessibility.sendEvent(master, 0, AccConst.EVENT_OBJECT_STATECHANGE); Accessibility.sendEvent(master, 0, AccConst.EVENT_OBJECT_NAMECHANGE); Accessibility.sendEvent(master, 0, AccConst.EVENT_OBJECT_SHOW); Accessibility.sendEvent(master, 0, AccConst.EVENT_OBJECT_FOCUS); Accessibility.updateProperties(); break; } }
  • 63. Creating the accessibility implementation We now need to override methods from the IAccessible interface Overriding the EventHandler method to manage these events overrideprotectedfunctiongetName(childID:uint):String { varlabel:String = helpButton.label; label = ( label != null && label != "" ) ? label : ""; if( helpButton.selected ) { label = label + ". " + helpButton.helpText; } return label; } overridepublicfunctionget_accName(childID:uint):String { varaccName:String = AccImpl.getFormName(master); accName += getName(childID) + getStatusName(); return (accName != null && accName != "") ? accName : null; }
  • 64. Creating the accessibility implementation We now need to override methods from the IAccessible interface overridepublicfunctionget_accDefaultAction(childID:uint):String { return"Press"; } */ overridepublicfunctionget_accState(childID:uint):uint { varaccState:uint = getState(childID); if (HelpButton(master).selected) accState |= AccConst.STATE_SYSTEM_PRESSED; returnaccState; }
  • 66. Best Practices – Reading order Reading order must match the content of the application Default order is Left-Right/Top-Bottom Possible to override but not straightforward : Tab order is flat Doesn’t provide hierarchy If overridden the tab index must be specified to ALL component in the application Allocate slots for each part of your application.
  • 67. Best Practices – Reading order Controlling the reading order in MXML <mx:Form label="login"> <mx:FormItem label="Username"> <mx:TextInputtabIndex="1"/> </mx:FormItem> <mx:FormItemlabel="Password"> <mx:TextInputtabIndex="2"/> </mx:FormItem> <mx:HBox> <mx:Buttonlabel="Reset" tabIndex="3"/> <mx:Buttonlabel="Login" tabIndex="4"/> </mx:HBox> </mx:Form>
  • 68. Best Practices – Global navigation Extremely different from an HTML Page What happens when you navigate ( Changing state or switching content )? By default : nothing! Example : Login screen to dashboard screen Notify the user that a change occurred Explain briefly the new content and the purpose of the screen Set the focus on a relevant component Consider non-mouse driven navigation Everything should be accessible using the keyboard Make sure your navigation components have simple and explicit names Provide auto-scroll when focusing a component
  • 69. Best Practices – Pop Ups What happens by default : again, nothing Correct behavior : Read the title followed by the content of the pop up Set the focus on the default button ( e.g. cancel or ok) Disable the background : the rest of the application is hidden to the screen reader Use a default key to close pop ups (commonly the ESC key)
  • 70. Best Practices - Forms Use Form and FormItem for user input Provide out of the box accessibility features Mandatory Field Validation Set focus on the first input field when entering a form Make sure the user can enter “Form mode” with his screen reader What happens when the validation fails? Focus on the first error Explicitly warn the user that the form is invalid If possible specify the number of errors
  • 71. Best Practices – Adjustable Interface / High contrast Provide resizable text Screen magnification A High constrast version Alternative css Save user preferences
  • 72. Best Practices – Video Demo
  • 73. Best Practices – Context ad relationship Provide context and relationship : Applications that assume comprehension of visual relationships require extra attention ( i.e hierarchical data) Explicitly add context to links/buttons whenever possible (e.g. :Edit --> Edit your profile) Otherwise use tooltips or description to give more information.
  • 74. Best Practices – visual content Consider users with visual acuity limitations : Don’t rely on colors/images to convey information Provide caption to any images Disable animations Provide instructions: Non-obvious functionality needs to be revealed for users
  • 76. Testing Accessibility MSAA Inspector Tools: Quick tool for identifying role and state info Much faster to test a component Screen reader : Jaws Navigation (test with your keyboard ) : Tabbing through controls is a good start Make sure to shift+tab backwards Try to turn off your monitor and use the application Perform user testing
  • 77. Final word Accessibility is not an easy task Allocate enough time on the project Keep accessibility in mind during all phases ( starting with the design phase) Involve users as soon as possible : Regular users of assistive technologies will provide the most accurate information An accessible application is not necessarily usable – allow time for user testing User expectations are a possible issue Don’t put accessibility on a TODO at the end of the project

Notes de l'éditeur

  1. The state of legal requirements and protections concerning the accessibility of websites is far from uniform. Many countries have some form of web accessibility laws in place, but the extent of those laws is radically variable. Furthermore, as many websites serve multiple countries, the question of jurisdiction can become a tricky aspect of accessibility law.It&apos;s well beyond the scope of this presentation to discuss the exact limits of web accessibility law around the globe, but I do aim to discuss the ramifications and philosophies of these laws for your web-based business.
  2. Web Content Accessibility Guidelines (WCAG) 2.0 covers a wide range of recommendations for making Web content more accessible. Following these guidelines will make content accessible to a wider range of people with disabilities, including blindness and low vision, deafness and hearing loss…. Following these guidelines will also often make your Web content more usable to users in general. WCAG 2.0 success criteria are written as testable statements that are not technology-specific
  3. For each guideline, there are testable success criteria, which are at three levels: A, AA, and AAA.
  4. The screen reader sends a special window message (WM_GETOBJECT) to the browser, asking for its root object.The browser responds by sending back a pointer to a COM interface of type IAccessible. This interface has methods that allow the screen reader to ask for object properties, such as type, name, description, value, and visibility.IAccessible also has methods for traversing the object tree in various ways—abstractly, in terms of tab order, in terms of geometric relationship, or in terms of pixel locations. Finally, IAccessible allows clients to manipulate UI objects programmatically, pressing buttons and altering selection and focus. The screen reader now traverses the tree of IAccessible objects, building up a tree of COM pointers.For each object discovered, the screen reader determines the type of object (is it a container? button? textfield? and so on), the object&apos;s name, and possibly a few other properties. The screen reader now has enough information to construct its narrative text and feed it into the text-to-speech engine.The browser, in order to be a proper MSAA server, has two main responsibilities. It must implement the IAccessible interface for every significant onscreen object that it displays, and it must notify the MSAA system whenever any part of the object tree changes. The Flash Player handles these two responsibilities for Flash content.
  5. Text: Regions of dynamic or static text in the movie. The principal property of a text object is its name, which, in keeping with MSAA convention, is equal to the contents of the text string being displayed. A text object may also have an associated description string. The Flash Player also makes an attempt to deduce labeling relationships between text and input text fields (text immediately above or to the left of an input text field is be taken as a label for that field), and between text and buttons (text entirely inside a button will be taken as a label for that button). Any text that is deduced to be a label will be omitted from the accessible object tree, and the content of that text will be used as the name of the object that it labels. Labels are never assigned to buttons or text fields that have author-supplied names.Buttons:A button object has a state (pressed or not pressed), The child objects inside buttons are note normally looked at by the player for accessibility purposes—buttons are &quot;leaves&quot; in the accessible object treeSimple movie clips: All non-scripted movie clips at all levels are classified into one of two categories: simple or non-simple. A movie clip is simple if it does not have any other accessible objects (text, input text, buttons, or components) as children at any level of depth. Non-simple clips are not given any representation in the object tree; instead, their accessible-object contents are promoted into the flat top-level list of accessible objects. Simple clips, on the other hand, do show up in the object tree, expressed to MSAA as an image or animation widgetScripted movie clips: Flex (and Flash Professional) UI components present a special problem for the accessible object model in Flash Player. They are movie clips or sprites built from collections of text, input text, shapes, and buttons, but if Flash Player exposed those individual objects to MSAA, the meaning of the overall component would be lost. For this reason, a Flex UI (or Flash Professional) component may require a custom accessibility implementation. A movie clip or sprite that provides its own accessibility implementation is called a scripted movie clip, and it appears in the accessible object tree. The details of the accessibility implementation depend on the kind of component being implemented and are up to the component developer.
  6. To accelerate building accessible applications, Adobe built support for accessibility into Flex MX components and containers. These components and containers automate many of the most common accessibility practices related to labeling, keyboard access, and testing. They also help ensure a consistent user experience across rich Internet applications.
  7. The name property of these objects is the most important property to specify because accessibility aids provide the names of objects to users as a basic means of navigation. Do not confuse AccessibilityProperties.name with DisplayObject.name; these are separate and unrelated. The AccessibilityProperties.name property is a name that is read aloud by the accessibility aids, whereas DisplayObject.name is essentially a variable name visible only to ActionScript code.
  8. Note that Accessibility.updateProperties() is a fairly expensive method and should only we called once for a collection of updates occurring at the same time.SendEvent : Microsoft Active Accessibility handles that event and sends the event to any active screen reader application, which in turn reports the change to the user
  9. The methods of the flash.accessibility.AccessibilityImplementation class are a subset of the IAccessible interface, adapted slightly for ease of use.It class provides a set of methods that allow a component developer to make information about system roles, object based events, and states available to assistive technology. The Flash Player IAccessible interface for a scripted movie clip simply passes most calls from MSAA through to the flash.accessibility.AccessibilityImplementation subclass instance for that component.For example, when a screen reader needs to determine the default action of a mx.controls.Button component instance on the Stage in Flash Player, it calls the IAccessible method get_accDefaultAction() on the IAccessible interface exposed by the Flash Player for that component instance. The request is passed through to the get_accDefaultAction() method of the mx.accessibility.ButtonAccImpl accessibility implementation class instance, which returns the appropriate default action String for a button control, which is “Press.”
  10. Flash Player provides the flash.accessibility.AccessibilityImplementation class as a base class for creating custom accessibility implementations for Flex and Flash UI components in ActionScript 3.In Flex, this class is extended by mx.accessibility.AccImpl which serves as the base class for accessibility implementations in Flex components. You create a new accessibility implementation by extending mx.accessibility.AccImpl for each new component. The methods of the flash.accessibility.AccessibilityImplementation class are a subset of the IAccessible interface, adapted slightly to make life easier. The Flash Player&apos;s IAccessible interface for a scripted movie clip passes most calls from MSAA through to the flash.accessibility.AccessibilityImplementation subclass instance for that component. Accessibility implementations must also send event notifications to MSAA in a variety of situations. Event notifications are sent by using the flash.accessibility.Accessibility.sendEvent() method.
  11. Flex component developers need to be able to provide their own accessibility implementations for custom components. The way in which an accessibility implementation implements the IAccessible interface and the events that it sends depend on the kind of component being implemented.Consider two primary forms of guidance: First, the MSAA documentation has a list of guidelines for accessible object implementations according to component type. Second, an accessibility implementations&apos;s behavior should match as closely as possible the behavior exhibited by the equivalent form element (if any such element exists) in an HTML page inside Internet Explorer or Firefox or in the Windows operating system. This behavior can be examined using the AccExplorer, Inspect32, and AccEvent tools, available in the Microsoft Active Accessibility 2.0 SDK. Collectively, these two forms of guidance constitute an MSAA model for IAccessible implementations. This model is loosely specified. The only definitive test of an IAccessible implementation is to test it with the latest versions of screen readers.
  12. The initializeAccessibility() method is invoked by the UIComponent.initialize() method to initialize accessibility for a component instance at runtime.
  13. The createAccessibilityImplementation() method is called by the initializeAccessibility() method for the UIComponent subclass when the component initializes.All AccImpl subclasses must implement this method.The enableAccessibility() method is required for the compiler to activate the accessibility classes for a component.
  14. Update the eventHandler() method to handle any events to which the PopUpButtonAccImpl should listen from its master component. &quot;.The eventHandler() method handles events from the master component and sends the appropriate object or system event to MSAA using the flash.accessibility.Accessibility.sendEvent() method. Depending on the object or system event it receives, the MSAA system will call the IAccessible method to retrieve the appropriate value from the object that sent the event.