Go to page: 1 2 3 4 5 ...Last Page
Collapse All or Click on Date icon

9

Jul

Media Fragment URI Specification in Last Call WD

Source: Silvia Pfeiffer

Written by: silvia on Fri, 09 Jul 2010 10:44:20 -0500

After two years of effort, the W3C Media Fragment WG has now created a Last Call Working Draft document. This means that the working group is fairly confident that they have addressed all the required issues for media fragment URIs and their implementation on HTTP and is asking for outside experts and groups for input. This is the time for you to get active and proof-read the specification thoroughly and feed back all the concerns that you have and all the things you do not understand!

The media fragment (MF) URI specification specifies two types of MF URIs: those created with a URI fragment (“#”), e.g. video.ogv#t=10,20 and those with a URI query (“?”), e.g. video.ogv?t=10,20. There is a fundamental difference between the two that needs to be appreciated: with a URI fragment you can specify a subpart of a resource, e.g. a subpart of a video, while with a URI query you will refer to a different resource, i.e. a “new” video. This is an important difference to understand for media fragments, because only some things that we want to achieve with media fragments can be achieved with “#”, while others can only be achieved by transforming the resource into a different new bitstream.

This all sounds very abstract, so let me give you an example. Say you want to retrieve a video without its audio track. Say you’d rather not download the audio track data, since you want to save on bandwidth. So, you are only interested to get the video data. The URI that you may want to use is video.ogv#track=video. This means that you don’t want to change the video resource, but you only want to see the video. The user agent (UA) has two options to resolve such a URI: it can either map that request to byte ranges and just retrieve those – or it can download the full resource and ignore the data it has not been requested to display.

Since we do not want the extra bytes of the audio track to be retrieved, we would hope the UA can do the byte range requests. However, most Web video formats will interleave the different tracks of a media resource in time such that a video track will results in a gazillion of smaller byte ranges. This makes it impractical to retrieve just the video through a “#” media fragment. Thus, if we really want this functionality, we have to make the server more intelligent and allow creation of a new resource from the existing one which doesn’t contain the audio. Then, the server, upon receiving a request such as video.ogv#track=video can redirect that to video.ogv?track=video and actually serve a new resource that satisfies the needs.

This is in fact exactly what was implemented in a recently published Firefox Plugin written by Jakub Sendor – also described in his presentation “Media Fragment Firefox plugin”.

Media Fragment URIs are defined for four dimensions:

  • temporal fragments
  • spatial fragments
  • track fragments
  • named fragments

The temporal dimension, while not accompanied with another dimension, can be easily mapped to byte ranges, since all Web media formats interleave their tracks in time and thus create the simple relationship between time and bytes.

The spatial dimension is a very complicated beast. If you address a rectangular image region out of a video, you might want just the bytes related to that image region. That’s almost impossible since pixels are encoded both aggregated across the frame and across time. Also, actually removing the context, i.e. the image data outside the region of interest may not be what you want – you may only want to focus in on the region of interest. Thus, the proposal for what to do in the spatial dimension is to simply retrieve all the data and have the UA deal with the display of the focused region, e.g. putting a dark overlay over the regions outside the region of interest.

The track dimension is similarly complicated and here it was decided that a redirect to a URI query would be in order in the demo Firefox plugin. Since this requires an intelligent server – which is available through the Ninsuna demo server that was implemented by Davy Van Deursen, another member of the MF WG – the Firefox plugin makes use of that. If the UA doesn’t have such an intelligent server available, it may again be most useful to only blend out the non-requested data on the UA similar to the spatial dimension.

The named dimension is still a largely undefined beast. It is clear that addressing a named dimension cannot be done together with the other dimensions, since a named dimension can represent any of the other dimensions above, and even a combination of them. Thus, resolving a named dimension requires an understanding of either the UA or the server what the name maps to. If, for example, a track has a name in a media resource and that name is stored in the media header and the UA already has a copy of all the media headers, it can resolve the name to the track that is being requested and take adequate action.

But enough explaining – I have made a screencast of the Firefox plugin in action for all these dimensions, which explains things a lot more concisely than word will ever be able to – enjoy:

Click here to view the embedded video.

And do not forget to proofread the specification and send feedback to public-media-fragment@w3.org.

8

Jul

Flash Techniques for WCAG 2.0

Source: Accessibility

Written by: akirkpat on Thu, 08 Jul 2010 10:33:42 -0500

Today the W3C posted an updated techniques document for review, including for the first time a collection of techniques for Flash (and Flex) technologies.  The techniques can be viewed at http://www.w3.org/WAI/GL/2010/WD-WCAG20-TECHS-20100708/flash.html – please take a look and send in comments by August 9 to http://www.w3.org/WAI/WCAG20/comments/.

I’d also like to acknowledge the hard work of people at The Paciello Group who helped us assemble the techniques.  The techniques come from a wide range of sources and reflect knowledge amassed over several years of working with Flash and Flex, and as such additional credit is due to several others including Jon Avila and others at SSBBart Group, Bob Regan and Matt May at Adobe, Michael Jordan, and others.

Finally, we are also working on a collection of PDF techniques, which we aim to have available in the next round of the techniques document. We look forward to your comments.

7

Jul

Jeff Walker Gave Me An iPad!

Source: ATMac

Written by: Ricky Buchanan on Wed, 07 Jul 2010 07:52:03 -0500

Head shot of Ricky smilingI WON AN iPAD!!

(My apologies to the typesetters and grammar nerds amongst you, but an announcement like that TOTALLY deserves excessive use of capital letters and exclamation marks.)

So first, here’s me with my iPad and the biggest, craziest grin I have worn for a long time:

Ricky grinning hugely and holding up the iPad Box

Unboxing my iPad: The Box

OK, actually that’s just the box but the box looks much more impressive than the iPad itself when in a photograph.

So how did this happen?

I entered a competition Jeff Walker ran to think up a tagline for his blog. My entries were nothing special, and almost certainly wouldn’t have won if the competition had gone off as planned. Entering internet competitions is not something I go out of my way to do either, but I was right there reading his blog anyway so I entered on a whim with some not-very-inspiring tagline suggestions.

But then it became my lucky day! Half way through reading the competition entries, Jeff thought up his own tagline and decided to use that instead, as none of the entries matched his idea. So instead of awarding the iPad to himself, to be fair he threw everybody’s names - all several thousand of them - into a metaphorical hat and pulled one out … and it was me! He announced it in the “PS” section of his post Powered By Internet Marketing?.

I know that being in internet marketing means his reputation is everything, so he’d hardly announce he was giving me an iPad and then not give me one … but I must admit I didn’t let myself believe it until I had it in my hot little hands! So you’ve seen the box, here’s the real thing:

Madly grinning Ricky holding up the iPad itself, it just looks like a shiny black rectangle

iPad Unboxing: Here's the real thing!

I told you it looked less impressive than the box! It’s remarkably difficult to photograph an iPad and capture what’s on the screen, actually.

Photographic merit aside, it works brilliantly and it’s so much fun to use and it really does have that elusive quality that, once you hold it and play with it, makes you really badly want one for yourself! I’m pretty sure at least 80% of people who’ve used mine have said they wanted their own (and the other 20% have mostly been my open source friends who are opposed to it on principle).

I’ve already loaded the iPad up with disability-relevant applications I’m going to check out for ATMac articles, and started poking it with things resembling mouth-sticks and head-sticks and stylus-sticks to see how it responds. And you know I love you all very much, but I’m sorry I’m just not going to potentially sacrifice it to see how much crash-resistance those cases really give it! I’ve got it in a a polycarbonate “shell” case plus a wet-suit material-like zip up case which gives a fair bit of support but I’m still a bit terrified I’ll drop it and it’ll shatter (I’ve dropped my iPod Touch at least a hundred times a year). The warranty would require me to return it to a USA Apple shop - a bit of a trip from Melbourne, Australia where I live - so please cross your fingers that it’s tougher than it looks, and that the good luck fairies stay with me on this one.

So I must give a very huge thank you to Jeff Walker, and also to his PA Betty who was unbelievably helpful in organising its purchase and courier trip to Australia for me. I know that Jeff had no idea how helpful he was being to ATMac when he pulled the name “Ricky Buchanan” out of his competition hat, but I am certainly going to make the most of good fortune both here on ATMac and on my iTalkMagazine blog and, of course, as cognitive assistive technology for myself.

- Ricky Buchanan

Share this

Do you know somebody else who would find this interesting or useful? Please forward it to them.

Did somebody forward this post to you? Visit ATMac and subscribe to receive the posts for free!

This article was originally published at "Jeff Walker Gave Me An iPad!" and is copyright (C) Ricky Buchanan 2010. Please do not republish without permission.

Related posts:

6

Jul

Linux Foundation Delivers New Licensing for IAccessible2

Source: Accessibility

Written by: akirkpat on Tue, 06 Jul 2010 18:15:09 -0500

Today the Linux Foundation announced that it was releasing IAccessible2 with new licensing terms.  IA2 is now available with a BSD license.  You can read about this change as well as the additional tools available at http://www.linuxfoundation.org/news-media/announcements/2010/07/linux-foundation-delivers-new-licensing-terms-testing-tools-accessi.  This is an important change as Adobe works to integrate IA2 into a future version of Adobe Acrobat and Reader, as well as the Flash Player and AIR.

5

Jul

Sourdough Rolls

Source: Gary Bishop

Written by: gb on Mon, 05 Jul 2010 18:52:45 -0500

Make the Sourdough White Bread recipe, divide into 15 balls and place in a lightly oiled 9×13 glass pan. Let rise, then bake at 375 for 15 minutes, brush tops with melted butter, then cook for 5 minutes more. Thanks to Sourdough Diva for the idea.

5

Jul

Adobe Flex Accessibility Webinar

Source: The Paciello Group

Written by: Steve Faulkner on Mon, 05 Jul 2010 08:22:35 -0500

Adobe Flex Accessibility Webinar

Hans Hillen from TPG is presenting a Flex Accessibility Webinar in conjunction with Adobe. It will be on Wednesday, July 21st 12:00 noon, US EST, and it’s free to attend.

Webinar details

  • Flex Accessibility Webinar.
  • Wednesday, July 21 12:00 noon US EST.
  • Captions will be available.

Attendance details

The meeting room address is https://admin.adobe.acrobat.com/_a227210/a11y

Login as a guest, no password is required.

Any questions, contact us at info@paciellogroup.com or call us on +1 603-882-4122.

2

Jul

Say No to noscript

Source: Juicy Studio

Written by: Gez Lemon on Fri, 02 Jul 2010 11:58:00 -0500

I'm surprised that the noscript element is conforming in HTML5, as there are much better techniques for ensuring that pages work with or without JavaScript. Despite early accessibility advice advocating use of the noscript element, best practice is to use unobtrusive JavaScript for progressive enhancement, rather than relying on fallback content.

Author: Gez Lemon

The noscript Element

The noscript element was a well-intentioned idea to provide fallback content when scripting isn't available. In reality, it hasn't been used very well. The fallback for the majority of noscript content is merely to inform the user that their browser does not support JavaScript, which isn't very helpful.


In fairness, some people did use it correctly, and offered an alternative option through the noscript element.


Accessibility Advice

WCAG 1.0 included guidance on providing a fallback mechanism for scripts. The relevant checkpoints were checkpoint 1.1, checkpoint 6.2 and checkpoint 6.3:

WCAG 1.0 Checkpoint 1.1

Provide a text equivalent for every non-text element (e.g., via "alt", "longdesc", or in element content). This includes: images, graphical representations of text (including symbols), image map regions, animations (e.g., animated GIFs), applets and programmatic objects, ASCII art, frames, scripts, images used as list bullets, spacers, graphical buttons, sounds (played with or without user interaction), stand-alone audio files, audio tracks of video, and video. [Priority 1]

WCAG 1.0 Checkpoint 6.2

Ensure that equivalents for dynamic content are updated when the dynamic content changes. [Priority 1]

WCAG 1.0 Checkpoint 6.3

Ensure that pages are usable when scripts, applets, or other programmatic objects are turned off or not supported. If this is not possible, provide equivalent information on an alternative accessible page. [Priority 1]

The techniques document for WCAG 1.0 suggested using the noscript element as an alternative presentation of scripts with the following example:


Fortunately, WCAG 2.0 doesn't mention the noscript element in the techniques document.

Unobtrusive JavaScript

Instead of relying on fallback mechanisms, current best practice is to use progressive enhancement. This basically means ensuring that the page works without JavaScript, and then adding the JavaScript functionality progressively. This technique has been used for many years now, supported by many standards-advocates including Christian Heilmann who has great resources on Unobtrusive JavaScript techniques.

Using unobtrusive JavaScript techniques encourages authors to think in terms of separate layers, as the script itself is never written in the document. The basic layers are content (in markup), presentation (with CSS), and behaviour (the scripting part). The result is more robust, than relying on JavaScript, and then depending on a fallback mechanism such as using noscript.

Style Sheet Switcher Example

Consider an example of a style sheet switcher. This is easy if you separate the presentation and behaviour using CSS and JavaScript. First, a quick reminder about style sheets.

Persistent Style Sheets

A persistent style sheet is always enabled. If the rules for a document are contained in a single style sheet, then this is the way you will link to the style sheet. If the document has more than one style sheet associated with it, the basic rules may be placed in this style sheet. The relationship is specified with a rel attribute value of stylesheet, and no title attribute is provided.

Preferred Style Sheets

A preferred style sheet is enabled by default, but may be switched by the user for an alternate style sheet. A preferred relationship is specified with a rel attribute value of stylesheet, and a title attribute is also provided. You may specify more than one preferred style sheet by specifying the same title for each. The preferred style sheets will be grouped, and enabled and disabled together. If more than one group of preferred style sheets are specified, the first group will take precedence over the other groups.

Alternate Style Sheets

An alternate style sheet is one that may be selected by the visitor as an alternative to the preferred style sheet. An alternate relationship is specified with a rel attribute value of alternate stylesheet, and a title attribute is also provided. Like preferred style sheets, alternate style sheets may be grouped by giving them the same title.

The following example uses a persistent, preferred, and alternate style sheet, allowing the visitor to customise the look of the site to their taste.



To create a style sheet switcher, you would start by providing a link to a server-side page that chose the style sheet the user chose.

High Contrast

This would essentially work by setting a cookie to remember the user's choice, and then examining the cookie when writing out the style sheets to ensure they're the user's choice. For example, if the user's choice was high contrast, you would write the style sheets out as follows:



That is the basic functionality, and works well using the regular link to get the user's choice and arrange the style sheets to their preference.

Enhancing with JavaScript

The functionality could be enhanced by using JavaScript to switch the styles, as this would save the page being re-fetched from the server; updating the user's choice immediately. By taking an unobtrusive JavaScript approach, we ensure the page works without scripting, and then add the functionality using script. We would need a hook for the script, which could be an id or a class. For this example, I'll use a class name of switch.

  • Regular
  • High Contrast
  • Single Column
  • We could then use something like the following in a separate file to add the scripting for any anchor element with a class name of switch.

    
    // Function to return a collection of elements by class name
    function getElementsByClassName(objElement, strTagName, strClassName)
    {
       var objCollection = objElement.getElementsByTagName(strTagName);
       var arReturn = [];
       var strClass, arClass, iClass;
    
       for(var iCounter=0; iCounter

    Conclusion

    As unobtrusive JavaScript techniques encourage developers to separate behaviour from content (as CSS encourages developers to separate presentation from content), the result is more robust and much easier to maintain, as the JavaScript is included in a separate page. Retaining the noscript element in HTML5 is good for backwards compatibility, but personally, I would have preferred it to be deprecated and developers discouraged from using it and use unobtrusive scripting techniques instead.

    1

    Jul

    Nautilus automated test script under Mago applications

    Source: Nagappan's Weblog

    Written by: Nagappan on Thu, 01 Jul 2010 13:37:00 -0500
    As part of an effort to expand Mago a bit by adding nautilus, Jeff Lane from Ubuntu created a launchpad team called mago-applications. It was created to let people interested in adding new applications to Mago collaborate on the same code bases without cluttering up the mago-contributors team.

    The way we see it, mago-applications can focus on simply adding new application interfaces and test suites/cases to Mago, while mago-contributors can focus on the core Mago code making sure it works with the latest changes to LDTP and so forth.

    So, if you're interested in adding applications to Mago, feel free to join:

    https://launchpad.net/~mago-applications

    Feel free to create your own branches there to add new apps to Mago, there are plenty that can be added to enhance desktop testing of Ubuntu!

    Also, adding an application is a good way to get some experience adding to a project that uses Python, is OO based, complex, and useful!

    24

    Jun

    The next step in the Section 508/255 Refresh, and Oracle's public comments

    Source: Peter Korn's Weblog

    Written by: korn on Thu, 24 Jun 2010 17:19:55 -0500

    Background

    When Congress amended the Federal Rehabilitation Act in 1997, it directed the U.S. Access Board to create a set of Accessibility Standards that would apply to Electronic and Information Technology (E&IT) procured by the U.S. Federal Government (known as the "Section 508 standards"). It further directed the Access Board to periodically refresh these standards.

    Likewise when Congress passed the Telecommunications Act of 1996, it directed the U.S. Access Board to develop a set of guidelines for telecommunications accessibility (known as "Section 255 guidelines"). It likewise further directed the Access Board to periodically refresh these guidelines.

    In 2006 the Access Board convened the Telecommunications and Electronic and Information Technology Advisory Committee (TEITAC) to advise them on a converged set of accessibility provisions to apply to both Federal Procurement (Section 508) and telecommunications more broadly (Section 255). In April, 2008 TEITAC delivered their final report, containing their recommendations for a common set of accessibility provisions to cover both E&IT, and telecommunications products.

    The ANPRM

    Last March, the Access Board announced the availability of an Advanced Notice of Proposed Rulemaking - an early preview of the their proposed accessibility provisions to cover E&IT and telecommunications (now together also called simply Information Communications Technology or ICT).

    This past Monday, the 90-day comment period closed, with more than 150 public comments submitted to regulations.gov. Among those are the public comments from Oracle, primarily authored by myself and Accessibility Program Director Peter Wallack (with contributions gathered from numerous Oracle engineering teams).

    To broadly summarize the key Oracle comments (including those from the public hearing in March):

    • The proposed standards significant advance the framework for accessible ICT procurement.

    • Harmonizing with WCAG 2.0 AA is very welcome (and we have specific suggestions to tweek how that is done in the proposed provisions).

    • Recognition of the "dance of three" - platform responsibilities, application responsibilities, and assistive technology responsibilities - is welcome and very important (and we have specific suggestions to tweek how that is accomplished).

    • Formal requirements for tools used to author electronic documents are important (with more specific "tweek" suggestions).

    • Care must be taken with provisions around movie playback and VoIP software. The provisions should not transform general purpose computers that incidentally have such features (e.g. a server with a DVD drive on it, or downloaded Skype software added after the fact) inadvertently into "movie players" and "telephones", which are required to have a "CC" button on them or otherwise meet hardware requirements relating to "telephones".

    • 508 general exception §1194.3(f) - the so-called "back office exception" - shouldn't be completely removed. A narrowly tailored exception that would both require all "remote-able" user interfaces to be accessible while allowing physical interaction needed solely for maintenance, repair, or occasional monitoring to be excepted from compliance is important. The design of data centers essentially requires full use of the 8+ feet of height of server racks, necessitating that some switches and other physical controls be out of reach of someone in a wheelchair.

    • The Access Board's recognition that some ICT may receive "patches" to fix bugs or clean up functionality shouldn't trigger a reappraisal of accessibility provisions is welcome. Numerous Oracle customers have stable editions of our products and platforms (e.g. Solaris 8) in production systems that they will continue to maintain for many years into the future - as they have already done for more than a decade. It is important to recognize that the "expected life" of major ICT products can be decades.

    Next steps

    Now that the Access Board has closed the comment period, it will carefully read and review the thousands of pages of comments they have received. After their thorough analysis of them, they will issued a revised set of proposed provisions - a formal Notice of Proposed Rulemaking. And after another public comment period (and likely another thousand or so pages of comments), a second review and finally issuance of their Final Rule. And soon after that, ICT products procured by the U.S. Federal government (and the many States and Universities that likewise apply 508) - not to mention telecommunications under the jurisdiction of the FCC - will need to meet the updated accessibility provisions.

    And while that is some time into the future - already ICT companies are delivering products into the market that meet many of the newly proposed provisions. For example, AOL already has real-time-text support in AOL Instant Messenger. Numerous software video playback products support and decode closed captions. The Java and GNOME platforms (including Solaris and other GNU/Linux environments) - along with the Apple Macintosh and iPhone/iPad, and the RIM Blackberry family of phones - define a rich set of Accessibility Services that are supported by many thousands of applications and which enable assistive technologies to provide access without any need for reverse engineering. And a growing number of websites are already making use of WCAG 2.0 and the emerging WAI-ARIA specification for Rich Internet Application accessibility.

    So even though the refresh effort is far from complete, it is already having a profound influence on what is being developed and shipped today!

    24

    Jun

    Future Web Accessibility Updates

    Source: WebAIM

    Written by: Aaron Andersen on Thu, 24 Jun 2010 15:49:10 -0500

    It’s been two months since my first Future Accessibility article, and less than a week since my most recent one, yet several exciting new developments have already made some of the things discussed in the series outdated or incorrect. Here, briefly, are some of those recent changes.

    For reference, HTML5 , HTML5 Semantic Elements, New Types in HTML5, HTML5 Extensions, SVG, and canvas.

    HTML5

    When I wrote about HTML5 video, the biggest accessibility concern was the lack of any caption or subtitle support in the HTML specification itself, requiring anyone who wanted captions to hack their own system on top of the native video playing capabilities. Work has been progressing somewhat rapidly in that front, and although the solution is still a work in progress, we at least know that it will be present and have a pretty good idea of what it will look like.

    Well, sort of. The solution described below is currently only part of the WHATWG’s HTML5 spec, not the W3C’s, so it remains to be seen if some sort of a compromise will yet be worked out to bring both versions of the specification into alignment on this issue.

    Specifically, the HTML5 media caption format is called WebSRT, and is a superset of the existing popular SRT format for media subtitles. WebSRT extends SRT by adding some style and mutilingual support not present in the original SRT, while maintaining compatibility with existing SRT files. To go along with this, a new element (and corresponding script API) has been added to HTML5, allowing an arbitrary number of multilingual captions, subtitles, descriptions, and other text-based meta-data to be attached to a specific HTML5 or element.

    No browser has support for any of this yet, since the specification is still being written and debated, but it’s definitely progress.

    SVG

    In my article on Scalable Vector Graphics, I wrote that “each [user agent] implements a different subset of the spec—no browser (that I know of) has complete support for the full SVG syntax”. Several readers notes in the comments that the current situation is slightly better than this makes it sound: although it is true that each browser implements a different subset of the SVG spec, all major browsers (including the latest preview edition of Internet Explorer 9) implement correctly all (or almost all) of the “core” important things, with the unimplemented features usually being the fringe stuff nobody cares about anyway. (I’m paraphrasing them a bit, but that’s the general idea). In other words, using SVG on the open web in a cross browser way will definitely be a possibility very soon.

    Canvas

    The most exciting update of all happened just last night, when Microsoft released the newest “Platform Preview” of the upcoming Internet Explorer 9, which contains (happy surprise) nearly complete support for the element! Not only that, their hardware accelerated graphics support result in what I’ve been told is the smoothest, fastest implementation to date. This means that full cross-browser canvas on the open web will be a reality in the next few years, not a hypothetical.

    In the accessibility world, the “extend image map” canvas accessibility proposal has been endorsed by all the major browser vendors, but there are still some objections to it in the HTML5 world. If it is accepted into the spec, it is apparently being planned as an addition to, not a replacement for, the other “shadow DOM” proposal. It’s still too early to tell how this will be resolved, but the discussion is very active (this was all being discussed yesterday), so it’s certainly on track to be figured out sooner rather than later.

    24

    Jun

    What's so good about nosql? - Part 2 - Talking about APIs

    Source: FlaPer87

    Written by: FlaPer87 on Thu, 24 Jun 2010 14:09:41 -0500

    See also:

    Disclaimer: This post is mainly oriented to Web Development. All the comments, opinions and features listed bellow exist for NoSQL databases and also for some SQL ones.

    As I mentioned in the part 1 (above link) working with databases is not just about having a good place to store data, without a good and simple API to access the stored data we would have a sealed box full of information that we just can't use. Nowadays, there are many tools that make data-access process easier, for example, there are frameworks (like Django) that have ORMs that, as Wikipedia article says, "create virtual object databases that can be used from within the programming language". Ok, all this is great but:

    How do we know that a database has a good API?

    This might sound like personal opinion but, I'm sure we all agree with most of the things listed bellow:

    • The less methods the better: It's a waste of code and time when APIs need to instantiate N objects (excluding connections objects) before being able to execute a simple query, come on, that process could be simplified with a single call.

    • The fastest the better: If the above point is a waste of time, this one is even worse. There are queries that may take some seconds before returning the results, we can accept that, obviously, It depends on the query but, if the 40% / 50% of that delay is caused by the driver you should definitely find a better one.

    • Comunication Methods matter: There are many communication protocols and methods so I'm not going to list them here but, you have to be aware that some of them may be faster than others so before saying that the communication method exposed by the API is good take a look to the next point and be sure that it fits your needs.

    • Speed Tests: Benchmarking is always great and there are thousands of benchmarks around the net so, go to your favourite search engine and start looking for benchmarks related to the database that you're interested in.

    Now what?

    We now know that API is important and that it must be simple and fast, even though, that's not enough. A good API is also versatile and not app oriented, for example, If my database API is oriented to Web Applications then I'm doing something wrong because any kind of application has to be able to use that API to access my database unless the database itself is oriented to web applications (which would be really weird). That said, we should take a deeper look to what web applications need to be developed in short time and without affecting their performance. Most people use to think that ORMs are the solution to everyone trying to create a web application in short time without learning SQL or any other database syntax/driver, they're wrong, there're many tools around internet ready to be used that would make web development faster and easier too but we're not going to talk about that, what I'd like to point is what are the common features that frameworks oriented to web development MUST have.

    • Laziness: "Yes, because we're lazy people so we do lazy things." It is important for web apps to keep things lazy which means that every single module/object/data should be imported/loaded/instantiated when it is needed to process the request, in any other situation that specific module shouldn't be touched by any part of the application.

    • Explicitness: Just like Python's "import this" says, "Explicit is better than Implicit". Nothing, and I really mean NOTHING should be written or considered as easy to understand. This (even being a boring process) will save lot of time to developers and people giving support to others.

    • Simplicity: Explicit implicitly means that frameworks should be simple and understandable; "FOR DUMMIES!". Let's let frameworks off complexity.

    • Documentation: If it is not well documented it just doesn't worth your effort/time.

    22

    Jun

    YaSTroid

    Source: decriptor

    Written by: sshaw on Tue, 22 Jun 2010 11:53:09 -0500

    What is YaSTroid you ask? Its our hackweek project.  Several of the SLED team developers and fellow friends got together including Jared Allen, Scott Reeves, Sandy Armstrong, Mario Carrion, Alan Clark, FunkyPenguin, and myself.  Recently several of us have had an interest in the android platform. So, we decided to take this hackweek and write an android based application that we thought would benefit many of you.

    The application we wrote is an android frontend to WebYaST.   The way the application works is that it takes advantage of the RESTful API that is provided by the WebYaST service.

    As of right now our application is still fairly simple with some really cool ideas.  Also, as the WebYaST REST interface adds new features we’ll be able to add them to our app as well.

    Screenshots you say?  I’m sorry to disappoint, however we do have this awesome video that demos our app instead.  Brought to you by Scott Reeves and Stephen Shaw with a special thanks to our camera man Chris Coray and Novell for hosting the video.

    So, here is a flash video and mp4 video.

    EDIT: Sorry, here are the links to the source code and an apk if you’d like to test it and give us feedback.

    22

    Jun

    KDE Sysadmins rock!

    Source: jpwhiting

    Written by: JPWhiting on Tue, 22 Jun 2010 10:31:00 -0500
    Hey all. I just wanted to take a quick moment to tell/remind you all that our (KDE) sysadmins rock! They have been very busy recently getting the move to git going. git.kde.org is running cgit, projects.kde.org is running Redmine, there's a web app setup to collect our ssh public keys for those of us who were using https. I spoke a bit with Eike Hein on irc today and he said "I don't think we've had an idle day this month really :-)" Sounds like the next step is setting up reviewboard. Amarok and Konversation are both migrated from gitorious.org to git.kde.org and will be used to test and setup the rest of the infrastructure we will want and need to do what we do best.

    So fellow kde folk, please take a moment to thank these diligent guys and let them know how much you appreciate all they have done and continue to do for us all.

    22

    Jun

    Apple’s iOS 4 supports WAI-ARIA landmarks

    Source: Marco Zehe

    Written by: Marco on Tue, 22 Jun 2010 02:26:33 -0500

    This is, I believe, my 100th post on this blog, and I’m using it to announce that Apple’s iOS 4, released yesterday for the iPhone and iPod Touch, supports WAI-ARIA landmark in the VoiceOver screen reader. VoiceOver has had, since its inception, a feature called the rotor. The rotor allows users to set a particula rweb element by which the one-finger-flick up and down gesture moves in mobile Safari and other apps that use a web display. This feature is now highly customizable. Not only can you enable and disable certain features (for example if you never want to navigate by graphics, you can disable it completely and it won’t show up in the rotor). But the rotor settings also include a new feature called landmarks. This rotor setting is disabled by default, but can be enabled through the Web settings sub window of the VoiceOver settings. Once enabled, and the user switches to it via the rotor gesture, navigating by WAI-ARIA landmarks on a page works very nicely. The one thing that VoiceOver does not do yet is announce the type of landmark, be it banner, main, search, complementary etc. Furthermore, the landmarks also include what is called automatic web spots in the VoiceOver on Snow Leopard for the Mac. So not only do you jump to the actually marked up landmarks, but a few more spots on a page Apple deems interesting. In my experience, these usually are quite useful spots, too, so this doesn’t harm the original landmark feature at all.

    It is fantastic to see that WAI-ARIA is getting more and more adoption in mainstream products. VoiceOver is available on any iPhone 3G S and iPhone 4, as well as the newest generation iPod Touch models (32 and 64 GB), and the iPad. The iPad does not include the landmarks feature yet, since its iOS hasn’t been updated to version 4 yet.

    Further reading

    Easy WAI-ARIA tip #4: Landmarks

    21

    Jun

    WWDC ‘10 Announcements: Accessibility Implications

    Source: ATMac

    Written by: Ricky Buchanan on Mon, 21 Jun 2010 15:14:49 -0500

    Apple logo in reflective blackSo the WWDC for 2010 is a bit behind us now, there’s time to take a breath and think of the accessibility implications of the things that were announced at the conference and since then.

    iPhone 4 - new shape, an extra camera, a gyroscope, and it's faster too!

    iPhone 4 - new shape, an extra camera, a gyroscope, and it's faster too!

    Here’s a run-down of the announcements, highlighting the areas related to accessibility. This isn’t a full list of all the features of all the new announcements, there are too many to list, this is a list of the ones I think have accessibility implications.

    • The iPhone 4 is on its way, with a much higher resolution and higher contrast display, longer battery life, a 3-axis gyroscope for more accurate sensing of the phone’s position, a better camera for stills and video, and additional front-facing camera for video chat (currently limited to Wifi only and iPhone 4 to iPhone 4 only, however).
    • iPhone OS, the software that runs the iPhone, iPod Touch, and iPad will be renamed iOS and version 4 will be released on June 21. iOS 4 will include limited multitasking, apps can be organised in folders in your home screen, it has bluetooth braille display compatibility as part of VoiceOver, and there is a new “large font” features in Mail, Contacts, Notes, and Messages applications.
    • iBooks, Apple’s ebook reader already available for iPad (and fully accessible), will be released for iPhone and iPod Touch as well and the new version will include support for reading PDFs and the ability to take notes within books.
    • Safari 5 is to be released for OS X and Windows. Major improvements in speed are expected, the ability to choose your search engine, and there is now a secure official plugin capability.

    As is common, a bunch of new software has been released and some more hardware updates have been announced shortly post WWDC. These have included:

    My next computer upgrade will probably be to a Mac Mini - They're so gorgeous!

    My next computer upgrade will probably be to a Mac Mini - They're so gorgeous!

    • OS X 10.6.4 has been released with mostly hidden upgrades including compatibility improvements with some braille displays.
    • iTunes 9.2 for OS X and Windows has been released, with improvements to make it compatible with the forthcoming iOS 4 and the iPhone 4 including the ability to organise PDF documents as books, it also has faster backups when syncing iOS devices.
    • A new lineup of the energy-efficient Mac Mini desktops has been released, with an aluminium enclosure to match the new Macbooks, SD card slot, better graphics performance, and an HDMI port.

    Wow, that’s a lot of new stuff in just a few weeks, and a lot of information to take in!

    Some of these announcements will prompt further posts in the future to explore the implications in depth, but now you’re up to date with all the latest information.

    - Ricky Buchanan

    Share this

    Do you know somebody else who would find this interesting or useful? Please forward it to them.

    Did somebody forward this post to you? Visit ATMac and subscribe to receive the posts for free!

    This article was originally published at "WWDC ‘10 Announcements: Accessibility Implications" and is copyright (C) Ricky Buchanan 2010. Please do not republish without permission.

    Related posts:

    21

    Jun

    Google Chrome Screen Reader Support update

    Source: The Paciello Group

    Written by: Steve Faulkner on Mon, 21 Jun 2010 10:30:34 -0500

    Following last weeks post about Google Chrome accessibility which was prompted by The Google Chrome Screen Reader Accessibility Petition created by Alex Hiironen, new information about Google Chrome screen reader support has been added to the Google Chrome (Chromium) wiki: 

    Supported Screen Readers

    The latest versions of these screen readers have partial support for Chrome now:

    These screen readers do not yet recognize Chrome’s non-focusable web content (links, form fields and other focusable content is spoken as expected), so you will be unable to enter “browse mode”:

    We hope to work with all screen reader developers to resolve any issues so that they can enable full support for Chrome.
    The list above is not a comprehensive list of all screen readers, but in the interest of prioritizing support for the greatest number of users, we believe that supporting the screen readers above will have the greatest impact. If external developers are interested in helping to add support for additional screen readers, we would welcome the help. 
    For more detailed information about the technical design and current status, see the Accessibility Design Document.

    20

    Jun

    Some Still in the Dark

    Source: Blog By Bryen (aka suseROCKs)

    Written by: Bryen on Sun, 20 Jun 2010 09:37:33 -0500

    This week, we’ve seen a lot of storms kick the collective asses of communities across the Midwest United States.  Chicago was definitely no exception.

    On Friday, a huge storm came blowing in.  And when I say “blowing”  I mean BLOWING!!!   At about 4 p.m. it became almost pitch-black outside.  Rain was hitting my windows at a near-vertical angle.  Normally I leave my windows open even in rain, but I had closeed them the night before because Thursday’s (also big) storm left things too muggy and I had to finally oblige and turn on my air conditioning.  In the aftermath of the storm, I wasn’t hit badly, mostly just the lawn furniture in my back yard blew around.  But hey, plastic is meant to be knocked around, right?  :-)

    There are no trees around my house, although we have lots of aerial power lines above the property.  This is an old neighborhood and thus we don’t have power lines buried underground like some of the newer neighborhoods.   So I’m fortunate we didn’t have wires bouncing around here.

    The Burger King on the corner about 1/2 a block away didn’t do too well.  They had some kind of lightning strike and it affefcted half their equipment.  Strangely enough they stayed open and still served food.   “We’re selling whoppers, but no fries.”  “You can have this kind of soda, but not that kind of soda.”  It was weird trying to figure out what to eat there, while standing under flickering lights and emergency-power lights.

    My parents didn’t fare too well.  They live on a beautiful piece of land with their own mini-forest in the back yard.  A true playground for their two German Short-Haired pointers.  One of the biggest trees split in halfand came crashing down.  This tree was actually very close to the house so they’re fortunate that the tree fell in a different direction instead of on the house!  But this tree was so big that it formed a virtual wall of leaves from the ground up so high you could barely see the sky.   That’s how big!

    Funny thing is, they didn’t even hear the tree crash.  That’s how nosy the storm was.  I remember several moments during the storm when a single thunder lasted at least 45 seconds.  I actually timed it.  And then my father went upstairs and looked out the window and basically said “Well I’ll be damned!”

    And then it got worse.  Things went dark.  Power was lost in the neighborhood.  250,000 customers in the Chicagoland area were affected with a power outage.  As of this morning, two days later, 48,000 are still without power.  Yup, including my parents.   This should make for an interesting Father’s Day as we try to figure out how much longer this is going to last.  Mom is on cell-phone rationing, using it only in limited moments so she doesn’t lose all her battery power.

    Makes you wonder how prepared we are to be in a major disaster when we think cell phones are our best reliable form of keeping in touch with the world.  Fortunately, for me, I keep an extra battery fully charged for when I’m on the road and don’t have anywhere to recharge my phone.  Now that I see the effects, I’m going to be sure to keep that extra battery nearby even when I”m home.
    So check out the beautiful strong power of Mother Nature here.

    18

    Jun

    MongoUk 2 days full of mongodb

    Source: FlaPer87

    Written by: FlaPer87 on Fri, 18 Jun 2010 17:13:21 -0500

    Hi Everyone,

    Well, MongoUK has ended and I'm now in my room with nothing to do and remembering all those great things I've lived in the las 2 days. I'd like to thank 10gen guys and all the mongodb team, I'd also like to give a special thank to Meghan Gill for her great work organizing MongoUK and contacting us as speakers.

    So, What did we do in mongouk??

    • We talked about sharding
    • We talked about indexing and querying optimization
    • We talked about Schema Design
    • We talked about Replica sets
    • We talked about Administrative tools
    • We talked about Replicas Administration
    • We talked about Django and Mongodb implementations
    • We did python tools demos
    • We talked about soccer
    • We talked about life
    • We talked about *
    • We had a great time together
    • And last but not least, We had Dinner and Drinks together too =)

    So, It was a pretty intense day full of good talks and great people too!!!

    Thanks again to everyone and I hope to see you in the conferences to come.

    17

    Jun

    Future Web Accessibility: canvas

    Source: WebAIM

    Written by: Aaron Andersen on Thu, 17 Jun 2010 13:34:48 -0500

    This is the sixth in a multipost series about the immediate and likely future of web accessibility. Each week or so I’ll discuss a different upcoming technology, tag, platform, or system from an accessibility perspective. Additions, corrections, or further thoughts are welcome in the comments.

    Previous posts: HTML5 , HTML5 Semantic Elements, New Types in HTML5, HTML5 Extensions, SVG.

    HTML Canvas

    The HTML element provides a blank drawing surface via which web application authors can create advanced 2D graphical elements via scripting. In this sense it is similar to (and subject to the inevitable comparisons with) both Adobe’s ubiquitous Flash plugin and the other “advanced web graphics” technology, SVG. The former comparison is probably the better one, since canvas (plus javascript) is indeed capable of doing a fairly large subset of what Flash is popularly used for today.

    Browser Support

    The element was first introduced by Apple almost six years ago, then implemented by Mozilla and Opera, and finally introduced into the HTML5 standard by the WHATWG. Microsoft remains the only major browser vendor not to support canvas at this time, and has neither committed to implement it nor officially specified that they have no intention of doing so; it is probably a safe bet that (barring a late-stage change of priorities or surprise announcement) canvas support will not be present in Internet Explorer 9 (their next major release), but it could easily find its way into version 10 or some other later release.

    The lack of complete browser support will likely stall the widespread use of the element on the open web. Part of this could be resolved via the explorercanvas project, an open source javascript library that adds canvas support to Internet Explorer via VML (an SVG-like vector graphics format supported only by them); another project, fxCanvas, is attempting to do the same thing using Flash. How either or these projects would deal with the yet-to-be-determined canvas accessibility features remains to be seen.

    Accessibility

    The HTML5 language specification contains the following note in its section on the element:

    “When authors use the canvas element, they must also provide content that, when presented to the user, conveys essentially the same function or purpose as the bitmap canvas. This content may be placed as content of the canvas element. The contents of the canvas element, if any, are the element’s fallback content.”

    Generally speaking, “fallback content” (i.e., content included to benefit users whose web browsers don’t support a particular feature or format) are not appropriate as accessibility solutions because (to begin with) users with disabilities are likely to be using as modern and powerful browsers as anybody else. The case with canvas is similar; while some sort of DOM-based alternative content is a possible solution to canvas accessibility concerns, that won’t work without some modifications to the spec and/or canvas API.

    Accessibility of what?

    Solving the canvas accessibility problem is a bit tricky, largely because the element (when combined with javascript) is essentially a mini-platform of its own, where just about anything is possible.

    The official spec says only one thing about what the element can or cannot be used for:

    “Authors should not use the canvas element in a document when a more suitable element is available. For example, it is inappropriate to use a canvas element to render a page heading.”

    This is a good thing because (as with SVG) emulating existing HTML elements in canvas is likely to result in a significant accessibility hit. But as long as web authors aren’t emulating existing HTML elements, any other use is allowed; more than that, the canvas spec was specifically designed to account for uses nobody has even thought of yet, it being merely a low-level drawing surface with no particular purpose or function in mind. This is what makes canvas so exciting as an addition to HTML, and so complicated from an accessibility perspective.

    If one is merely using an HTML canvas to produce on-the-fly 2D graphics, simple alternative text (just like any other graphic in a web document) should provide sufficient accessibility. That’s the easy part. People using canvas to create animated web comics might need some sort of synchronized caption or description capabilities, similar to what’s being developed for the element. That one’s a bit harder, but doable. Then there’s the statistical charts, various games and puzzles, fun physics simulations, drawing applications, and more. (And those are just the things people have built so far.)

    Because canvas apps can be so drastically varied in form and function, canvas accessibility is in a sense different for every project. Some use-cases could easily be made completely accessible, while other projects might require a significant amount of work to get accessibility right, while in still other cases full accessibility might not even be possible. Additionally, many of the principles and techniques required to do make canvas apps accessible will more closely match those used for traditional (i.e., desktop) application accessibility, rather than web accessibility as we usually think of it.

    This probably explains why the canvas accessibility situation hasn’t been figured out yet (and therefore isn’t really mentioned in the specification language).

    Proposed Solutions

    As with the HTML5 element, the fact that there aren’t any accessibility features right now doesn’t mean there won’t be soon. Lots of very smart people are working on coming up with a solution, so we can probably safely assume that they’ll figure something useful out at some point. (The W3C isn’t in the habit of giving themselves deadlines, so when exactly that might happen is anybody’s guess.) As of recently, there were two main proposals being discussed, one that involves the concept of an accessible “shadow DOM” and one involving a beefed-up version of the client-side image map. (Somebody involved with the discussion can feel free to correct me in the comments if I get this horribly wrong.)

    The shadow DOM concept would provide a canvas alternative via a tree of equivalent elements “underneath” the visual canvas. Essentially, this would make canvas an exception to the rule discussed above, so that an accessible alternative could be included as descendants of the element. This would help assistive technology users interact with the canvas content, though it is unclear to me how other users (such as those navigating with only the keyboard) would access the fallback DOM.

    The image map solution involves allowing the usemap attribute on canvases, then allowing any element in the DOM to serve as an image map area (as opposed to the area elements used currently). This way an actual button element could be created in the DOM (but possibly hidden from view) and attached to a certain pixel region of a canvas (where a clickable area exists in the canvas application), in the which case the latter region would be keyboard focusable and announced to assistive technologies as if it were an actual (i.e., the actual) html button, with all the flexibility and accessibility that that allows.

    Other proposals currently or previously discussed involve extending the canvas javascript API to allow developers to programmatically make certain areas focusable, or provide alternative text to them.

    An Opportunity

    All of the canvas accessibility solutions discussed in the previous section have one thing in common: they all require some nontrivial work on the part of the developer in order to make accessibility happen. This is, of course, unavoidable, since only the author knows for sure what something is supposed to mean or represent. However, it’s important that we make the solution as simple and easy to both understand and implement as possible, in order to get as many developers as we can to actually use it.

    These days, most advanced graphical web applets are created using Adobe’s Flash plugin, and are not typically very accessible. Adobe developers are quick to point out that there is nothing intrinsically inaccessible about Flash itself: accessibility support exists for almost everything, but for one reason or another most flash developers don’t take advantage of these features, and the result is a web overflowing with inaccessible flash apps.

    Although Flash isn’t going away any time soon, people are right to expect that much of what is currently being developed with Flash will soon migrate to canvas/javascript systems. With this transition there is an amazing opportunity to make sure that things are done right the second time around. If the eventual accessible canvas solution is flexible enough to handle the multitude of possible canvas uses, yet simple and “normal feeling” enough to get large numbers of developers to use it, it will be a huge gain for global web accessibility as a whole. If that doesn’t happen, then I suppose we won’t be in any worse of a situation than we are right now, but we’ll have missed a big opportunity that could have made a serious positive difference.

    The Bottom Line

    HTML canvas really neat, but sadly held up by a lack of support in IE. No current accessibility features. Work undergoing to add them.

    Further Reading

    17

    Jun

    AViewer beta

    Source: The Paciello Group

    Written by: Steve Faulkner on Thu, 17 Jun 2010 07:57:45 -0500

    Here at TPG we  have been working on a new tool to inspect  elements on a web page and be able to view the HTML code, ARIA attributes (if any) and the information being conveyed by the browser to  accessibility APIs, all in one neatish interface. We have given it the catchy moniker   “AViewer” and a beta version is available for download.

    screenshot of the AViewer displaying information about a HTML text box.

    AViewer Features

    For those who have used inspect32 the way the viewer works should not be overly unfamiliar. At the top of the viewer window there is a toolbar consisting of the following buttons:

    The AViewer Toolbar

    1. Watch Focus (F4) - Information will be displayed for the element that has focus
    2. Watch Cursor (F5) - Information will be displayed for the element that is under the cursor
    3. Show Highlight Rectangle (F6) - places a visible highlight rectangle around the element that is currently being inspected
    4. Copy Text to Clipboard (F7) - copies all the information currently displayed to the clipboard
    5. Focus Rectangle Only (F8) - disables all features except the keyboard focus rectangle
    6. Navigate to Parent Object (F9)
    7. Navigate to First Child Object (F10)
    8. Navigate to Previous Sibling Object (F11)
    9. Navigate to Next Sibling Object (F12)
    10. Show Online Help (F1) - opens the Aviewer help in a browser window.
    11. Show Font Dialog (F2) - Font dialog for adjusting the font/font size of the text in the Aviewer interface.
    12. Desktop Mode - Disables HTML and ARIA  inspection features.
    13. Register Ia2 Menu - In order to inspect IAccessible 2 information the DLL needs to be registered on initial use.
      1. Register
      2. Unregister

    Below the toolbar are the Select Display checkboxes:

    Select Display

    1. MSAA - When checked MSAA information is displayed in the listview.
    2. ARIA - When checked ARIA information is displayed in the listview.
    3. HTML - When checked HTML information is displayed in the listview.
    4. IA2 - When checked IA2 information is displayed in the listview.

    Below the Select Display checkboxes is the information listview and the code display text arera.

    Installing the AViewer

    1. Download the AViewer zip file (461 kb)
    2. Unzip.
    3. Start the AViewer.exe.
    4. Remember to register the IA2 DLL first time you start the AViewer.

    Notes:

    • Runs on Windows only.
    • The full range of inspection features can be used on web pages in Firefox and Internet Explorer. Note: IE does not support the IA2 accessibility API.
    • Web pages in other browsers can be inspected in desktop mode only. Note: Most do not expose much information via accessibility APIs.
    • Feedback on the functionality welcome!
    • Feedback on the accessibility of AViewer welcome!
    • To provide feedback and report bugs email Steve Faulkner sfaulkner@paciellogroup.com
    • Many thanks to JUn for his work on the AViewer.
    • And yes it is HTML5 ready!

    Terms of Use Notice:

    The AViewer beta software  is Freeware.

    By accessing or using the AViewer, you acknowledge that you have read, understood and agree to be bound by the AViewer Terms of Use.

    You may use the AViewer Software (the “Software”) for your personal use to help you determine the accessibility of your web content. For commercial use of this software contact Brian Landrigan blandrigan@paciellogroup.com.

    THIS SOFTWARE IS BEING PROVIDED “AS IS”, WITHOUT ANY EXPRESS OR IMPLIED WARRANTY. IN PARTICULAR, THE PACIELLO GROUP (TPG) DOES NOT MAKE ANY REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE RELIABILITY, QUALITY, OR MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. ADDITIONALLY, TPG DOES NOT GUARANTEE THAT USE OF THIS SOFTWAREWILL ENSURE THE ACCESSIBILITY OF YOUR WEB CONTENT OR THAT YOUR WEB CONTENT WILL COMPLY WITH ANY SPECIFIC WEB ACCESSIBILITY STANDARD.

    Phanet does not generate contents each post belongs to the author.
    © 2008 - Phanet is under GPLv2