[ 
https://issues.apache.org/jira/browse/FLEX-26944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13722574#comment-13722574
 ] 

Ralf Bokelberg commented on FLEX-26944:
---------------------------------------

As a workaround i created a subclass of RichEditableText, that overrides the 
setter for accessibilityImplementation and checks for null in there. This 
subclass is then used in my skin for TextInput. 

This is a hack really. The issue seems to be in StandardFlowComposer, which 
wipes out a accessibilityImplementation.  Maybe somebody with a better 
understanding of the underlying framework has the time to investigate?

                
> JAWS reads s:TextInput as graphic
> ---------------------------------
>
>                 Key: FLEX-26944
>                 URL: https://issues.apache.org/jira/browse/FLEX-26944
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Accessibility
>    Affects Versions: Adobe Flex SDK 4.1 (Release)
>         Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>
>       Steps to reproduce:
> 1. Create a sample project using the code below.
> 2. Tab in and out of the text input field a couple of times.
> 3. Listen to what JAWS reads.
>  
> <?xml version="1.0" encoding="utf-8"?>
> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"; 
>                           xmlns:s="library://ns.adobe.com/flex/spark" 
>                           xmlns:mx="library://ns.adobe.com/flex/mx" 
> minWidth="955" minHeight="600" xmlns:com="com.*">
>         <fx:Declarations>
>                <!-- Place non-visual elements (e.g., services, value objects) 
> here -->
>         </fx:Declarations>
>         <fx:Script>
>                <![CDATA[
>                        
>                        import mx.events.FlexEvent;
>                        
>                        private function onFocusIn(event:FocusEvent):void
>                        {
>                                ti.text = "";
>                        }
>                        
>                        private function onFocusOut(event:FocusEvent):void
>                        {
>                                ti.text = "search";
>                        }
>                        
>                        private function onCreate(event:FlexEvent):void
>                        {
>                                ti.text = "search";
>                        }
>                        
>                ]]
>       >
>         </fx:Script>
>         <s:HGroup>
>                <s:TextInput
>                        id="ti" height="100" width="100" accessibilityName="my 
> text" focusIn="onFocusIn(event)" focusOut="onFocusOut(event)" 
> creationComplete="onCreate(event)"/>
>                <s:TextArea height="100" width="100"/>
>         </s:HGroup>
>         
>         
> </s:Application>
>  Actual Results:
>  JAWS reads TextInput as Graphic
>  
>  Expected Results:
>  JAWS should reads text edit
>  
>  Workaround (if any):
>     

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to