accessibility

iOS 8.4: Scroll view resets contentOffset with Voice Over enabled shortly after view appear

被刻印的时光 ゝ 提交于 2020-06-24 13:42:47
问题 With Voice Over enabled scroll views reset their preset contentOffset a second after view did appear. It happens on iOS 8.4 devices, no reproduction for 9.0. Looks some internal UIScrollViewAccessibility code forces scroll view to setContent: for zero when becoming focused. Didn't find any way to evade this. Any thoughts? Related code sample illustrates the bug. Just create a view with collection view, create a cell with reuse id "Cell" and put a label on it. @interface ViewController ()

iOS 8.4: Scroll view resets contentOffset with Voice Over enabled shortly after view appear

拟墨画扇 提交于 2020-06-24 13:42:21
问题 With Voice Over enabled scroll views reset their preset contentOffset a second after view did appear. It happens on iOS 8.4 devices, no reproduction for 9.0. Looks some internal UIScrollViewAccessibility code forces scroll view to setContent: for zero when becoming focused. Didn't find any way to evade this. Any thoughts? Related code sample illustrates the bug. Just create a view with collection view, create a cell with reuse id "Cell" and put a label on it. @interface ViewController ()

Tool tip content is not accessible using keyboard

社会主义新天地 提交于 2020-06-23 09:52:46
问题 I am unable to see the contents of the image tool tip when focussed on it using keyboard. Below is a code example: <img id= "id1" title ="title1" tabindex ="0" src="/images/home.gif" alt="title1" /> I am able to see the tool tip contents when hovered using mouse. 回答1: According to the HTML 5.2 specification, The title attribute represents advisory information for the element, such as would be appropriate for a tooltip. The specification also adds the following warning: Warning! Relying on the

How to hide a text and make it accessible by screen reader?

狂风中的少年 提交于 2020-06-22 04:34:39
问题 I have a simple text that gets updated on an action and I want that to be announced by the screen reader. But I don't want that text to be visible on the web page. I tried display: none and visibility: hidden , but seems like they are not accessible by the screen reader softwares. I found a way to make this work - that is by absolute positioning the element all the way with negative 999999 value which will make it off screen and hidden from the webpage. I am not really a fan of this solution.

Making dynamically updating content in a UITableView accessible for VoiceOver

谁都会走 提交于 2020-06-16 02:20:07
问题 I'm trying to make my app more accessible and so far the standard accessibility things like labels and hints are doing wonders. I'm hitting a problem however with dynamically updating content that's displayed in a UITableView. Each row of the table updates every second or so, but if I try to create each cell's accessibilityLabel at this point then I find that there is a problem with the VoiceOver reading out the selected label keeps interrupting itself as the label contents changes so the

How to hide CSS generated content from screen readers without HTML markup?

◇◆丶佛笑我妖孽 提交于 2020-06-08 07:59:18
问题 How would one hide CSS certain generated content (used for pure styling) from screen reader? Is it possible without using HTML hacks like aria-hidden ? E.g. I use code content: '·'; for separating stuff. I've checked facebook & other big players but they all seem to use spans with aria-hidden : <span aria-hidden="true">·</span> Does it mean it’s not possible currently? 回答1: For future references, note that according to CSS 3 documentation: Generated content should be searchable, selectable,

How to focus Buttons (or other widgets) with TalkBack turned ON in Android Device?

核能气质少年 提交于 2020-06-03 07:33:17
问题 I'm implementing Accessibility in my application. Here's the scenario : I have 4 buttons arranged horizontally at the very top of the screen (Activity). On the click of a button, I'm launching an Alert Dialog which displays something to the user. With the alert being displayed, I will still be able to perform click operations on those 4 buttons at the top of the screen. When I turn ON TalkBack (Android Accessibility Service) in Android device and click on that button, alert is getting

How to focus Buttons (or other widgets) with TalkBack turned ON in Android Device?

旧时模样 提交于 2020-06-03 07:29:41
问题 I'm implementing Accessibility in my application. Here's the scenario : I have 4 buttons arranged horizontally at the very top of the screen (Activity). On the click of a button, I'm launching an Alert Dialog which displays something to the user. With the alert being displayed, I will still be able to perform click operations on those 4 buttons at the top of the screen. When I turn ON TalkBack (Android Accessibility Service) in Android device and click on that button, alert is getting

How to change NSIS installer background color based on system color

两盒软妹~` 提交于 2020-06-01 07:32:28
问题 It seems that NSIS has hardcoded the background color to be white. Whenever high contrast is turned on, the background remains white while the text is reverted to white (to comply with high contrast). Is there a way to determine the current system colors and change the background accordingly? 回答1: If you are not using a wizard/header image that depends on the background being white you can simply do !define MUI_BGCOLOR "SYSCLR:Window" !include MUI2.nsh ... in recent versions of NSIS v3. If