accessibility

Disabling accessibility for a table column

爱⌒轻易说出口 提交于 2019-12-11 16:33:21
问题 I have a normal NSTableView that displays a list of tracks. I have dedicated a table column to displaying an icon that indicates which track is currently playing. I'm working on adding fuller VoiceOver support and I don't like how when each row in the table is selected the first thing said is "image". I would like to disable accessibility for that specific table column. I know I can do this by subclassing either NSTableView and/or NSTableColumn to return YES from accessibilityIsIgnored. Is

“Inspect.exe” can't find some elements on my laptop, why?

时光毁灭记忆、已成空白 提交于 2019-12-11 15:58:10
问题 I want to automate an application via Pywinauto on my laptop but all the elements are not seen. “Inspect.exe” cannot find some elements of my application on my laptop whilst it finds them on other computers. For example on my laptop “Inspect.exe” cannot show highlight rectangle of the leaves of a treeview whilst it can on other computers. How can i fix it on my laptop? Is it a setting of the Os (Windows 7) or a setting of "inspect.exe"? 回答1: I finally managed to have all the elements of my

Android SeekBar talkback, talking too much

≯℡__Kan透↙ 提交于 2019-12-11 13:45:43
问题 (Android) On a music player, you update the seekbar as expected with this: PRECISION_SEEKBAR = 100000; ((SeekBar) findViewById(R.id.seekBar2)).setMax(PRECISION_SEEKBAR); timerSeekBarUpdate.scheduleAtFixedRate(new TimerTask() { @Override public void run() { runOnUiThread(new Runnable() { final SeekBar seekBar = (SeekBar) findViewById(R.id.seekBar); @Override public void run() { if (control == null || player == null) { cancel(); return; } seekBar.setProgress((int) (player.getCurrentPosition() *

How to define screen reader sequence for a web page

自闭症网瘾萝莉.ら 提交于 2019-12-11 13:36:54
问题 I'm working on an accessibility task for a mobile web app (HTML+Angular+ARIA). I tested some potential ways: aria-flowto and aria-owns , not working for web page tabIndex , not working In my local test with iOS 9.2.1 Safari, the default screen reader is linear way from top. Is there a way I can define elements reading order? Like what aria-flowto is doing. 回答1: aria-flowto is supposed to provide this sort of functionality (and it is the only proposed way to do so) but it has not been

IHTMLElement -> IAccessible

旧时模样 提交于 2019-12-11 13:13:20
问题 How to get IAccessible from IHTMLElement? I have receive "Interface is not support" error. 回答1: Not all HTML elements are accessible. See Accessible HTML Elements (there's also a list of accessible elements below). You might have hit an element that is not meant to be accessible. 回答2: Use IServiceProvider::QueryService - full details at this article. Basic idea is that QueryService is like a less strict version of QI: QI requires that all the interfaces are part of the same COM object and

setting text color to transparent for hiding accessibility content?

放肆的年华 提交于 2019-12-11 11:56:25
问题 I have a bunch of tags with background-images properties that I would like to give some content for screenreaders but I obviously can't give it an alt attribute since they are not <img> tags. Would screenreaders be able to read the content as long as I set the text color to transparent? I would not like to use display:none or visibility:hidden as I've read that screenreaders will not read those content and can also be penalized by google for hiding content. What are my options to accomplish

Accessible, 508 compliant Ajax Pagination

落花浮王杯 提交于 2019-12-11 11:56:05
问题 I am trying to make my Ajax-enabled table pagination 508-compliant (accessible using JAWS version 9). I have a table header cell with a link which executes a jQuery ajax request onclick with a callback to update the table. I've had success using a "spacer" image inside the link body with alt text conveying sort information to JAWS users (note: tooltips are not read by default by JAWS) but which is not seen by sighted users. However, when a JAWS user navigates to the link (using the up and

What is preferred accessible and semantically correct method to code this type of data design?

被刻印的时光 ゝ 提交于 2019-12-11 11:48:26
问题 What is preferred accessible and semantically correct method to code this type of data design? Table UL, LI DIV,SPAN For icons should i use for each place or i should is icon from CSS sprites? If we use css sprite here then how to code, and what will happen when images will be disabled ? Every link will open in new window and I have to indicate about file size also for both sighted and blind users? So what is the best method to make this design and what is best method to show icon and to

How to tell a screen reader to use an attribute instead of the link text?

风流意气都作罢 提交于 2019-12-11 11:45:09
问题 I have a link within an unordered list as follows: <li class="savelink"> <a href="/save"><span>Save</span></a> </li> Normally the screen readers read "Save". Is it possible, and with which attribute, to change that without changing the actual link text? The business need is to have a link, styled with an icon. The icon will be complementary to the link text. For example: An icon of a "+" sign and a link text "menu" that is equal to the "add menu item" action. I tried aria-label, with no

How to do Android Accessibility for custom viewgroups

眉间皱痕 提交于 2019-12-11 11:39:19
问题 I have a CustomViewGroup that extends from a ViewGroup. In it I have 2 text views and 3, 4 different buttons that I inflate from different XML files. My problem is that it does not seem to be accessible. What do I need to do at my end to see whats the problem? Can you someone please point me to a good article or resource about accessibility ? The Androiid docs are very hard for me to follow. I am specifically looking for source code for extending ViewGRoups and using it. Thanks 回答1: You