accessibility

focus moving out of modal in scan mode

别等时光非礼了梦想. 提交于 2019-12-11 07:49:41
问题 I am trying to fix an accessibility bug for screen reader in an Angular2 web application(SAP). The problem is in SCAN MODE with Edge, when the modal is open and using up and down arrows to travel through focusable elements, the focus moving out to the area outside the modal. However, in normal mode, if tabbing through elements in the modal, the focus never goes out of the modal. The goal is to achieve the same experience as normal mode in scan mode. Here is the structure of modal with other

Accessibility problem in reusable TableViewCell

时光怂恿深爱的人放手 提交于 2019-12-11 07:37:42
问题 The problem is that when cells are reusable, accesibilityLabel doesn't work and VoiceOver reads zero or one when i switch to another cell with VoiceOver How can I set value to accessibilityLabel when new cells are loaded? I attach my code Celda.swift class Celda: UITableViewCell { @IBOutlet weak var label: UILabel! func setup(_ number: String) { label.text = number } override var isAccessibilityElement: Bool { get {return false } set { self.isAccessibilityElement = newValue} } private var

Accessibility accessibilityDecrement() not getting called

*爱你&永不变心* 提交于 2019-12-11 06:06:38
问题 Why are not accessibilityDecrement() and accessibilityIncrement() getting called in my custom UITextView when performing the appropriate gestures? class CustomTextView: UITextView { required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) accessibilityTraits = accessibilityTraits | UIAccessibilityTraitAdjustable } override func accessibilityDecrement() { print("Decrement") } override func accessibilityIncrement() { print("Increment") } } 回答1: Try with: isAccessibilityElement =

AccessibilityService not geting key event on softkey back,home button

痴心易碎 提交于 2019-12-11 05:49:02
问题 My AccessibilityService work fine for physical back ,home. but if user have device with soft navigation key (like nexus 4 ) it will not return key event here is my code : my goal is to block back and home button action, any idea how i can do it? Accessibility_Service.java public class Accessibility_Service extends AccessibilityService { private SharedPreferences prefs; private String TAG = "Accessibility_Service"; @Override public void onAccessibilityEvent(AccessibilityEvent event) { Log.d

Distinguish the click event from mouse vs screenreader

别来无恙 提交于 2019-12-11 05:35:39
问题 I built a drag and drop component, and it works like a charm, but now I need to make it accessible for screen reader users. I already have the implementation of the solution done. Basically its a context menu that pops when the enter is pressed and allow to move things around. This works like a charm when navigating without the SR (screen reader), because the implementation that I made listen to KeyEvents (keypress and keydown). The problem is when using the SR (I tested with NVDA), the

Unable to implement UISlider for Accessibility option in iPad

梦想与她 提交于 2019-12-11 05:23:32
问题 i am trying to implement accessibility option in my book reader app. I have a slider(similar to ibooks) which is used for navigating between pages. i have seen this question posted by another user and implemented the same code in my app. Right now my slider is responding when i'm tapping on it. The voiceover is also speaking the label i have given in the code. But, the problem is that, i am unable to change the slider value and navigate to another page.. I dont know if it is the problem with

Making my drop-down menus accessible when only using the keyboard

隐身守侯 提交于 2019-12-11 05:01:06
问题 At the moment my dropdown menus only appear when the user rolls over them. I would like it so if you pressed the TAB key the drop down would appear in the same way My menu is based on the following tutroial: http://net.tutsplus.com/tutorials/html-css-techniques/how-to-build-a-kick-butt-css3-mega-drop-down-menu/ The only thing I have updated code wise is the style in CSS Below is a section of my menu: HTML: <ul id="menu"> <li><a href="about-us.php" class="drop">About us</a> <div class=

Java: Where do I find sourcecode of WindowsAccessbridge?

为君一笑 提交于 2019-12-11 04:58:56
问题 I downloaded the Java JDK 7 source code from https://jdk7.java.net/source.html. This is a 100 MB package containing nearly all the source code - except the part that I'm interested in. The Java Access Bridge (JAB) consists mainly of WindowsAccessBridge.dll and JavaAccessBridge.dll which are running in different processes and doing the inter-process communication. In the source code package exist these folders and files: jdk\make\bridge\JavaAccessBridge\Files_cpp.gmk jdk\make\bridge

Does the aria-expanded and aria-haspopup attributes apply to <select /> elements?

对着背影说爱祢 提交于 2019-12-11 04:11:13
问题 From the W3C wiki When authors use collapsible content, for example, to hide navigation menus or lists of content, the triggering link or button should indicate to screen reader users whether the collapsable content below is in the expanded or in the collapsed state. The aria-expanded attribute is used for this purpose. Does this include <select> elements or is this only for navigation items? 回答1: The select element can accept any global aria-* attribute, and any aria attribute applicable to

Changing form to include a submit button for WCAG

℡╲_俬逩灬. 提交于 2019-12-11 03:59:32
问题 I currently have a form like so: <form action="#"> <select {if $isPostRequest}disabled="disabled" {/if}size="1" name="locale" onchange="location.href={if $languageToggleNoUser}'{$currentUrl|escape}{if strstr($currentUrl, '?')}&{else}?{/if}setLocale='+this.options[this.selectedIndex].value{else}('{url|escape:"javascript" page="user" op="setLocale" path="NEW_LOCALE" source=$smarty.server.REQUEST_URI}'.replace('NEW_LOCALE', this.options[this.selectedIndex].value)){/if}" class="selectMenu">{html