accessibility

UIAccessibilityContainer in child view controllers?

限于喜欢 提交于 2019-12-23 22:04:43
问题 I have a parent UIViewController to which I add four child view controllers. I’m trying to manage accessibility throughout those controllers. I have a status enum which keeps track of which of those children are visible on-screen, so when that changes, I’m updating the accessibilityElementsHidden of the children as appropriate, and sending a LayoutChanged notification. My question relates to implementing the UIAccessibilityContainer protocol in both the parent view controller, and inside each

How effective are unordered lists <ul>s as navigation in terms of SEO, accessibility, etc?

限于喜欢 提交于 2019-12-23 19:49:20
问题 As far as SEO and accessibility are concerned, are <ul> s a good approach towards building simple navigation menus? As point of reference, I try to test all of my sites through Lynx, just to help ensure accessibility, and <ul> s seem to be the most sufficient in terms of their display in Lynx, but can this really be used as a good rule-of-thumb for SEO? 回答1: Most CSS navigation menus are built as unordered lists -- even horizontal nav bars are generally just unordered lists with the bullets

Data-title/data-original-title attributes and accessibility

风格不统一 提交于 2019-12-23 17:58:40
问题 I have been searching for information about the attributes data-title and data-original-title. My issue is that Twitter Bootstrap converts the title-attribute into a data-original-title and I am not sure that this is what I want. What about screen readers for instance? Do they treat the data-title as a title, or do they ignore it? If I use one of those data-attributes, do I have to add a title-attribute as well? 回答1: The custom data-* attributes are defined for HTML5. They are "intended to

How do some sites disallow changing font size?

醉酒当歌 提交于 2019-12-23 17:33:06
问题 I almost always browse the web with a much bigger font size than default. Makes it much easier to read. But once in a while I notice that some websites don't allow enlarging the font, at least on Chrome. Like this website for example: http://en.support.wordpress.com/domains/map-existing-domain/ I am curious, both (a) as to why Chrome allows sites to do that and (b) as to how that is done. Can someone explain? 回答1: a) God knows, because browser vendors love to implement things that are bound

UIAccessibilityFocus protocol not working

荒凉一梦 提交于 2019-12-23 17:26:16
问题 I want to know when a user shifts the focus away from an accessibility element. I have tried overriding the accessibilityElementDidLoseFocus() and accessibilityElementDidBecomeFocused() methods but the methods doesn't seem to be called upon when I navigate to other elements in VoiceOver accessibility mode. I have no idea what is wrong. Is there anything else that I should do to activate these methods? override func accessibilityElementDidBecomeFocused() { println("become focused") } override

Why <table> is not good for layout while <div> is? for screen reader users

岁酱吖の 提交于 2019-12-23 17:14:34
问题 What is the problem with <table> tag which is not with <div> for screen reader users? Please Explain with example. 回答1: I guess because you can communicate a proper table via audio, but can not parse a table used for layout and speak it sensibly. Example Title | Age Bob | 6 Greg | 10 This can be spoken. But what about this? [img] | Welcome to my site | [img] News | [img] How do you think that would be read to a visually impaired person? It all comes down to semantics. A table used for layout

Does aria-hidden=true mean you don't have to use display:none?

醉酒当歌 提交于 2019-12-23 15:51:09
问题 I have heard that applying display:none to things that are not visible is more accessible then changing opacity. However using display:none messes up some of my css animations that are progressively layered onto the core functionality. Is it accessible if in my css the element is hidden with opacity:0 and give the element the aria-hidden=true role, or should the element also have display:none ? Another factor to be considered is the aria roles are controlled by javascript (the css has a

Silverlight that degrades to html

非 Y 不嫁゛ 提交于 2019-12-23 09:53:06
问题 I am interested in creating a website entirely in silverlight (personal reasons) but I don't want people who don't yet have silverlight (a good many) to have to install a plugin just to view my site. The solution I am leaning towards is to start with a flat html/css version of the site and present the silverlight version only to people who already have it installed. My question is this: Is my reasoning misguided. Is there a better way to go about this. And what is the best way to avoid having

Android TalkBack and fragment stack

ぃ、小莉子 提交于 2019-12-23 09:43:55
问题 For an application that I work on, I need to implement accessibility. Everything works fine except for one screen where I have to fragments added to my activity. Basically, the fragment that is above is a dial keyboard to enter a passcode. This fragment is added with a fragmentTransaction. The thing is that the talkback focus is set on the elements of the underneath fragment. Do you know if there is a way to set the talkback focus on the dial fragment ? I just want to "disable" the fragment

How to get Jaws to read aria-describedby attribute

我与影子孤独终老i 提交于 2019-12-23 09:37:55
问题 The problem is as mentioned in the title and here is what I have as my HTML code. <li> <a id="blog-setup" href="https://illinois.edu/toolbox/0.portlet?componentId=13&desktopId=1" aria-describedby="readme">setup</a> </li> <div id="readme">HELLO WORLD</div> What happens is Jaws states the following: "Link setup...press the Jaws key, alt key, and R to read the aria-describedby". What I expect would be for Jaws to say "Link setup Hello World". 回答1: The behavior is what is intended (I'm not saying