accessibility

Moving Accessibility Voiceover cursor focus to a specific element

别说谁变了你拦得住时间么 提交于 2019-12-21 04:08:33
问题 I'm having an issue with moving the voiceover cursor to a specific element on viewDidAppear. I followed Apple's guidelines for focusing on a specific element, in this case a dismiss button, but the cursor ends up elsewhere Here is my Code: - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; UIAccessibilityPostNotification(UIAccessibilityScreenChangedNotification, self.dismissButton); } Any help, ideas, would definitely be appreciated! thank you so much. 回答1: If I remember

Is there an online emulating screen reader tool to test against a custom web page? [closed]

允我心安 提交于 2019-12-21 04:02:14
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . We are concerned about accessibility on our web site and would like to see how it is perceived and decoded by a common screen reader? 回答1: No. At least not one that is any good nor represents how a screen reader actually reads a page or responds to ARIA. The best answer is to test in real screen readers, ideally

Is there an online emulating screen reader tool to test against a custom web page? [closed]

我的梦境 提交于 2019-12-21 04:02:04
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . We are concerned about accessibility on our web site and would like to see how it is perceived and decoded by a common screen reader? 回答1: No. At least not one that is any good nor represents how a screen reader actually reads a page or responds to ARIA. The best answer is to test in real screen readers, ideally

How to create accessible focus groups in ConstraintLayout?

只愿长相守 提交于 2019-12-21 03:18:33
问题 Imagine you have a LinearLayout inside a RelativeLayout that contains 3 TextViews with artist, song and album : <RelativeLayout ... <LinearLayout android:id="@id/text_view_container" android:layout_width="warp_content" android:layout_height="wrap_content" android:orientation="vertical"> <TextView android:id="@id/artist" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Artist"/> <TextView android:id="@id/song" android:layout_width="wrap_content" android

How to programmatically simulate a mouse click without moving mouse in Cocoa

心已入冬 提交于 2019-12-21 02:04:08
问题 I am interested in simulating a mouse click event/keyboard stroke on Mac OS X without actually moving the mouse. In Windows, it is possible to do this using messages: win32: simulate a click without simulating mouse movement? Is there an analog of this for Mac OS X? I am aware of Quartz Event Services, but it seems that that API would only restrict me to sending events to the current key window. Is this true? Is it possible to send keyboard/mouse events to non-key windows? I really just need

How to programmatically simulate a mouse click without moving mouse in Cocoa

南笙酒味 提交于 2019-12-21 02:04:04
问题 I am interested in simulating a mouse click event/keyboard stroke on Mac OS X without actually moving the mouse. In Windows, it is possible to do this using messages: win32: simulate a click without simulating mouse movement? Is there an analog of this for Mac OS X? I am aware of Quartz Event Services, but it seems that that API would only restrict me to sending events to the current key window. Is this true? Is it possible to send keyboard/mouse events to non-key windows? I really just need

Get currently selected text in active application in Cocoa

╄→尐↘猪︶ㄣ 提交于 2019-12-20 19:08:13
问题 I have a status-menu app that can be started using a system wide shortcut. When the app gets active, it would be great if I could somehow get the text that is selected in the currently running application. So for example I type something in my text-editor, select the text, hit my global shortcut, my app comes up and I would now love to know the selected text from the text-editor. What I have so far is the following (adopted code from How to get global screen coordinates of currently selected

How does CSS opacity affect accessibility?

喜欢而已 提交于 2019-12-20 17:28:11
问题 After browsing a number of Google and other SO articles, I've decided to ask my question plainly in hopes of a simple, direct answer. To add one further step to the discussion on Does opacity:0 have exactly the same effect as visibility:hidden: I understand that display:none and visibility:hidden hide elements from screenreaders and the like, but what about opacity:0 ? The table in one of the answers to the linked question notes that opacity participates in taborder , so does that necessarily

Drawbacks to line-height without unit?

家住魔仙堡 提交于 2019-12-20 10:33:07
问题 Are there any drawbacks(browser/device inconsistency...) in specifing line height without unit? Example: body { line-height: 1.5; } 回答1: In most cases, it's actually better to use unitless line-height - see http://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/ https://developer.mozilla.org/en/CSS/line-height - see the notes where they show an example Of course, there are exceptions. The first one that comes to mind is when you have a block element with a known height and with

Drawbacks to line-height without unit?

天涯浪子 提交于 2019-12-20 10:32:26
问题 Are there any drawbacks(browser/device inconsistency...) in specifing line height without unit? Example: body { line-height: 1.5; } 回答1: In most cases, it's actually better to use unitless line-height - see http://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/ https://developer.mozilla.org/en/CSS/line-height - see the notes where they show an example Of course, there are exceptions. The first one that comes to mind is when you have a block element with a known height and with