accessibility

when VoiceOver is on, is there a way an app can detect a single-finger (left-right)swipe?

ε祈祈猫儿з 提交于 2019-12-20 03:19:52
问题 When VoiceOver is active on an iOS device, the single-finger swipe(left or right) gesture allows users to browse the different elements in the view. Is there a way to detect if a user used the single-finger swipe gesture when using voiceover? 回答1: You might be asking either of 2 things: You want to know when the VoiceOver user successfully issued the single-finger swipe left/right gesture to VoiceOver - VoiceOver will process ("steal") the gesture from your code and do its thing (move

blind/visually impaired - Redirect to Accessible website

て烟熏妆下的殇ゞ 提交于 2019-12-20 02:55:12
问题 Is there a way to add something on selected page on a web site that said to people using accessible software, like NVDA, to go to the page X for full accessibility. I have some page with a lot of thing hard to make accessible and keeping the user design. Think like a mobile page where you can redirect to mobile.mysite.com I want mysite.com/mySelectedFolder/index.xyz?accessibilty=on This page will remove all user graphic, javascript and other things that cause difficulty to NVDA. Probably

Tables and Screen Readers

ぐ巨炮叔叔 提交于 2019-12-20 02:54:56
问题 I seem to be having troubles getting a screen reader to read simple tables. I have the HTML below: <table alt="Account Information"> <tr> <th scope='row'>Account Number:</th> <td>1111 1111 1111</td> <td>&nbsp&nbsp<td/> <th scope='row'>Reference Number:</th> <td>XXXX XXXX XXXX</td> </tr> </table> When the screen reader hits this table it says "Table. 0 Columns. 0 Rows." I have tried many examples online and tried to use that WCAG2.0 standards as a guide line, but it doesnt seem to work. I have

Unity Final VR IK (Asset) lock person in sitting position

余生颓废 提交于 2019-12-20 02:53:04
问题 Currently I am working on a game for people with accessibility restrictions. I am having the issue of locking the player model in a sitting position. If the user does not center themselves in the room the player model will be pulled to a certain direction. I would like to lock the player model in a seat and only allow for arm movements and head rotations, no leaning or moving in the game using the HMD. Since I am using the Final VR IK asset I have tried using their demo for sitting position

AutomationProperties.LiveSetting not working in WPF in .NET Framework 4.7.1

纵饮孤独 提交于 2019-12-20 02:45:25
问题 I have a TextBlock and I want to track that control from Screen reader and whenever a new value is set to the control in code, the screen reader should readout the new text. This is available in WPF from .NET framework 4.7.1 which is mentioned in the MSDN LINK. But I am always getting null for the AutomationPeer value. What am I missing in the code? Am I doing it in the right way? Please help. XMAL <Window x:Class="WPFAccessibility.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006

If an element is wrapped by a label, does the label require the “for” attribute?

让人想犯罪 __ 提交于 2019-12-19 19:56:43
问题 Say I have a set of radio <input> s. I'm not a caveman, so I know I need to associate <label> with those <input> s. I'm fond of wrapping the radio buttons within their corresponding labels, for reasons enumerated here. So, for example: <fieldset> <legend>Should I provide a "for" attribute?</legend> <label><input type="radio" name="define_the_for_attribute" id="define_the_for_attribute_yes" value="yes" />Yep, if you know what's good for you</label> <label><input type="radio" name="define_the

Is it possible to assign an accessibility action to a UILabel?

时光毁灭记忆、已成空白 提交于 2019-12-19 19:56:15
问题 In our current UI, next to certain labels, we have a help-tip button that when clicked, explains the details of what the label references. As such, VoiceOver identifies these two items as separate accessibility items. However, when using accessibility, we're hoping we can just do everything in the label itself. This way when the label gets focused, the user will here 'Account value, $20 (the accessibilityLabel), double-tap for help (the accessibilityHint)' However, unlike a button, a label

C++, linux: how to limit function access to file system?

烂漫一生 提交于 2019-12-19 11:49:32
问题 Our app is ran from SU or normal user. We have a library we have connected to our project. In that library there is a function we want to call. We have a folder called notRestricted in the directory where we run application from. We have created a new thread. We want to limit access of the thread to file system. What we want to do is simple - call that function but limit its access to write only to that folder (we prefer to let it read from anywhere app can read from). Update: So I see that

Detect if 'High contrast' is enabled in Android accessibility settings

大兔子大兔子 提交于 2019-12-19 10:32:13
问题 How can I detect if 'High Contrast' setting (available on Android 5.0+) is enabled in Accessibility settings? 回答1: In the AccessibilityManager class (see source here) you have a public method called isHighTextContrastEnabled that you can use to get your information: /** * Returns if the high text contrast in the system is enabled. * <p> * <strong>Note:</strong> You need to query this only if you application is * doing its own rendering and does not rely on the platform rendering pipeline. * <

Detect if 'High contrast' is enabled in Android accessibility settings

心已入冬 提交于 2019-12-19 10:32:13
问题 How can I detect if 'High Contrast' setting (available on Android 5.0+) is enabled in Accessibility settings? 回答1: In the AccessibilityManager class (see source here) you have a public method called isHighTextContrastEnabled that you can use to get your information: /** * Returns if the high text contrast in the system is enabled. * <p> * <strong>Note:</strong> You need to query this only if you application is * doing its own rendering and does not rely on the platform rendering pipeline. * <