Google Chrome accessible tree cache issue with UI Automation

Scrolling in simple pages is optimized to not require computation from the renderer. Only the compositor and the GPU are needed to scroll therefore the render tree which is only updated from the renderer is still the same. Requiring the renderer to traverse the DOM and update the Accessibility tree during a scroll runs contrary … Read more

Default html form focus without JavaScript

You can do it in HTML5, but otherwise, you must use JavaScript. HTML5 allows you to add autofocus to your form element, eg: <input type=”text” name=”myInput” autofocus /> This does work in browsers which support HTML5 (Or rather, browsers which support this particular part of HTML5) but as you know, not everybody can use it … Read more

Simulating tremor (from e.g. Parkinson’s Disease) with the mouse on a webpage?

I made a quick demo of something that you hopefully should be able to base your code on, using the Pointer Lock API. I forked this pointer-lock-demo repo and modified it to add a random movement element. Here is the link to my GitHub page: https://aristocrates.github.io/pointer-lock-demo And here is the link to my repo: https://github.com/aristocrates/pointer-lock-demo … Read more

‘Missing contentDescription attribute on image’ in XML

Follow this link for solution: Android Lint contentDescription warning Resolved this warning by setting attribute android:contentDescription for my ImageView android:contentDescription=”@string/desc” Android Lint support in ADT 16 throws this warning to ensure that image widgets provide a contentDescription This defines text that briefly describes the content of the view. This property is used primarily for accessibility. … Read more

input type=”submit” Vs button tag are they interchangeable? [duplicate]

http://www.w3.org/TR/html4/interact/forms.html#h-17.5 Buttons created with the BUTTON element function just like buttons created with the INPUT element, but they offer richer rendering possibilities: the BUTTON element may have content. For example, a BUTTON element that contains an image functions like and may resemble an INPUT element whose type is set to “image”, but the BUTTON element … Read more

File not found.