accessibility

Adding controls to HTML5 background video with CSS

血红的双手。 提交于 2020-05-30 06:25:40
问题 I've stuggled to find an answer to this problem, I would like to add controls to HTML5 background video, so that users can at least choose to pause the video for accessibility reasons. The built-in HTML5 "Controls" attribute work just fine but as soon as I add my CSS to put the video in the background, the controls disappear. How do I keep the controls and have the video in the background? Here is my simple HTML5 code: <div class="fullscreen-bg"> <video controls loop muted autoplay poster=

Adding controls to HTML5 background video with CSS

佐手、 提交于 2020-05-30 06:25:13
问题 I've stuggled to find an answer to this problem, I would like to add controls to HTML5 background video, so that users can at least choose to pause the video for accessibility reasons. The built-in HTML5 "Controls" attribute work just fine but as soon as I add my CSS to put the video in the background, the controls disappear. How do I keep the controls and have the video in the background? Here is my simple HTML5 code: <div class="fullscreen-bg"> <video controls loop muted autoplay poster=

Adding controls to HTML5 background video with CSS

杀马特。学长 韩版系。学妹 提交于 2020-05-30 06:24:49
问题 I've stuggled to find an answer to this problem, I would like to add controls to HTML5 background video, so that users can at least choose to pause the video for accessibility reasons. The built-in HTML5 "Controls" attribute work just fine but as soon as I add my CSS to put the video in the background, the controls disappear. How do I keep the controls and have the video in the background? Here is my simple HTML5 code: <div class="fullscreen-bg"> <video controls loop muted autoplay poster=

Showing / hiding accessibility elements in an overflow menu when opening a custom UITableViewCell

こ雲淡風輕ζ 提交于 2020-05-15 07:01:06
问题 I’m implementing accessibility in a custom UITableViewCell class. I have a fairly simple overflow menu with a couple of buttons inside it, which are hidden until an ellipsis button is pushed that slides open and closes the overflow. In my cell's initialiser I’m setting the accessibilityElementsHidden of my overflowContainer to YES . This seems to work, when scrolling through using VoiceOver, those views are skipped. Then, when opening the cell, in the completion handler of the UIView

How do I fix the Tagged Annotations fail/error for accessibility for links using pdfbox java?

怎甘沉沦 提交于 2020-05-13 14:03:36
问题 Found the solution by using adobe - https://answers.acrobatusers.com/How-I-fix-Tagged-Annotations-fail-error-accessibility-links-q228128.aspx How can I add Link-OBJR (object reference to link annotation) using pdfbox. `PDAnnotationLink txtLink = new PDAnnotationLink(); PDRectangle position = new PDRectangle(); position.setLowerLeftX(PDFUtils.lw_lft_x); position.setLowerLeftY(PDFUtils.lw_lft_y); position.setUpperRightX(PDFUtils.tp_rgt_x); position.setUpperRightY(PDFUtils.tp_rgt_y); txtLink

How do I fix the Tagged Annotations fail/error for accessibility for links using pdfbox java?

依然范特西╮ 提交于 2020-05-13 14:01:10
问题 Found the solution by using adobe - https://answers.acrobatusers.com/How-I-fix-Tagged-Annotations-fail-error-accessibility-links-q228128.aspx How can I add Link-OBJR (object reference to link annotation) using pdfbox. `PDAnnotationLink txtLink = new PDAnnotationLink(); PDRectangle position = new PDRectangle(); position.setLowerLeftX(PDFUtils.lw_lft_x); position.setLowerLeftY(PDFUtils.lw_lft_y); position.setUpperRightX(PDFUtils.tp_rgt_x); position.setUpperRightY(PDFUtils.tp_rgt_y); txtLink

How do I get the currently focused element when using VoiceOver on iOS?

放肆的年华 提交于 2020-05-11 07:37:43
问题 I have a table with cells that the user may swipe to mark them "completed". I am trying to make this accessible using VoiceOver by implementing the accessbilityScroll method. This works fine, but I can't figure out what cell has focus when the user scrolls. I only find information on how to change focus. 回答1: Hehe, Ok. I just figured it out. There is a protocol for this. Its called UIAccessibilityFocus Method: accessibilityElementDidBecomeFocused: Well, I will leave this question here to any

How do I get the currently focused element when using VoiceOver on iOS?

倖福魔咒の 提交于 2020-05-11 07:37:03
问题 I have a table with cells that the user may swipe to mark them "completed". I am trying to make this accessible using VoiceOver by implementing the accessbilityScroll method. This works fine, but I can't figure out what cell has focus when the user scrolls. I only find information on how to change focus. 回答1: Hehe, Ok. I just figured it out. There is a protocol for this. Its called UIAccessibilityFocus Method: accessibilityElementDidBecomeFocused: Well, I will leave this question here to any

What is the difference between aria-owns and aria-controls

我的未来我决定 提交于 2020-05-11 04:24:18
问题 What is the real impact on an element when using aria-owns="id" and(!) aria-controls="id" How do the browsers notify the screen readers when these two attributes are used? 回答1: Both aria-controls and aria-owns are used when the relation between the two element can't be determined from the DOM hierarchy itself. aria-controls is intended to indicate that an element controls another one. E.g. control buttons for a video for instance, a toolbar for a visual editor or a button for a collapsible

performaction ACTION_SET_SELECTION not working properly

。_饼干妹妹 提交于 2020-04-18 07:28:50
问题 I am new at working with the accessibility library of android i have a lot of troubles. But there is one i think is not my fault: I want to use the accessibilitynodeinfo to start a seekbar from the middle: if(mychildinfo.getClassName().toString().contains("SeekBar")){ Bundle b = new Bundle(); b.putInt(AccessibilityNodeInfo.ACTION_ARGUMENT_SELECTION_START_INT, 49); b.putInt(AccessibilityNodeInfo.ACTION_ARGUMENT_SELECTION_END_INT, 50); mychildinfo.performAction(AccessibilityNodeInfo.ACTION_SET