accessibility

Display:none on fading carousel breaks accessibility

淺唱寂寞╮ 提交于 2020-01-17 07:27:08
问题 I've got a twitter fading carousel type thing going at the bottom of http://seontario.org. It uses display:none to show and hide the tweets. But display:none doesn't work with screen readers because they don't render that content. Any thoughts on how to do this so that it would be accessible? // TWITTER FEED jQuery(document).ready(function($){ var latesttweets = $(".latest-tweets ul li"); var tweetIndex = -1; function showNextTweet() { ++tweetIndex; latesttweets.eq(tweetIndex % latesttweets

legality of div tag immediately under html tag

我的梦境 提交于 2020-01-17 06:58:48
问题 I was running lynx to test some HTML I had to do, because having accessibility in mind. I guessed that, if looked pretty in Lynx, the whole range of screen readers, crappy phones and other stuff would do OK, even most ancient hardware. In some cases I was using a shortcut in case I wanted to wipe out all static HTML at a once for the regular case of when JS is supported and enabled, consisting in nesting all the static HTML tags in an identified div tag to be wiped out. Later I realized that

Flash Accessibility, detect screen reader

风流意气都作罢 提交于 2020-01-16 18:21:29
问题 I'm working on making a SWF application accessible for visually impaired people who use JAWS or Windows Eyes. I installed both JAWS and Windows Eyes demo versions. When running my swf (locally) in a browser on a html page, Capabilities.hasAccessibility turns out true, but Accessibility.active turns out false, every time - even when checking it after a couple of seconds. Is it because I am using demo versions or am I just missing out on something like setting a parameter for SWFObject perhaps?

Flash Accessibility, detect screen reader

拜拜、爱过 提交于 2020-01-16 18:20:28
问题 I'm working on making a SWF application accessible for visually impaired people who use JAWS or Windows Eyes. I installed both JAWS and Windows Eyes demo versions. When running my swf (locally) in a browser on a html page, Capabilities.hasAccessibility turns out true, but Accessibility.active turns out false, every time - even when checking it after a couple of seconds. Is it because I am using demo versions or am I just missing out on something like setting a parameter for SWFObject perhaps?

How to grant Accessibilty access in Xcode

倾然丶 夕夏残阳落幕 提交于 2020-01-16 09:01:28
问题 I'm struggling to get Accessibility permission in Xcode. I have the following (working) code: func checkAccess() -> Bool{ //get the value for accesibility let checkOptPrompt = kAXTrustedCheckOptionPrompt.takeUnretainedValue() as NSString //set the options: false means it wont ask //true means it will popup and ask let options = [checkOptPrompt: true] //translate into boolean value let accessEnabled = AXIsProcessTrustedWithOptions(options as CFDictionary?) if accessEnabled == true { print(

Android - Use SYSTEM_OVERLAY to change touch events

China☆狼群 提交于 2020-01-16 04:37:11
问题 My question is pretty much similar to this one. The question was asked almost 3 years ago and was not answered yet. My goal is to catch all touch-events using a system-overlay (see code below), change the event's parameters (i.e. event.x = event.getX()+5) and pass it on to the current running application (any application). Currently, I can catch all MotionEvent's by using the TYPE_PHONE flag OR pass all of the events to to the current application by using the TYPE_SYSTEM_OVERLAY, but not both

Java Swing JEditorPane and Screen Readers

╄→尐↘猪︶ㄣ 提交于 2020-01-16 00:33:08
问题 I've been looking for the last few days and can't find an answer anywhere. I'm trying to make an accessible IDE in Java Swing. The only thing I'm having problems with, is emulating behavior that happens in other text text editors. I want the screen reader (JAWS, in particular) to read whatever is in the selected line of the text area (not like highlighted, just wherever the cursor is - that whole line). If I try this in Eclipse, or even notepad, whenever I use the arrow keys to move the text

Extract content stream(Images, Text and graphics) with in a BBOX. And place it back in new PDF without loosing any style?

怎甘沉沦 提交于 2020-01-15 11:55:10
问题 I have existing content stream in pdf. And I wanted to extract the content stream under the below bounding box's. 1st BBox the graphics, text content stream . 2nd BBOX text, some math equations related content stream. 3rd BBOX Image plus text content stream is there. So I want to extract the all content stream with in the bbox? After extracting content stream I will do tagging related manipulation in content stream and I want to place it back to new PDF? This operations I wanted to do by

NVDA reads all modal content after reading the focused element in modal dialog

三世轮回 提交于 2020-01-15 10:26:13
问题 I have implemented a requirement to focus the first tab(basically an <a> element) present inside the modal dialog. When using NVDA screen reader to test the feature, it is observed that after reading dialog label and description (pointed by aria-labelledby and aria-describedby) it reads the focused tab element. However, after that it continues on to read the entire modal dialog content starting with modal heading. This is not the desired reading behavior we want. If we put focus on the first

RSpec 2 View test to validate accessible markup?

和自甴很熟 提交于 2020-01-15 08:45:47
问题 I want to make some basic accessibility tests in RSpec (obviously, to be further validated by other tools and users later; this is to catch the low-hanging fruit like finding images w/o alt tags and such) Most of the examples have just checking content is present is similar; what I want to do is get a list of tags, and then make assertions that "all" the tags found meet certain criteria (e.g. all images have to have either an alt or a longdesc; each form input needs either a label or title,