via Mobile Accessibility: How WCAG 2.0 and Other W3C/WAI Guidelines Apply to Mobile.
This document, “Mobile Accessibility: How WCAG 2.0 and Other W3C/WAI Guidelines Apply to Mobile” describes how the Web Content Accessibility Guidelines (WCAG) 2.0 [WCAG20] and its principles, guidelines, and success criteria can be applied to mobile web content, mobile web apps, native apps, and hybrid apps using web components inside native apps. It provides informative guidance, but does not set requirements. It also highlights the relevance of the User Agent Accessibility Guidelines 2.0 [UAAG20] in the mobile context.
This document is intended to become a Working Group Note and is part of a series of technical and educational documents published by the W3C Web Accessibility Initiative (WAI).
via Flash-Free Clipboard for the Web ✩ Mozilla Hacks – the Web developer blog.
As part of our effort to grow the Web platform and make it accessible to new devices, we are trying to reduce the Web’s dependence on Flash. As part of that effort, we are standardizing and exposing useful features which are currently only available to Flash to the entirety of the Web platform.
via Find the median of two sorted arrays – Growing with the Web.
Let’s start with the trivial case, this problem could easily be solved by merging the two arrays into a single array. Merging can use the merge portion ofmerge sort which runs in O(n)O(n) time, and then the median could be retrieved by grabbing the middle element(s) in O(1)O(1) time. But is it possible to get the median using a sub-linear solution?
Laravel has added support for middleware parameter since version 5.1 . So it is nice that we can pass middleware parameter from Routes.php or from controller. Let’s see an example. or in controller constructor and in middleware handle function you can catch argument which is passed as mentioned below: