accessibility

AX ERROR when using Accessibility Inspector for iOS app.

二次信任 提交于 2019-12-12 08:21:19
问题 I'm testing an iPhone app with the simulator. Whenever I click on certain elements, I receive this error in console: AX ERROR: Could not find my mock parent, most likely I am stale. This error does not seem to cause any side-effects. I can use the app and examine the elements freely. Any idea what it may be caused by? 回答1: https://github.com/freerangecode/FRCTableViewDataSources/commit/8d6fbfe8520a94275dd1e1e175ee445e4e0f2b01 Change made to fix issue, you might need to pull changes and update

Accessibility Identifier not visible in Accessibility Inspector with iOS Simulator

自作多情 提交于 2019-12-12 07:56:46
问题 I wanted to use the Accessibility Inspector to verify all the accessibility identifiers in my app running in the simulator (iOS 9.2). Accessibility Inspector is able to return multiple accessibility fields but not the identifiers. Any idea why and how I could see them ? 回答1: You will never be able to (without changes from Apple) see this property in Accessibility Inspector, because it isn't really used for accessibility. That it is associated with accessibility is a misnomer, related to

Web accessibility

五迷三道 提交于 2019-12-12 06:49:08
问题 So we should make accessible web sites, providing alt attribute for img elements and all other stuff. But although this effects comparatively lesser number of users, I could not find any information to the issues that effects each and every user. Let me explain. If we were to simplify matters by saying that web sites should provide the most revelant information in the least amount of time, would I be wrong? Given this axion if I were to 1 - Want to download the offline version of Acrobat

Missing Tooltip for Facebook/Twitter icons

眉间皱痕 提交于 2019-12-12 06:22:00
问题 In a webpage,there was no tooltip present for Facebook/Twitter icons.When I inspected the code for the webpage, I saw :the title attribute value was missing as highlighted in the code below. <a onclick="ga('send', 'social', 'Facebook', 'send''https://www.Website');" href="https://www.Website" **title** target="_blank" ><img src="http://www.Website/themes/act/images/facebook-mouseover.jpg" alt="Facebook" ></a> Please suggest the accessibility issue that might occur if "title" has no value in

With same navigation on 2 places in every page, one is in dropdown and again is in left sider bar will it create difficulties for screen reader user?

假装没事ソ 提交于 2019-12-12 05:04:15
问题 If i have same navigation on 2 places in every page , one is in dropdown and again is in left sider bar will it create difficulties for screen reader user? 回答1: It shouldn't be an issue. Assuming the drop down is a combo box there won't be duplicate text spoken since screen readers only read the selected item in a combo box by default not the entire list of items. I find links are the best way for me to navigate a frequently used page since most screen readers have the ability to generate a

jQuery toggle with cookies: how to get collapsed state by default and remain accessible?

别来无恙 提交于 2019-12-12 04:00:28
问题 I am a total beginner, so excuse my inability to see an obvious solution (if there is one). That said, I have scoured the interweb for an answer to this and have only run into the same question. What I've got working so far: using what I found at http://www.tobypitman.com/multiple-collapsable-panels-with-cookies/, I've managed to get multiple containers to toggle between display:block and display:none , and I'm setting cookies with Klaus Hartl's cookie.js. Everything works terrifically!

Firing touchesBegan on a MKMapView with VoiceOver enabled

*爱你&永不变心* 提交于 2019-12-12 03:43:55
问题 As an exercise with accessibility and a personal challenge to myself I decided that I'd like to write a relatively simple app. The app would show an MKMapView of the United States and when you tap anywhere on it, it uses an MKReverseGeocoder to show you the locality, state and country where you tapped. This works fine, although I have to hijack the touch events by adding a WildcardGestureRecognizer to the MKMapView . This works great with VoiceOver turned off. When I turn VoiceOver on and tap

If an HTML element has role=“button” should it also have the attribute “name”

三世轮回 提交于 2019-12-12 03:37:18
问题 If a HTML5 <div> element requires a role="button" attribute to secure a success outcome in an accessibility audit (Success Criterion 4.1.2 [Name, Role, Value]..the div is acting as a button in a UI), does it then also require a valid name attribute (which would normally be invalid HTML5 for a div ). If the answer is no - what other accessibility friendly attribute can I add to describe the div button and meet the criteria? A simple title attribute or aria-label ? 回答1: I think the original

Setting title for checkbox in primefaces datatable with multiple selection column

為{幸葍}努か 提交于 2019-12-12 02:17:22
问题 I want to set titles for checkboxes in a primefaces datatable with a multiple selection column. As an example I use a snippet of the primefaces showcase (http://www.primefaces.org/showcase/ui/data/datatable/selection.xhtml). <p:dataTable id="checkboxDT" var="car" value="#{dtSelectionView.cars6}" selection="#{dtSelectionView.selectedCars}" rowKey="#{car.id}" style="margin-bottom:0"> <p:column selectionMode="multiple" style="width:16px;text-align:center"/> </p:dataTable> The column in this

Accessibility of members of top level class in inner class?

耗尽温柔 提交于 2019-12-12 02:08:45
问题 I have a query regarding accessibility of top level class from member inner class. I have just read the reason why local or anonymous inner classes can access only final variables.The reason being JVM handles these two classes as entirely different classes and so, if value of variable in one class changes, it can't be reflected at run time in another class file. Then, my question is that how an inner member class (non-static) can have access to members to members of top level class, as JVM is