Hi,

 

I just noticed you don't make use of the title attribute in the label
element within the jmolCheckbox JavaScript function.

All I am suggesting is changing line 219 within the Jmol.js file from this:

 t += "<label for=\"" + id + "\">" + labelHtml + "</label>" +eospan;

 

To This:

t += "<label title=\""+labelHtml+"\" for=\"" + id + "\">" + labelHtml +
"</label>" +eospan;

 

This extra attribute brings up a tooltip when the user hovers over the label
block on the web page. Understandable simply repeating the same information
within the label element inst exactly a meaningful or helpful change.
Therefore I suggest you introduced an extra optional parameter to specify a
more meaningful title attribute that would help to promote better usability,
especially for screen readers. 

 

It's only a small thing but any thoughts?

 

Graeme 

 

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to