Monthly ArchiveJune 2009
twitter 28 Jun 2009 05:00 am
Twitter Weekly Updates for 2009-06-28
- Why won’t tweetsville display my timeline anymore? Rebooted iPhone, cleared cache - I can see messages and favorites but timeline is blank? #
- Testing a tweet from tweetsville - timeline won’t display? Thus have been out of touch last few days #
- working on adding aria-readonly to the dojox.DataGrid #dojo #ARIA #a11y #
- Anyone know where pressing enter to submit a HTML form (that has submit btn) is defined? Can’t find in HTML spec but seems is std practice #
Powered by Twitter Tools.
Accessibility 23 Jun 2009 03:57 pm
Working with disabled (the attribute)
Once again I was bitten by the manner in which the difference browsers report the value of the disabled attribute. I decided to test the different ways of using the disabled attributes and record my results.
When writing JavaScript I generally use the object.getAttribute("attributeName") syntax to get an attribute value. However, this will return very inconsistent results for the disabled attribute. What makes it even worse, is there is more than one way to specify the disabled attribute on an input element. In HTML 4.01 you should just add the keyword disabled. In XHTML 1.1 you must use disabled="disabled". You can also use this in HTML 4.01.
What I learned from all of my testing is:
- Use disabled (HTML 4.01 only) or disabled=”disabled” (HTML or XHTML) to set in markup.
- When setting via scripting use one of the following to disable and enable, respectively
- inputObj.disabled=true and inputObj.disabled=false via boolean values;
- inputObj.disabled=”disabled” and inputObject.disabled=”" via string values;
- inputObj.setAttribute(”disabled”, “disabled”) and inputObj.removeAttribute(”disabled”)
- When testing for the disabled attribute on an input element, use inputObject.disabled for consistent results between browers.
Full testing results are tablulated at Testing the Disabled Attribute.
twitter 21 Jun 2009 05:00 am
Twitter Weekly Updates for 2009-06-21
- can u believe that pressing shift+enter works differently in IE 8 if my Local intranet options are set to auto detect local intranet ntwrk? #
- just finished presenting to 7th graders at local school - trying to interest them in engineering. Had them build bridges out of paper. Fun! #
- some days fighting to maintain keyboard support feels like a losing battle. Now fighting with IE about how to check for tabindex. #a11y #
- day off of work to visit elderly parents - although I think work would be easier
# - what’s up with Nambu thinking every tweet has replies???? #
Powered by Twitter Tools.
twitter 14 Jun 2009 05:00 am
Twitter Weekly Updates for 2009-06-14
- OK so I should dig a bit further before jumping to conclusions - http://sphinx.pocoo.org/ can generate accessible HTML doc #
- Maybe a better question to ask is, “what format should be used for creating accessible Web base help?” #
- Any one know of resources comparing accessibility of CHM vs PDF formats? I need to get up to speed fast. Thx! #a11y #
- Committed the ondijitclick event handler changes - FINALLY! see http://bugs.dojotoolkit.org/changeset/17832 #
- FINALLY have rewrite of ondijitclick event handler complete Waiting for code review. Was in keyboard browser event hell for too long! #Dojo #
Powered by Twitter Tools.
twitter 07 Jun 2009 05:00 am
Twitter Weekly Updates for 2009-06-07
- after all the a11y work I did on the DataGrid I get discouraged when people complain it isn’t accessible enough for their needs -sigh #dojo #
Powered by Twitter Tools.